Home
last modified time | relevance | path

Searched refs:fc_nh_id (Results 1 – 5 of 5) sorted by relevance

/linux/net/ipv4/
A Dfib_semantics.c372 hash = fib_info_hashfn_1(fib_devindex_hashfn(cfg->fc_nh_id), in fib_find_info_nh()
382 if (!fi->nh || fi->nh->id != cfg->fc_nh_id) in fib_find_info_nh()
876 if (cfg->fc_nh_id) { in fib_nh_match()
877 if (fi->nh && cfg->fc_nh_id == fi->nh->id) in fib_nh_match()
1407 if (cfg->fc_nh_id) { in fib_create_info()
1416 nh = nexthop_find_by_id(net, cfg->fc_nh_id); in fib_create_info()
A Dfib_frontend.c813 cfg->fc_nh_id = nla_get_u32(attr); in rtm_to_fib_config()
818 if (cfg->fc_nh_id) { in rtm_to_fib_config()
850 if (cfg.fc_nh_id && !nexthop_find_by_id(net, cfg.fc_nh_id)) { in inet_rtm_delroute()
/linux/include/net/
A Dip6_fib.h53 u32 fc_nh_id; member
A Dip_fib.h43 u32 fc_nh_id; member
/linux/net/ipv6/
A Droute.c3746 if (cfg->fc_nh_id) { in ip6_route_info_create()
3747 nh = nexthop_find_by_id(net, cfg->fc_nh_id); in ip6_route_info_create()
4068 if (rt->nh && cfg->fc_nh_id && in ip6_route_del()
4069 rt->nh->id != cfg->fc_nh_id) in ip6_route_del()
4077 } else if (cfg->fc_nh_id) { in ip6_route_del()
4103 if (cfg->fc_nh_id) in ip6_route_del()
5060 cfg->fc_nh_id = nla_get_u32(tb[RTA_NH_ID]); in rtm_to_fib6_config()
5489 if (cfg.fc_nh_id && in inet6_rtm_delroute()
5490 !nexthop_find_by_id(sock_net(skb->sk), cfg.fc_nh_id)) { in inet6_rtm_delroute()

Completed in 25 milliseconds