Home
last modified time | relevance | path

Searched refs:SO_BINDTOIFINDEX (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dbind4_prog.c35 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device()
41 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device()
48 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device()
Dbind6_prog.c41 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device()
47 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device()
54 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device()
Dsetget_sockopt.c284 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in binddev_test()
292 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in binddev_test()
297 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in binddev_test()
300 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in binddev_test()
305 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in binddev_test()
308 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in binddev_test()
Dbpf_tracing_net.h19 #define SO_BINDTOIFINDEX 62 macro
/tools/include/uapi/asm-generic/
Dsocket.h107 #define SO_BINDTOIFINDEX 62 macro