Home
last modified time | relevance | path

Searched refs:bpf_sock_ops_kern (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dnet_timestamping.c50 extern int bpf_sock_ops_enable_tx_tstamp(struct bpf_sock_ops_kern *skops, u64 flags) __ksym;
119 struct bpf_sock_ops_kern *skops_kern; in bpf_test_delay()
/linux/net/core/
H A Dfilter.c5188 BPF_CALL_1(bpf_get_socket_cookie_sock_ops, struct bpf_sock_ops_kern *, ctx) in BPF_CALL_1()
5242 BPF_CALL_1(bpf_get_netns_cookie_sock_ops, struct bpf_sock_ops_kern *, ctx) in BPF_CALL_1()
5607 static bool is_locked_tcp_sock_ops(struct bpf_sock_ops_kern *bpf_sock) in is_locked_tcp_sock_ops()
5830 BPF_CALL_5(bpf_sock_ops_setsockopt, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_5()
5850 static int bpf_sock_ops_get_syn(struct bpf_sock_ops_kern *bpf_sock, in bpf_sock_ops_get_syn()
5918 BPF_CALL_5(bpf_sock_ops_getsockopt, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_5()
5960 BPF_CALL_2(bpf_sock_ops_cb_flags_set, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_2()
7765 BPF_CALL_4(bpf_sock_ops_load_hdr_opt, struct bpf_sock_ops_kern *, bpf_sock, in bpf_search_tcp_opt()
7846 BPF_CALL_4(bpf_sock_ops_store_hdr_opt, struct bpf_sock_ops_kern *, bpf_sock,
7924 BPF_CALL_3(bpf_sock_ops_reserve_hdr_opt, struct bpf_sock_ops_kern *, bpf_soc
5187 BPF_CALL_1(bpf_get_socket_cookie_sock_ops,struct bpf_sock_ops_kern *,ctx) BPF_CALL_1() argument
5241 BPF_CALL_1(bpf_get_netns_cookie_sock_ops,struct bpf_sock_ops_kern *,ctx) BPF_CALL_1() argument
5829 BPF_CALL_5(bpf_sock_ops_setsockopt,struct bpf_sock_ops_kern *,bpf_sock,int,level,int,optname,char *,optval,int,optlen) BPF_CALL_5() argument
5917 BPF_CALL_5(bpf_sock_ops_getsockopt,struct bpf_sock_ops_kern *,bpf_sock,int,level,int,optname,char *,optval,int,optlen) BPF_CALL_5() argument
5959 BPF_CALL_2(bpf_sock_ops_cb_flags_set,struct bpf_sock_ops_kern *,bpf_sock,int,argval) BPF_CALL_2() argument
7774 BPF_CALL_4(bpf_sock_ops_load_hdr_opt,struct bpf_sock_ops_kern *,bpf_sock,void *,search_res,u32,len,u64,flags) BPF_CALL_4() argument
7855 BPF_CALL_4(bpf_sock_ops_store_hdr_opt,struct bpf_sock_ops_kern *,bpf_sock,const void *,from,u32,len,u64,flags) BPF_CALL_4() argument
7933 BPF_CALL_3(bpf_sock_ops_reserve_hdr_opt,struct bpf_sock_ops_kern *,bpf_sock,u32,len,u64,flags) BPF_CALL_3() argument
[all...]
H A Dsock_map.c521 static bool sock_map_op_okay(const struct bpf_sock_ops_kern *ops) in sock_map_op_okay()
622 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument
1229 BPF_CALL_4(bpf_sock_hash_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument
H A Dsock.c946 struct bpf_sock_ops_kern sock_ops; in sock_set_timestamping()
948 memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp)); in sock_set_timestamping()
/linux/include/linux/
H A Dbpf_types.h30 struct bpf_sock_ops, struct bpf_sock_ops_kern)
H A Dfilter.h1533 struct bpf_sock_ops_kern { struct
1534 skbpf_sock_ops_kern global() argument
1535 __anon5a7b078c020abpf_sock_ops_kern global() argument
1540 syn_skbbpf_sock_ops_kern global() argument
1541 skbbpf_sock_ops_kern global() argument
1542 skb_data_endbpf_sock_ops_kern global() argument
1543 opbpf_sock_ops_kern global() argument
1544 is_fullsockbpf_sock_ops_kern global() argument
1545 is_locked_tcp_sockbpf_sock_ops_kern global() argument
1546 remaining_opt_lenbpf_sock_ops_kern global() argument
1547 tempbpf_sock_ops_kern global() argument
/linux/include/net/
H A Dtcp.h2879 static inline void bpf_skops_init_skb(struct bpf_sock_ops_kern *skops,
2887 static inline void bpf_skops_init_skb(struct bpf_sock_ops_kern *skops, in tcp_timeout_init()
2902 struct bpf_sock_ops_kern sock_ops;
2905 memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp)); in tcp_bpf_ca_needs_ecn()
/linux/net/ipv4/
H A Dtcp_output.c482 struct bpf_sock_ops_kern sock_ops; in bpf_skops_hdr_opt_len()
493 memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp)); in bpf_skops_hdr_opt_len()
546 struct bpf_sock_ops_kern sock_ops; in bpf_skops_write_hdr_opt()
552 memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp)); in bpf_skops_write_hdr_opt()
H A Dtcp_input.c154 struct bpf_sock_ops_kern sock_ops; in bpf_skops_parse_hdr()
172 memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp)); in bpf_skops_parse_hdr()
185 struct bpf_sock_ops_kern sock_ops; in bpf_skops_established()
189 memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp)); in bpf_skops_established()
/linux/kernel/bpf/
H A Dcgroup.c1722 struct bpf_sock_ops_kern *sock_ops, in __cgroup_bpf_run_filter_sock_ops()