Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dconnect_ping.c21 int family, int do_bind) in subtest() argument
50 skel->bss->do_bind = do_bind; in subtest()
77 htonl(do_bind ? 0x01010101 : INADDR_LOOPBACK), in subtest()
85 do_bind ? &bindaddr_v6 : &in6addr_loopback, in subtest()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dconnect_ping.c16 __u32 do_bind = 0; variable
31 if (do_bind && bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa))) in connect_v4_prog()
47 if (do_bind && bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa))) in connect_v6_prog()
A Dconnect4_prog.c36 int do_bind(struct bpf_sock_addr *ctx) in do_bind() function
197 return do_bind(ctx) ? 1 : 0; in connect_v4_prog()
/linux-6.3-rc2/tools/testing/selftests/net/
A Dpsock_snd.c170 static void do_bind(int fd) in do_bind() function
228 do_bind(fd); in do_tx()
303 do_bind(fd); in setup_sniffer()

Completed in 7 milliseconds