Searched refs:tbid (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | fib_lookup.c | 35 __u32 tbid; member 59 .tbid = RT_TABLE_MAIN, }, 62 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, .tbid = 100, 67 .tbid = RT_TABLE_MAIN, }, 70 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, .tbid = 100, 100 /* Setup for tbid lookup tests */ in setup_netns() 132 params->tbid = test->tbid; in set_lookup_params() 219 // ensure tbid is zero'd out after fib lookup. in test_fib_lookup() 221 if (!ASSERT_EQ(skel->bss->fib_params.tbid, in test_fib_lookup() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | filter.c | 5846 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in bpf_ipv4_fib_lookup() local 5850 tbid = params->tbid; in bpf_ipv4_fib_lookup() 5852 params->tbid = 0; in bpf_ipv4_fib_lookup() 5855 tb = fib_get_table(net, tbid); in bpf_ipv4_fib_lookup() 5988 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in bpf_ipv6_fib_lookup() local 5992 tbid = params->tbid; in bpf_ipv6_fib_lookup() 5994 params->tbid = 0; in bpf_ipv6_fib_lookup() 5997 tb = ipv6_stub->fib6_get_table(net, tbid); in bpf_ipv6_fib_lookup() [all...] |
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | bpf.h | 3250 * Use the routing table ID present in *params*->tbid 7039 __u32 tbid; member
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | bpf.h | 3250 * Use the routing table ID present in *params*->tbid 7039 __u32 tbid; member
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | route.c | 3218 const struct in6_addr *gw_addr, u32 tbid, in ip6_nh_lookup_table() 3229 table = fib6_get_table(net, tbid); in ip6_nh_lookup_table() 3251 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in ip6_route_check_nh_onlink() local 3256 err = ip6_nh_lookup_table(net, cfg, gw_addr, tbid, 0, &res); in ip6_route_check_nh_onlink() 3217 ip6_nh_lookup_table(struct net *net, struct fib6_config *cfg, const struct in6_addr *gw_addr, u32 tbid, int flags, struct fib6_result *res) ip6_nh_lookup_table() argument
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | route.c | 3312 const struct in6_addr *gw_addr, u32 tbid, in ip6_nh_lookup_table() 3323 table = fib6_get_table(net, tbid); in ip6_nh_lookup_table() 3345 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in ip6_route_check_nh_onlink() local 3350 err = ip6_nh_lookup_table(net, cfg, gw_addr, tbid, 0, &res); in ip6_route_check_nh_onlink() 3311 ip6_nh_lookup_table(struct net *net, struct fib6_config *cfg, const struct in6_addr *gw_addr, u32 tbid, int flags, struct fib6_result *res) ip6_nh_lookup_table() argument
|
/kernel/linux/linux-5.10/net/core/ |
H A D | filter.c | 5418 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in bpf_ipv4_fib_lookup() local 5421 tb = fib_get_table(net, tbid); in bpf_ipv4_fib_lookup() 5541 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in bpf_ipv6_fib_lookup() local 5544 tb = ipv6_stub->fib6_get_table(net, tbid); in bpf_ipv6_fib_lookup()
|
Completed in 53 milliseconds