Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dtest_tcp_hdr_options.c45 static bool skops_want_cookie(const struct bpf_sock_ops *skops) in skops_want_cookie()
50 static bool skops_current_mss(const struct bpf_sock_ops *skops) in skops_current_mss()
85 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()
189 static int write_synack_opt(struct bpf_sock_ops *skops) in write_synack_opt()
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()
[all …]
Dtest_misc_tcp_hdr_options.c32 static int __check_active_hdr_in(struct bpf_sock_ops *skops, bool check_syn) in __check_active_hdr_in()
124 static int check_active_syn_in(struct bpf_sock_ops *skops) in check_active_syn_in()
129 static int check_active_hdr_in(struct bpf_sock_ops *skops) in check_active_hdr_in()
152 static int active_opt_len(struct bpf_sock_ops *skops) in active_opt_len()
166 static int write_active_opt(struct bpf_sock_ops *skops) in write_active_opt()
242 static int handle_hdr_opt_len(struct bpf_sock_ops *skops) in handle_hdr_opt_len()
257 static int handle_write_hdr_opt(struct bpf_sock_ops *skops) in handle_write_hdr_opt()
265 static int handle_parse_hdr(struct bpf_sock_ops *skops) in handle_parse_hdr()
276 static int handle_passive_estab(struct bpf_sock_ops *skops) in handle_passive_estab()
297 int misc_estab(struct bpf_sock_ops *skops) in misc_estab()
Dtest_tcpbpf_kern.c29 static __always_inline int get_tp_window_clamp(struct bpf_sock_ops *skops) in get_tp_window_clamp()
44 int bpf_testcb(struct bpf_sock_ops *skops) in bpf_testcb()
47 struct bpf_sock_ops *reuse = skops; in bpf_testcb()
Dtest_sockmap_invalid_update.c14 int bpf_sockmap(struct bpf_sock_ops *skops) in bpf_sockmap()
Dtcp_rtt.c24 int _sockops(struct bpf_sock_ops *ctx) in _sockops()
Dnetns_cookie_prog.c31 int get_netns_cookie_sockops(struct bpf_sock_ops *ctx) in get_netns_cookie_sockops()
Dsocket_cookie_prog.c52 int update_cookie_sockops(struct bpf_sock_ops *ctx) in update_cookie_sockops()
Dtest_tcpnotify_kern.c34 int bpf_testcb(struct bpf_sock_ops *skops) in bpf_testcb()
Dtest_sockmap_kern.h188 int bpf_sockmap(struct bpf_sock_ops *skops) in bpf_sockmap()
/tools/testing/selftests/bpf/
Dtest_tcp_hdr_options.h100 static inline __u8 skops_tcp_flags(const struct bpf_sock_ops *skops) in skops_tcp_flags()
105 static inline void clear_hdr_cb_flags(struct bpf_sock_ops *skops) in clear_hdr_cb_flags()
113 static inline void set_hdr_cb_flags(struct bpf_sock_ops *skops, __u32 extra) in set_hdr_cb_flags()
122 clear_parse_all_hdr_cb_flags(struct bpf_sock_ops *skops) in clear_parse_all_hdr_cb_flags()
130 set_parse_all_hdr_cb_flags(struct bpf_sock_ops *skops) in set_parse_all_hdr_cb_flags()
/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c723 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_sock_ops, BTF_F_COMPACT, in test_btf_dump_struct_data()
753 TEST_BTF_DUMP_DATA_OVER(btf, d, "struct", str, struct bpf_sock_ops, in test_btf_dump_struct_data()
754 sizeof(struct bpf_sock_ops) - 1, in test_btf_dump_struct_data()
757 TEST_BTF_DUMP_DATA_OVER(btf, d, "struct", str, struct bpf_sock_ops, in test_btf_dump_struct_data()
758 sizeof(struct bpf_sock_ops) - 1, in test_btf_dump_struct_data()
/tools/testing/selftests/bpf/verifier/
Dvar_off.c146 BPF_LDX_MEM(BPF_DW, BPF_REG_4, BPF_REG_1, offsetof(struct bpf_sock_ops,
/tools/include/uapi/linux/
Dbpf.h5684 struct bpf_sock_ops { struct