/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_tcp_hdr_options.c | 45 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 …]
|
D | test_misc_tcp_hdr_options.c | 32 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()
|
D | test_tcpbpf_kern.c | 54 int bpf_testcb(struct bpf_sock_ops *skops) in bpf_testcb() 57 struct bpf_sock_ops *reuse = skops; in bpf_testcb()
|
D | test_sockmap_invalid_update.c | 14 int bpf_sockmap(struct bpf_sock_ops *skops) in bpf_sockmap()
|
D | socket_cookie_prog.c | 42 int update_cookie(struct bpf_sock_ops *ctx) in update_cookie()
|
D | tcp_rtt.c | 24 int _sockops(struct bpf_sock_ops *ctx) in _sockops()
|
D | test_tcpnotify_kern.c | 34 int bpf_testcb(struct bpf_sock_ops *skops) in bpf_testcb()
|
D | test_sockmap_kern.h | 188 int bpf_sockmap(struct bpf_sock_ops *skops) in bpf_sockmap()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_tcp_hdr_options.h | 100 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()
|
/Linux-v5.10/samples/bpf/ |
D | tcp_rwnd_kern.c | 25 int bpf_rwnd(struct bpf_sock_ops *skops) in bpf_rwnd()
|
D | tcp_synrto_kern.c | 25 int bpf_synrto(struct bpf_sock_ops *skops) in bpf_synrto()
|
D | tcp_basertt_kern.c | 25 int bpf_basertt(struct bpf_sock_ops *skops) in bpf_basertt()
|
D | tcp_cong_kern.c | 25 int bpf_cong(struct bpf_sock_ops *skops) in bpf_cong()
|
D | tcp_bufs_kern.c | 26 int bpf_bufs(struct bpf_sock_ops *skops) in bpf_bufs()
|
D | tcp_dumpstats_kern.c | 26 int _sockops(struct bpf_sock_ops *ctx) in _sockops()
|
D | tcp_iw_kern.c | 26 int bpf_iw(struct bpf_sock_ops *skops) in bpf_iw()
|
D | tcp_tos_reflect_kern.c | 24 int bpf_basertt(struct bpf_sock_ops *skops) in bpf_basertt()
|
D | tcp_clamp_kern.c | 26 int bpf_clamp(struct bpf_sock_ops *skops) in bpf_clamp()
|
/Linux-v5.10/net/core/ |
D | filter.c | 8052 if (off < 0 || off >= sizeof(struct bpf_sock_ops)) in sock_ops_is_valid_access() 8061 case offsetof(struct bpf_sock_ops, reply): in sock_ops_is_valid_access() 8062 case offsetof(struct bpf_sock_ops, sk_txhash): in sock_ops_is_valid_access() 8071 case bpf_ctx_range_till(struct bpf_sock_ops, bytes_received, in sock_ops_is_valid_access() 8076 case offsetof(struct bpf_sock_ops, sk): in sock_ops_is_valid_access() 8081 case offsetof(struct bpf_sock_ops, skb_data): in sock_ops_is_valid_access() 8086 case offsetof(struct bpf_sock_ops, skb_data_end): in sock_ops_is_valid_access() 8091 case offsetof(struct bpf_sock_ops, skb_tcp_flags): in sock_ops_is_valid_access() 9065 sizeof_field(struct bpf_sock_ops, BPF_FIELD)); \ in sock_ops_convert_ctx_access() 9157 sizeof_field(struct bpf_sock_ops, BPF_FIELD)); \ in sock_ops_convert_ctx_access() [all …]
|
/Linux-v5.10/include/linux/ |
D | bpf_types.h | 30 struct bpf_sock_ops, struct bpf_sock_ops_kern)
|
/Linux-v5.10/tools/testing/selftests/bpf/verifier/ |
D | var_off.c | 51 BPF_LDX_MEM(BPF_DW, BPF_REG_4, BPF_REG_1, offsetof(struct bpf_sock_ops,
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | bpf.h | 4491 struct bpf_sock_ops { struct
|
/Linux-v5.10/include/uapi/linux/ |
D | bpf.h | 4491 struct bpf_sock_ops { struct
|
/Linux-v5.10/Documentation/networking/ |
D | filter.rst | 1195 Pointer to struct bpf_sock_ops, implicitly refcounted.
|