Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dfilter.c3863 BPF_CALL_1(bpf_get_socket_cookie_sock_ops, struct bpf_sock_ops_kern *, ctx) in BPF_CALL_1() argument
3893 BPF_CALL_5(bpf_setsockopt, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_5() argument
4038 BPF_CALL_5(bpf_getsockopt, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_5() argument
4109 BPF_CALL_2(bpf_sock_ops_cb_flags_set, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_2() argument
6388 FIELD_SIZEOF(struct bpf_sock_ops_kern, op)); in sock_ops_convert_ctx_access()
6390 FIELD_SIZEOF(struct bpf_sock_ops_kern, reply)); in sock_ops_convert_ctx_access()
6392 FIELD_SIZEOF(struct bpf_sock_ops_kern, replylong)); in sock_ops_convert_ctx_access()
6395 off += offsetof(struct bpf_sock_ops_kern, op); in sock_ops_convert_ctx_access()
6408 struct bpf_sock_ops_kern, sk), in sock_ops_convert_ctx_access()
6410 offsetof(struct bpf_sock_ops_kern, sk)); in sock_ops_convert_ctx_access()
[all …]
/Linux-v4.19/include/linux/
Dbpf-cgroup.h17 struct bpf_sock_ops_kern;
98 struct bpf_sock_ops_kern *sock_ops,
Dfilter.h1096 struct bpf_sock_ops_kern { struct
/Linux-v4.19/kernel/bpf/
Dsockmap.c1984 static int sock_map_ctx_update_elem(struct bpf_sock_ops_kern *skops, in sock_map_ctx_update_elem()
2107 struct bpf_sock_ops_kern skops; in sock_map_update_elem()
2377 static int sock_hash_ctx_update_elem(struct bpf_sock_ops_kern *skops, in sock_hash_ctx_update_elem()
2467 struct bpf_sock_ops_kern skops; in sock_hash_update_elem()
2582 static bool bpf_is_valid_sock_op(struct bpf_sock_ops_kern *ops) in bpf_is_valid_sock_op()
2587 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_4() argument
2612 BPF_CALL_4(bpf_sock_hash_update, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_4() argument
Dcgroup.c633 struct bpf_sock_ops_kern *sock_ops, in __cgroup_bpf_run_filter_sock_ops()
/Linux-v4.19/include/net/
Dtcp.h2080 struct bpf_sock_ops_kern sock_ops; in tcp_call_bpf()
2083 memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp)); in tcp_call_bpf()