Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dfib_semantics.c384 hash = fib_info_hashfn_1(fib_devindex_hashfn(cfg->fc_nh_id), in fib_find_info_nh()
394 if (!fi->nh || fi->nh->id != cfg->fc_nh_id) in fib_find_info_nh()
888 if (cfg->fc_nh_id) { in fib_nh_match()
889 if (fi->nh && cfg->fc_nh_id == fi->nh->id) in fib_nh_match()
1410 if (cfg->fc_nh_id) { in fib_create_info()
1419 nh = nexthop_find_by_id(net, cfg->fc_nh_id); in fib_create_info()
Dfib_frontend.c827 cfg->fc_nh_id = nla_get_u32(attr); in rtm_to_fib_config()
832 if (cfg->fc_nh_id) { in rtm_to_fib_config()
867 if (cfg.fc_nh_id && !nexthop_find_by_id(net, cfg.fc_nh_id)) { in inet_rtm_delroute()
/linux-6.6.21/include/net/
Dip6_fib.h54 u32 fc_nh_id; member
Dip_fib.h44 u32 fc_nh_id; member
/linux-6.6.21/net/ipv6/
Droute.c3722 if (cfg->fc_nh_id) { in ip6_route_info_create()
3723 nh = nexthop_find_by_id(net, cfg->fc_nh_id); in ip6_route_info_create()
4044 if (rt->nh && cfg->fc_nh_id && in ip6_route_del()
4045 rt->nh->id != cfg->fc_nh_id) in ip6_route_del()
4053 } else if (cfg->fc_nh_id) { in ip6_route_del()
4079 if (cfg->fc_nh_id) in ip6_route_del()
5051 cfg->fc_nh_id = nla_get_u32(tb[RTA_NH_ID]); in rtm_to_fib6_config()
5480 if (cfg.fc_nh_id && in inet6_rtm_delroute()
5481 !nexthop_find_by_id(sock_net(skb->sk), cfg.fc_nh_id)) { in inet6_rtm_delroute()