Home
last modified time | relevance | path

Searched defs:sk (Results 1 – 25 of 47) sorted by relevance

12

/tools/testing/selftests/bpf/progs/
Dbpf_dctcp.c59 void BPF_PROG(dctcp_init, struct sock *sk) in BPF_PROG()
99 __u32 BPF_PROG(dctcp_ssthresh, struct sock *sk) in BPF_PROG()
109 void BPF_PROG(dctcp_update_alpha, struct sock *sk, __u32 flags) in BPF_PROG()
138 static __always_inline void dctcp_react_to_loss(struct sock *sk) in dctcp_react_to_loss()
148 void BPF_PROG(dctcp_state, struct sock *sk, __u8 new_state) in BPF_PROG()
158 static __always_inline void dctcp_ece_ack_cwr(struct sock *sk, __u32 ce_state) in dctcp_ece_ack_cwr()
174 void dctcp_ece_ack_update(struct sock *sk, enum tcp_ca_event evt, in dctcp_ece_ack_update()
196 void BPF_PROG(dctcp_cwnd_event, struct sock *sk, enum tcp_ca_event ev) in BPF_PROG()
215 __u32 BPF_PROG(dctcp_cwnd_undo, struct sock *sk) in BPF_PROG()
225 void BPF_PROG(dctcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG()
Dtest_sk_lookup_kern.c63 struct bpf_sock *sk; in bpf_sk_lookup_test0() local
86 struct bpf_sock *sk; in bpf_sk_lookup_test1() local
98 struct bpf_sock *sk; in bpf_sk_lookup_uaf() local
113 struct bpf_sock *sk; in bpf_sk_lookup_modptr() local
128 struct bpf_sock *sk; in bpf_sk_lookup_modptr_or_null() local
151 struct bpf_sock *sk; in bpf_sk_lookup_test3() local
163 struct bpf_sock *sk; in bpf_sk_lookup_test4() local
Dtest_sk_storage_tracing.c33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG()
53 static void set_task_info(struct sock *sk) in set_task_info()
71 int BPF_PROG(trace_inet_csk_listen_start, struct sock *sk, int backlog) in BPF_PROG()
79 int BPF_PROG(trace_tcp_connect, struct sock *sk) in BPF_PROG()
87 int BPF_PROG(inet_csk_accept, struct sock *sk, int flags, int *err, bool kern, in BPF_PROG()
Dtest_sk_lookup.c103 struct bpf_sock *sk; in redir_port() local
122 struct bpf_sock *sk; in redir_ip4() local
145 struct bpf_sock *sk; in redir_ip6() local
170 struct bpf_sock *sk; in select_sock_a() local
185 struct bpf_sock *sk; in select_sock_a_no_reuseport() local
211 struct bpf_sock *sk; in sk_assign_eexist() local
244 struct bpf_sock *sk; in sk_assign_replace_flag() local
276 struct bpf_sock *sk = NULL; in sk_assign_null() local
385 struct bpf_sock *sk; in ctx_narrow_access() local
558 struct bpf_sock *sk; in sk_assign_esocknosupport() local
[all …]
Dtest_sock_fields.c127 struct bpf_sock *sk, *sk_ret; in egress_read_sock_fields() local
222 struct bpf_sock *sk; in ingress_read_sock_fields() local
254 static __noinline bool sk_dst_port__load_word(struct bpf_sock *sk) in sk_dst_port__load_word()
260 static __noinline bool sk_dst_port__load_half(struct bpf_sock *sk) in sk_dst_port__load_half()
266 static __noinline bool sk_dst_port__load_byte(struct bpf_sock *sk) in sk_dst_port__load_byte()
276 struct bpf_sock *sk; in read_sk_dst_port() local
Dbpf_cubic.c156 static __always_inline __u32 bictcp_clock_us(const struct sock *sk) in bictcp_clock_us()
161 static __always_inline void bictcp_hystart_reset(struct sock *sk) in bictcp_hystart_reset()
178 void BPF_PROG(bpf_cubic_init, struct sock *sk) in BPF_PROG()
195 void BPF_PROG(bpf_cubic_cwnd_event, struct sock *sk, enum tcp_ca_event event) in BPF_PROG()
387 void BPF_STRUCT_OPS(bpf_cubic_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_STRUCT_OPS()
406 __u32 BPF_STRUCT_OPS(bpf_cubic_recalc_ssthresh, struct sock *sk) in BPF_STRUCT_OPS()
423 void BPF_STRUCT_OPS(bpf_cubic_state, struct sock *sk, __u8 new_state) in BPF_STRUCT_OPS()
442 static __always_inline __u32 hystart_ack_delay(struct sock *sk) in hystart_ack_delay()
453 static __always_inline void hystart_update(struct sock *sk, __u32 delay) in hystart_update()
499 void BPF_STRUCT_OPS(bpf_cubic_acked, struct sock *sk, in BPF_STRUCT_OPS()
[all …]
Dkfunc_call_test.c14 struct bpf_sock *sk = skb->sk; in kfunc_call_test2() local
29 struct bpf_sock *sk = skb->sk; in kfunc_call_test1() local
Dnetns_cookie_prog.c33 struct bpf_sock *sk = ctx->sk; in get_netns_cookie_sockops() local
65 struct bpf_sock *sk = msg->sk; in get_netns_cookie_sk_msg() local
Dbpf_iter_unix.c10 static long sock_i_ino(const struct sock *sk) in sock_i_ino()
28 struct sock *sk = (struct sock *)unix_sk; in dump_unix() local
Dsockopt_sk.c35 struct bpf_sock *sk; in _getsockopt() local
139 struct bpf_sock *sk; in _setsockopt() local
Dtest_tcp_check_syncookie_kern.c26 static __always_inline __s64 gen_syncookie(void *data_end, struct bpf_sock *sk, in gen_syncookie()
49 struct bpf_sock *sk; in check_syncookie() local
Dtest_tcp_estats.c82 struct sock sk; member
93 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk()
212 struct sock *sk) in tcp_estats_conn_id_init()
227 static __always_inline void tcp_estats_init(struct sock *sk, in tcp_estats_init()
236 static __always_inline void send_basic_event(struct sock *sk, in send_basic_event()
Dbpf_tcp_nogpl.c11 void BPF_STRUCT_OPS(nogpltcp_init, struct sock *sk) in BPF_STRUCT_OPS()
Dfreplace_cls_redirect.c22 struct bpf_sock *sk; in freplace_cls_redirect_test() local
Dtest_sk_storage_trace_itself.c16 int BPF_PROG(trace_bpf_sk_storage_free, struct sock *sk) in BPF_PROG()
Dbpf_dctcp_release.c16 void BPF_STRUCT_OPS(dctcp_nouse_release, struct sock *sk) in BPF_STRUCT_OPS()
Drecvmsg4_prog.c19 struct bpf_sock *sk; in recvmsg4_prog() local
Dbpf_iter_bpf_sk_storage_map.c23 struct sock *sk = ctx->sk; in dump_bpf_sk_storage_map() local
Dkfunc_call_test_subprog.c16 struct bpf_sock *sk = skb->sk; in f1() local
Dtest_sockmap_update.c30 struct bpf_sock *sk; in copy_sock_map() local
Dbind_perm.c12 struct bpf_sock *sk; in bind_prog() local
Drecvmsg6_prog.c22 struct bpf_sock *sk; in recvmsg6_prog() local
Dbpf_iter_sockmap.c38 struct sock *sk = ctx->sk; in copy() local
Dbpf_iter_netlink.c21 struct socket *sk; in dump_netlink() local
/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c36 static int __child(int sk, int memfd) in __child()
98 static int child(int sk) in child()
131 int sk; in FIXTURE() local

12