/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 111 offsetof(struct bpf_sockopt, optval)), 130 offsetof(struct bpf_sockopt, level)), 137 offsetof(struct bpf_sockopt, retval)), 160 offsetof(struct bpf_sockopt, level)), 173 offsetof(struct bpf_sockopt, optname)), 180 offsetof(struct bpf_sockopt, retval)), 202 offsetof(struct bpf_sockopt, retval)), 234 offsetof(struct bpf_sockopt, optlen)), 241 offsetof(struct bpf_sockopt, retval)), 262 offsetof(struct bpf_sockopt, optlen)), [all …]
|
H A D | ctx_rewrite.c | 162 N(CGROUP_SOCKOPT, struct bpf_sockopt, sk), 167 N(CGROUP_SOCKOPT, struct bpf_sockopt, level), 173 N(CGROUP_SOCKOPT, struct bpf_sockopt, optname), 179 N(CGROUP_SOCKOPT, struct bpf_sockopt, optlen), 185 N(CGROUP_SOCKOPT, struct bpf_sockopt, retval), 197 N(CGROUP_SOCKOPT, struct bpf_sockopt, optval), 202 N(CGROUP_SOCKOPT, struct bpf_sockopt, optval_end),
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | cgroup_getset_retval_setsockopt.c | 17 int get_retval(struct bpf_sockopt *ctx) in get_retval() 30 int set_eunatch(struct bpf_sockopt *ctx) in set_eunatch() 45 int set_eisconn(struct bpf_sockopt *ctx) in set_eisconn() 60 int legacy_eperm(struct bpf_sockopt *ctx) in legacy_eperm()
|
H A D | cgroup_getset_retval_getsockopt.c | 18 int get_retval(struct bpf_sockopt *ctx) in get_retval() 32 int set_eisconn(struct bpf_sockopt *ctx) in set_eisconn() 47 int clear_retval(struct bpf_sockopt *ctx) in clear_retval()
|
H A D | sockopt_multi.c | 11 int _getsockopt_child(struct bpf_sockopt *ctx) in _getsockopt_child() 40 int _getsockopt_parent(struct bpf_sockopt *ctx) in _getsockopt_parent() 69 int _setsockopt(struct bpf_sockopt *ctx) in _setsockopt()
|
H A D | sockopt_inherit.c | 39 static __inline struct sockopt_inherit *get_storage(struct bpf_sockopt *ctx) in get_storage() 53 int _getsockopt(struct bpf_sockopt *ctx) in _getsockopt() 84 int _setsockopt(struct bpf_sockopt *ctx) in _setsockopt()
|
H A D | sockopt_sk.c | 30 int _getsockopt(struct bpf_sockopt *ctx) in _getsockopt() 140 int _setsockopt(struct bpf_sockopt *ctx) in _setsockopt()
|
H A D | sockopt_qos_to_cc.c | 15 int sockopt_qos_to_cc(struct bpf_sockopt *ctx) in sockopt_qos_to_cc()
|
H A D | test_ldsx_insn.c | 66 int _getsockopt(volatile struct bpf_sockopt *ctx) in _getsockopt()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | cgroup_getset_retval_hooks.h | 19 BPF_RETVAL_HOOK(getsockopt, "cgroup/getsockopt", bpf_sockopt, 0) 20 BPF_RETVAL_HOOK(setsockopt, "cgroup/setsockopt", bpf_sockopt, 0)
|
/openbmc/linux/kernel/bpf/ |
H A D | cgroup.c | 2386 case offsetof(struct bpf_sockopt, retval): in cg_sockopt_is_valid_access() 2393 case offsetof(struct bpf_sockopt, level): in cg_sockopt_is_valid_access() 2398 case offsetof(struct bpf_sockopt, optlen): in cg_sockopt_is_valid_access() 2406 case offsetof(struct bpf_sockopt, sk): in cg_sockopt_is_valid_access() 2411 case offsetof(struct bpf_sockopt, optval): in cg_sockopt_is_valid_access() 2421 case offsetof(struct bpf_sockopt, retval): in cg_sockopt_is_valid_access() 2454 case offsetof(struct bpf_sockopt, sk): in cg_sockopt_convert_ctx_access() 2457 case offsetof(struct bpf_sockopt, level): in cg_sockopt_convert_ctx_access() 2469 case offsetof(struct bpf_sockopt, optlen): in cg_sockopt_convert_ctx_access() 2475 case offsetof(struct bpf_sockopt, retval): in cg_sockopt_convert_ctx_access() [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | prog_cgroup_sockopt.rst | 15 The context (``struct bpf_sockopt``) has associated socket (``sk``) and 113 int getsockopt(struct bpf_sockopt *ctx) 139 int setsockopt(struct bpf_sockopt *ctx)
|
/openbmc/linux/include/linux/ |
H A D | bpf_types.h | 58 struct bpf_sockopt, struct bpf_sockopt_kern)
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 7196 struct bpf_sockopt { struct
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 7193 struct bpf_sockopt { struct
|