Home
last modified time | relevance | path

Searched refs:bind_to_device (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dbind4_prog.c24 static __inline int bind_to_device(struct bpf_sock_addr *ctx) in bind_to_device() function
142 if (bind_to_device(ctx)) in bind_v4_prog()
Dbind6_prog.c30 static __inline int bind_to_device(struct bpf_sock_addr *ctx) in bind_to_device() function
156 if (bind_to_device(ctx)) in bind_v6_prog()
Dconnect4_prog.c87 static __inline int bind_to_device(struct bpf_sock_addr *ctx) in bind_to_device() function
160 if (bind_to_device(ctx)) in connect_v4_prog()
/Linux-v6.6/tools/testing/selftests/net/
Dnettest.c369 static int bind_to_device(int sd, const char *name) in bind_to_device() function
1376 if (args->dev && bind_to_device(sd, args->dev) != 0) in msock_init()
1510 if (args->dev && bind_to_device(sd, args->dev) != 0) in lsock_init()
1729 if (args->dev && bind_to_device(sd, args->dev) != 0) in connectsock()