Searched refs:opts__sz (Results 1 – 5 of 5) sorted by relevance
| /linux/net/netfilter/ |
| H A D | nf_conntrack_bpf.c | 68 static void *bpf_ct_opts_result(struct bpf_ct_opts *opts, u32 opts__sz, void *ret) in bpf_ct_opts_result() argument 72 if (opts__sz >= offsetofend(struct bpf_ct_opts, error)) in bpf_ct_opts_result() 326 u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) in bpf_xdp_ct_alloc() argument 332 opts, opts__sz, 10); in bpf_xdp_ct_alloc() 333 return (struct nf_conn___init *)bpf_ct_opts_result(opts, opts__sz, nfct); in bpf_xdp_ct_alloc() 354 u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) in bpf_xdp_ct_lookup() argument 361 nfct = __bpf_nf_ct_lookup(caller_net, bpf_tuple, tuple__sz, opts, opts__sz); in bpf_xdp_ct_lookup() 362 return bpf_ct_opts_result(opts, opts__sz, nfct); in bpf_xdp_ct_lookup() 382 u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) in bpf_skb_ct_alloc() argument 389 nfct = __bpf_nf_ct_alloc_entry(net, bpf_tuple, tuple__sz, opts, opts__sz, 10); in bpf_skb_ct_alloc() [all …]
|
| /linux/net/xfrm/ |
| H A D | xfrm_state_bpf.c | 20 * -EINVAL - opts__sz isn't BPF_XFRM_STATE_OPTS_SZ 61 * @opts__sz - Length of the bpf_xfrm_state_opts structure 65 bpf_xdp_get_xfrm_state(struct xdp_md *ctx, struct bpf_xfrm_state_opts *opts, u32 opts__sz) in bpf_xdp_get_xfrm_state() argument 71 if (opts__sz < sizeof(opts->error)) in bpf_xdp_get_xfrm_state() 74 if (opts__sz != BPF_XFRM_STATE_OPTS_SZ) { in bpf_xdp_get_xfrm_state()
|
| /linux/net/core/ |
| H A D | bpf_ksock.c | 69 bpf_ksock_create(const struct bpf_ksock_create_opts *opts, u32 opts__sz, in bpf_ksock_create() argument 86 if (!opts || opts__sz != sizeof(struct bpf_ksock_create_opts)) { in bpf_ksock_create()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | ksock_common.h | 13 u32 opts__sz, int *err__uninit) __ksym;
|
| H A D | test_tunnel_kern.c | 46 u32 opts__sz) __ksym;
|