Searched refs:nh_common (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/include/net/ |
| H A D | ip_fib.h | 108 struct fib_nh_common nh_common; member 116 #define fib_nh_family nh_common.nhc_family 117 #define fib_nh_dev nh_common.nhc_dev 119 #define fib_nh_oif nh_common.nhc_oif 120 #define fib_nh_flags nh_common.nhc_flags 121 #define fib_nh_lws nh_common.nhc_lwtstate 122 #define fib_nh_scope nh_common.nhc_scope 123 #define fib_nh_gw_family nh_common.nhc_gw_family 124 #define fib_nh_gw4 nh_common.nhc_gw.ipv4 125 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 [all …]
|
| H A D | nexthop.h | 400 BUILD_BUG_ON(offsetof(struct fib_nh, nh_common) != 0); in nexthop_fib_nhc() 401 BUILD_BUG_ON(offsetof(struct fib6_nh, nh_common) != 0); in nexthop_fib_nhc() 492 return &fi->fib_nh[nhsel].nh_common; in fib_info_nhc()
|
| H A D | ip6_fib.h | 148 struct fib_nh_common nh_common; member
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_tracing_net.h | 107 #define fib_nh_dev nh_common.nhc_dev 108 #define fib_nh_gw_family nh_common.nhc_gw_family 109 #define fib_nh_gw6 nh_common.nhc_gw.ipv6
|
| /linux-6.15/net/ipv4/ |
| H A D | fib_semantics.c | 218 fib_nh_common_release(&fib_nh->nh_common); in fib_nh_release() 659 err = fib_nh_common_init(net, &nh->nh_common, cfg->fc_encap, in fib_nh_init() 1302 nh = container_of(nhc, struct fib_nh, nh_common); in fib_info_update_nhc_saddr() 1321 nh = container_of(nhc, struct fib_nh, nh_common); in fib_result_prefsrc() 1527 fib_info_update_nhc_saddr(net, &nexthop_nh->nh_common, in fib_create_info() 1709 if (fib_add_nexthop(skb, &nh->nh_common, nh->fib_nh_weight, in fib_add_multipath() 1792 nh = container_of(nhc, struct fib_nh, nh_common); in fib_dump_info() 1924 fib_nhc_update_mtu(&nh->nh_common, dev->mtu, orig_mtu); in fib_sync_mtu() 2188 res->nhc = &nexthop_nh->nh_common; in fib_select_multipath() 2197 res->nhc = &nexthop_nh->nh_common; in fib_select_multipath()
|
| H A D | route.c | 1600 nh = container_of(nhc, struct fib_nh, nh_common); in rt_set_nexthop()
|
| H A D | nexthop.c | 2821 fib_info_update_nhc_saddr(net, &fib_nh->nh_common, in nh_create_ipv4()
|
| /linux-6.15/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 198 if (!fi->fib6_nh->nh_common.nhc_gw_family) in __prestera_fi6_is_direct() 332 return &fen6_info->rt->fib6_nh->nh_common; in prestera_kern_fib_info_nhc() 337 return &iter->fib6_nh->nh_common; in prestera_kern_fib_info_nhc()
|
| /linux-6.15/net/ipv6/ |
| H A D | route.c | 3662 err = fib_nh_common_init(net, &fib6_nh->nh_common, cfg->fc_encap, in fib6_nh_init() 3682 fib_nh_common_release(&fib6_nh->nh_common); in fib6_nh_init() 3683 fib6_nh->nh_common.nhc_pcpu_rth_output = NULL; in fib6_nh_init() 3709 fib_nh_common_release(&fib6_nh->nh_common); in fib6_nh_release() 5659 if (fib_nexthop_info(skb, &fib6_nh->nh_common, AF_INET6, in rt6_fill_node_nexthop() 5791 if (fib_add_nexthop(skb, &rt->fib6_nh->nh_common, in rt6_fill_node() 5800 if (fib_add_nexthop(skb, &sibling->fib6_nh->nh_common, in rt6_fill_node() 5825 if (fib_nexthop_info(skb, &rt->fib6_nh->nh_common, AF_INET6, in rt6_fill_node()
|