Home
last modified time | relevance | path

Searched refs:bpf_sock_ops (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_hdr_options.c85 static int store_option(struct bpf_sock_ops *skops, in store_option()
130 static int load_option(struct bpf_sock_ops *skops, in load_option()
161 static int synack_opt_len(struct bpf_sock_ops *skops) in synack_opt_len()
206 static int syn_opt_len(struct bpf_sock_ops *skops) in syn_opt_len()
224 static int write_syn_opt(struct bpf_sock_ops *skops) in write_syn_opt()
232 static int fin_opt_len(struct bpf_sock_ops *skops) in fin_opt_len()
261 static int write_fin_opt(struct bpf_sock_ops *skops) in write_fin_opt()
284 static int resend_in_ack(struct bpf_sock_ops *skops) in resend_in_ack()
298 static int nodata_opt_len(struct bpf_sock_ops *skops) in nodata_opt_len()
326 static int data_opt_len(struct bpf_sock_ops *skops) in data_opt_len()
[all …]
H A Dtest_misc_tcp_hdr_options.c33 static int __check_active_hdr_in(struct bpf_sock_ops *skops, bool check_syn) in __check_active_hdr_in()
125 static int check_active_syn_in(struct bpf_sock_ops *skops) in check_active_syn_in()
130 static int check_active_hdr_in(struct bpf_sock_ops *skops) in check_active_hdr_in()
156 static int active_opt_len(struct bpf_sock_ops *skops) in active_opt_len()
170 static int write_active_opt(struct bpf_sock_ops *skops) in write_active_opt()
246 static int handle_hdr_opt_len(struct bpf_sock_ops *skops) in handle_hdr_opt_len()
261 static int handle_write_hdr_opt(struct bpf_sock_ops *skops) in handle_write_hdr_opt()
269 static int handle_parse_hdr(struct bpf_sock_ops *skops) in handle_parse_hdr()
280 static int handle_passive_estab(struct bpf_sock_ops *skops) in handle_passive_estab()
301 int misc_estab(struct bpf_sock_ops *skops) in misc_estab()
H A Dtest_tcpbpf_kern.c28 static __always_inline int get_tp_window_clamp(struct bpf_sock_ops *skops) in get_tp_window_clamp()
43 int bpf_testcb(struct bpf_sock_ops *skops) in bpf_testcb()
46 struct bpf_sock_ops *reuse = skops; in bpf_testcb()
H A Dtest_sockmap_invalid_update.c14 int bpf_sockmap(struct bpf_sock_ops *skops) in bpf_sockmap()
H A Dtcp_rtt.c23 int _sockops(struct bpf_sock_ops *ctx) in _sockops()
H A Dnetns_cookie_prog.c31 int get_netns_cookie_sockops(struct bpf_sock_ops *ctx) in get_netns_cookie_sockops()
H A Dsocket_cookie_prog.c52 int update_cookie_sockops(struct bpf_sock_ops *ctx) in update_cookie_sockops()
H A Dtest_tcpnotify_kern.c32 int bpf_testcb(struct bpf_sock_ops *skops) in bpf_testcb()
H A Dmptcp_sock.c29 int _sockops(struct bpf_sock_ops *ctx) in _sockops()
H A Dcgrp_ls_attach_cgroup.c53 int update_cookie_sockops(struct bpf_sock_ops *ctx) in update_cookie_sockops()
H A Dverifier_var_off.c233 __imm_const(bpf_sock_ops_bytes_received, offsetof(struct bpf_sock_ops, bytes_received)) in variable_offset_stack_access_unbounded()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_tcp_hdr_options.h101 static inline __u8 skops_tcp_flags(const struct bpf_sock_ops *skops) in skops_tcp_flags()
106 static inline void clear_hdr_cb_flags(struct bpf_sock_ops *skops) in clear_hdr_cb_flags()
114 static inline void set_hdr_cb_flags(struct bpf_sock_ops *skops, __u32 extra) in set_hdr_cb_flags()
123 clear_parse_all_hdr_cb_flags(struct bpf_sock_ops *skops) in clear_parse_all_hdr_cb_flags()
131 set_parse_all_hdr_cb_flags(struct bpf_sock_ops *skops) in set_parse_all_hdr_cb_flags()
H A Dcgroup_getset_retval_hooks.h6 BPF_RETVAL_HOOK(sock_ops, "sockops", bpf_sock_ops, -EINVAL)
/openbmc/linux/samples/bpf/
H A Dtcp_synrto_kern.c25 int bpf_synrto(struct bpf_sock_ops *skops) in bpf_synrto()
H A Dtcp_rwnd_kern.c25 int bpf_rwnd(struct bpf_sock_ops *skops) in bpf_rwnd()
H A Dtcp_basertt_kern.c25 int bpf_basertt(struct bpf_sock_ops *skops) in bpf_basertt()
H A Dtcp_cong_kern.c25 int bpf_cong(struct bpf_sock_ops *skops) in bpf_cong()
H A Dtcp_bufs_kern.c26 int bpf_bufs(struct bpf_sock_ops *skops) in bpf_bufs()
H A Dtcp_dumpstats_kern.c26 int _sockops(struct bpf_sock_ops *ctx) in _sockops()
H A Dtcp_iw_kern.c26 int bpf_iw(struct bpf_sock_ops *skops) in bpf_iw()
H A Dtcp_clamp_kern.c26 int bpf_clamp(struct bpf_sock_ops *skops) in bpf_clamp()
H A Dtcp_tos_reflect_kern.c24 int bpf_basertt(struct bpf_sock_ops *skops) in bpf_basertt()
/openbmc/linux/net/core/
H A Dfilter.c9151 case offsetof(struct bpf_sock_ops, reply): in sock_ops_is_valid_access()
9166 case offsetof(struct bpf_sock_ops, sk): in sock_ops_is_valid_access()
10391 case offsetof(struct bpf_sock_ops, op): in sock_ops_convert_ctx_access()
10414 case offsetof(struct bpf_sock_ops, family): in sock_ops_convert_ctx_access()
10525 case offsetof(struct bpf_sock_ops, state): in sock_ops_convert_ctx_access()
10536 case offsetof(struct bpf_sock_ops, rtt_min): in sock_ops_convert_ctx_access()
10563 case offsetof(struct bpf_sock_ops, srtt_us): in sock_ops_convert_ctx_access()
10569 case offsetof(struct bpf_sock_ops, rcv_nxt): in sock_ops_convert_ctx_access()
10572 case offsetof(struct bpf_sock_ops, snd_nxt): in sock_ops_convert_ctx_access()
10575 case offsetof(struct bpf_sock_ops, snd_una): in sock_ops_convert_ctx_access()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dump.c761 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_sock_ops, BTF_F_COMPACT, in test_btf_dump_struct_data()
791 TEST_BTF_DUMP_DATA_OVER(btf, d, "struct", str, struct bpf_sock_ops, in test_btf_dump_struct_data()
792 sizeof(struct bpf_sock_ops) - 1, in test_btf_dump_struct_data()
795 TEST_BTF_DUMP_DATA_OVER(btf, d, "struct", str, struct bpf_sock_ops, in test_btf_dump_struct_data()
796 sizeof(struct bpf_sock_ops) - 1, in test_btf_dump_struct_data()
/openbmc/linux/include/linux/
H A Dbpf_types.h30 struct bpf_sock_ops, struct bpf_sock_ops_kern)

12