Home
last modified time | relevance | path

Searched refs:bpf_bind (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dconnect_ping.c31 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()
H A Dfreplace_connect4.c14 bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa)); in new_do_bind()
H A Dconnect_force_port4.c40 if (bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa)) != 0) in connect4()
H A Dconnect_force_port6.c39 if (bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa)) != 0) in connect6()
H A Dconnect6_prog.c87 if (bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa)) != 0) in connect_v6_prog()
H A Dconnect4_prog.c46 if (bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa)) != 0) in do_bind()
/linux/net/core/
H A Dfilter.c5800 BPF_CALL_3(bpf_bind, struct bpf_sock_addr_kern *, ctx, struct sockaddr *, addr, in BPF_CALL_3() argument
5835 .func = bpf_bind,