Searched refs:bpf_fib_lookup (Results 1 – 10 of 10) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_neigh_fib.c | 25 struct bpf_fib_lookup *fib_params) in fill_fib_params_v4() 51 struct bpf_fib_lookup *fib_params) in fill_fib_params_v6() 93 struct bpf_fib_lookup fib_params = { .ifindex = skb->ingress_ifindex }; in tc_redir() 109 ret = bpf_fib_lookup(skb, &fib_params, sizeof(fib_params), 0); in tc_redir()
|
H A D | fib_lookup.c | 9 struct bpf_fib_lookup fib_params = {}; 16 fib_lookup_ret = bpf_fib_lookup(skb, &fib_params, sizeof(fib_params), in fib_lookup()
|
H A D | xdp_flowtable.c | 19 bpf_xdp_flow_lookup(struct xdp_md *, struct bpf_fib_lookup *, 71 struct bpf_fib_lookup tuple = { in xdp_flowtable_do_lookup()
|
H A D | verifier_ringbuf.c | 124 : __imm(bpf_fib_lookup), in passing_rb_mem_to_helpers()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | fib_lookup.c | 212 static int set_lookup_params(struct bpf_fib_lookup *params, in set_lookup_params() 285 static void assert_src_ip(struct bpf_fib_lookup *params, const char *expected) in assert_src_ip() 290 static void assert_dst_ip(struct bpf_fib_lookup *params, const char *expected) in assert_dst_ip() 297 struct bpf_fib_lookup *fib_params; in test_fib_lookup()
|
/linux/samples/bpf/ |
H A D | xdp_fwd_kern.c | 47 struct bpf_fib_lookup fib_params; in xdp_fwd_flags() 104 rc = bpf_fib_lookup(ctx, &fib_params, sizeof(fib_params), flags); in xdp_fwd_flags()
|
/linux/net/netfilter/ |
H A D | nf_flow_table_bpf.c | 59 bpf_xdp_flow_lookup(struct xdp_md *ctx, struct bpf_fib_lookup *fib_tuple, in bpf_xdp_flow_lookup()
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 7159 struct bpf_fib_lookup { struct
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 7159 struct bpf_fib_lookup { struct
|
/linux/net/core/ |
H A D | filter.c | 92 static_assert(sizeof(struct bpf_fib_lookup) == 64, "struct bpf_fib_lookup size check"); 5899 static int bpf_fib_set_fwd_params(struct bpf_fib_lookup *params, u32 mtu) in bpf_fib_set_fwd_params() 5911 static int bpf_ipv4_fib_lookup(struct net *net, struct bpf_fib_lookup *params, in bpf_ipv4_fib_lookup() 6050 static int bpf_ipv6_fib_lookup(struct net *net, struct bpf_fib_lookup *params, in bpf_ipv6_fib_lookup() 6196 struct bpf_fib_lookup *, params, int, plen, u32, flags) in BPF_CALL_4() argument 6230 struct bpf_fib_lookup *, params, int, plen, u32, flags) in BPF_CALL_4() argument
|