Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dfib_semantics.c382 hash = fib_info_hashfn_1(fib_devindex_hashfn(cfg->fc_nh_id), in fib_find_info_nh()
392 if (!fi->nh || fi->nh->id != cfg->fc_nh_id) in fib_find_info_nh()
884 if (cfg->fc_nh_id) { in fib_nh_match()
885 if (fi->nh && cfg->fc_nh_id == fi->nh->id) in fib_nh_match()
1420 if (cfg->fc_nh_id) { in fib_create_info()
1429 nh = nexthop_find_by_id(net, cfg->fc_nh_id); in fib_create_info()
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()
/kernel/linux/linux-5.10/include/net/
Dip6_fib.h53 u32 fc_nh_id; member
Dip_fib.h43 u32 fc_nh_id; member
/kernel/linux/linux-5.10/net/ipv6/
Droute.c3636 if (cfg->fc_nh_id) { in ip6_route_info_create()
3637 nh = nexthop_find_by_id(net, cfg->fc_nh_id); in ip6_route_info_create()
3958 if (rt->nh && cfg->fc_nh_id && in ip6_route_del()
3959 rt->nh->id != cfg->fc_nh_id) in ip6_route_del()
3967 } else if (cfg->fc_nh_id) { in ip6_route_del()
3993 if (cfg->fc_nh_id) in ip6_route_del()
4949 cfg->fc_nh_id = nla_get_u32(tb[RTA_NH_ID]); in rtm_to_fib6_config()
5378 if (cfg.fc_nh_id && in inet6_rtm_delroute()
5379 !nexthop_find_by_id(sock_net(skb->sk), cfg.fc_nh_id)) { in inet6_rtm_delroute()