Home
last modified time | relevance | path

Searched refs:fib_lookup (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dfib_lookup.c14 int fib_lookup(struct __sk_buff *skb) in fib_lookup() function
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dfib_lookup.c164 struct fib_lookup *skel; in test_fib_lookup()
180 prog_fd = bpf_program__fd(skel->progs.fib_lookup); in test_fib_lookup()
/linux-6.6.21/net/ipv4/netfilter/
Dipt_rpfilter.c37 if (fib_lookup(net, fl4, &res, FIB_LOOKUP_IGNORE_LINKSTATE)) in rpfilter_lookup_reverse()
Dnft_fib_ipv4.c129 if (fib_lookup(nft_net(pkt), &fl4, &res, FIB_LOOKUP_IGNORE_LINKSTATE)) in nft_fib4_eval()
/linux-6.6.21/include/net/
Dip_fib.h310 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() function
368 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() function
/linux-6.6.21/net/ipv4/
Dfib_frontend.c300 if (!fib_lookup(net, &fl4, &res, 0)) in fib_compute_spec_dst()
378 if (fib_lookup(net, &fl4, &res, 0)) in __fib_validate_source()
402 if (fib_lookup(net, &fl4, &res, FIB_LOOKUP_IGNORE_LINKSTATE) == 0) { in __fib_validate_source()
Droute.c790 if (fib_lookup(net, fl4, &res, 0) == 0) { in __ip_do_redirect()
1046 if (fib_lookup(net, fl4, &res, 0) == 0) { in __ip_rt_update_pmtu()
1293 if (fib_lookup(dev_net(rt->dst.dev), &fl4, &res, 0) == 0) in ip_rt_get_source()
2305 err = fib_lookup(net, &fl4, res, 0); in ip_route_input_slow()
2754 err = fib_lookup(net, fl4, res, 0); in ip_route_output_key_hash_rcu()
Dfib_semantics.c1182 err = fib_lookup(net, &fl4, &res, in fib_check_nh_v4_gw()
/linux-6.6.21/Documentation/networking/
Dfib_trie.rst149 gives userland access to fib_lookup().
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h5724 FN(fib_lookup, 69, ##ctx) \
/linux-6.6.21/include/uapi/linux/
Dbpf.h5724 FN(fib_lookup, 69, ##ctx) \
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_router.c257 return fib_lookup(&init_net, &fl4, res, 0 /* FIB_LOOKUP_NOREF */); in prestera_util_kern_get_route()
/linux-6.6.21/drivers/infiniband/core/
Dcma.c1591 err = fib_lookup(dev_net(net_dev), &fl4, &res, 0); in validate_ipv4_net_dev()
/linux-6.6.21/net/core/
Dfilter.c5866 err = fib_lookup(net, &fl4, &res, FIB_LOOKUP_NOREF); in bpf_ipv4_fib_lookup()