Searched refs:nh_common (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.10/include/net/ |
| D | ip_fib.h | 104 struct fib_nh_common nh_common; member 112 #define fib_nh_family nh_common.nhc_family 113 #define fib_nh_dev nh_common.nhc_dev 114 #define fib_nh_oif nh_common.nhc_oif 115 #define fib_nh_flags nh_common.nhc_flags 116 #define fib_nh_lws nh_common.nhc_lwtstate 117 #define fib_nh_scope nh_common.nhc_scope 118 #define fib_nh_gw_family nh_common.nhc_gw_family 119 #define fib_nh_gw4 nh_common.nhc_gw.ipv4 120 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 [all …]
|
| D | nexthop.h | 256 BUILD_BUG_ON(offsetof(struct fib_nh, nh_common) != 0); in nexthop_fib_nhc() 257 BUILD_BUG_ON(offsetof(struct fib6_nh, nh_common) != 0); in nexthop_fib_nhc() 348 return &fi->fib_nh[nhsel].nh_common; in fib_info_nhc()
|
| D | ip6_fib.h | 153 struct fib_nh_common nh_common; member
|
| /Linux-v5.10/tools/testing/selftests/bpf/progs/ |
| D | bpf_tracing_net.h | 20 #define fib_nh_dev nh_common.nhc_dev 21 #define fib_nh_gw_family nh_common.nhc_gw_family 22 #define fib_nh_gw6 nh_common.nhc_gw.ipv6
|
| /Linux-v5.10/net/ipv4/ |
| D | fib_semantics.c | 227 fib_nh_common_release(&fib_nh->nh_common); in fib_nh_release() 619 err = fib_nh_common_init(net, &nh->nh_common, cfg->fc_encap, in fib_nh_init() 1297 nh = container_of(nhc, struct fib_nh, nh_common); in fib_info_update_nhc_saddr() 1314 nh = container_of(nhc, struct fib_nh, nh_common); in fib_result_prefsrc() 1535 fib_info_update_nhc_saddr(net, &nexthop_nh->nh_common, in fib_create_info() 1711 if (fib_add_nexthop(skb, &nh->nh_common, nh->fib_nh_weight, in fib_add_multipath() 1799 nh = container_of(nhc, struct fib_nh, nh_common); in fib_dump_info() 1928 fib_nhc_update_mtu(&nh->nh_common, dev->mtu, orig_mtu); in fib_sync_mtu() 2193 res->nhc = &nexthop_nh->nh_common; in fib_select_multipath() 2202 res->nhc = &nexthop_nh->nh_common; in fib_select_multipath()
|
| D | nexthop.c | 1319 fib_info_update_nhc_saddr(net, &fib_nh->nh_common, in nh_create_ipv4()
|
| D | route.c | 1599 nh = container_of(nhc, struct fib_nh, nh_common); in rt_set_nexthop()
|
| /Linux-v5.10/net/ipv6/ |
| D | route.c | 3514 err = fib_nh_common_init(net, &fib6_nh->nh_common, cfg->fc_encap, in fib6_nh_init() 3577 fib_nh_common_release(&fib6_nh->nh_common); in fib6_nh_release() 5441 if (fib_nexthop_info(skb, &fib6_nh->nh_common, AF_INET6, in rt6_fill_node_nexthop() 5569 if (fib_add_nexthop(skb, &rt->fib6_nh->nh_common, in rt6_fill_node() 5575 if (fib_add_nexthop(skb, &sibling->fib6_nh->nh_common, in rt6_fill_node() 5595 if (fib_nexthop_info(skb, &rt->fib6_nh->nh_common, AF_INET6, in rt6_fill_node()
|