diff options
| author | David Wei <dw@davidwei.uk> | 2024-02-28 15:22:51 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2024-03-01 10:43:10 +0000 |
| commit | 8debcf5832c3e8a6baaea27c75ad8a6ba5077beb (patch) | |
| tree | f8dbad141cfc814a6214de2021b796c2685880e8 /tools/testing/selftests/bpf/progs/connect_unix_prog.c | |
| parent | netdevsim: forward skbs from one connected port to another (diff) | |
| download | linux-8debcf5832c3e8a6baaea27c75ad8a6ba5077beb.tar.gz linux-8debcf5832c3e8a6baaea27c75ad8a6ba5077beb.zip | |
netdevsim: add ndo_get_iflink() implementation
Add an implementation for ndo_get_iflink() in netdevsim that shows the
ifindex of the linked peer, if any.
Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Maciek Machnikowski <maciek@machnikowski.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/connect_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
