Lines Matching refs:fib_nhc
88 nh_info->dev = nhi->fib_nhc.nhc_dev; in __nh_notifier_single_info_init()
89 nh_info->gw_family = nhi->fib_nhc.nhc_gw_family; in __nh_notifier_single_info_init()
91 nh_info->ipv4 = nhi->fib_nhc.nhc_gw.ipv4; in __nh_notifier_single_info_init()
93 nh_info->ipv6 = nhi->fib_nhc.nhc_gw.ipv6; in __nh_notifier_single_info_init()
97 nh_info->has_encap = !!nhi->fib_nhc.nhc_lwtstate; in __nh_notifier_single_info_init()
456 struct net_device *dev = nhi->fib_nhc.nhc_dev; in nexthop_devhash_add()
738 dev = nhi->fib_nhc.nhc_dev; in nh_fill_node()
743 nhm->nh_scope = nhi->fib_nhc.nhc_scope; in nh_fill_node()
760 if (nhi->fib_nhc.nhc_lwtstate && in nh_fill_node()
761 lwtunnel_fill_encap(skb, nhi->fib_nhc.nhc_lwtstate, in nh_fill_node()
819 if (nhi->fib_nhc.nhc_lwtstate) { in nh_nlmsg_size_single()
820 sz += lwtunnel_get_encap_size(nhi->fib_nhc.nhc_lwtstate); in nh_nlmsg_size_single()
1330 if (scope == RT_SCOPE_HOST && nhi->fib_nhc.nhc_gw_family) { in nexthop_check_scope()
1336 if (nhi->fib_nhc.nhc_flags & RTNH_F_ONLINK && scope >= RT_SCOPE_LINK) { in nexthop_check_scope()
1876 if (nhi->fib_nhc.nhc_dev) in __remove_nexthop()
2383 if (nhi->fib_nhc.nhc_dev != dev) in nexthop_flush_dev()
2602 nhi->fib_nhc.nhc_scope = RT_SCOPE_LINK; in nexthop_create()
3080 dev = nhi->fib_nhc.nhc_dev; in nh_dump_filtered()
3557 if (nhi->fib_nhc.nhc_dev == dev) { in nexthop_sync_mtu()
3559 fib_nhc_update_mtu(&nhi->fib_nhc, dev->mtu, in nexthop_sync_mtu()