Home
last modified time | relevance | path

Searched refs:nl_net (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/net/ipv6/
Dip6_fib.c1218 err = call_fib6_entry_notifiers(info->nl_net, in fib6_add_rt2node()
1247 info->nl_net->ipv6.rt6_stats->fib_rt_entries++; in fib6_add_rt2node()
1250 info->nl_net->ipv6.rt6_stats->fib_route_nodes++; in fib6_add_rt2node()
1265 err = call_fib6_entry_notifiers(info->nl_net, in fib6_add_rt2node()
1279 info->nl_net->ipv6.rt6_stats->fib_route_nodes++; in fib6_add_rt2node()
1284 fib6_purge_rt(iter, fn, info->nl_net); in fib6_add_rt2node()
1300 fib6_purge_rt(iter, fn, info->nl_net); in fib6_add_rt2node()
1305 info->nl_net->ipv6.rt6_stats->fib_rt_entries--; in fib6_add_rt2node()
1377 int sernum = fib6_new_sernum(info->nl_net); in fib6_add()
1388 fn = fib6_add_1(info->nl_net, table, root, in fib6_add()
[all …]
Droute.c1325 struct nl_info info = { .nl_net = net, }; in ip6_ins_rt()
3584 struct net *net = cfg->fc_nlinfo.nl_net; in ip6_route_info_create()
3753 struct net *net = info->nl_net; in __ip6_del_rt()
3775 .nl_net = net, in ip6_del_rt()
3785 struct net *net = info->nl_net; in __ip6_del_rt_siblings()
3925 table = fib6_get_table(cfg->fc_nlinfo.nl_net, cfg->fc_table); in ip6_route_del()
4203 .fc_nlinfo.nl_net = net, in rt6_add_route_info()
4267 .fc_nlinfo.nl_net = net, in rt6_add_dflt_router()
4341 .fc_nlinfo.nl_net = net, in rtmsg_to_fib6_config()
4451 .fc_nlinfo.nl_net = net, in addrconf_f6i_alloc()
[all …]
Daddrconf.c2396 .fc_nlinfo.nl_net = dev_net(dev), in addrconf_prefix_route()
2470 .fc_nlinfo.nl_net = dev_net(dev), in addrconf_add_mroute()
/Linux-v5.10/net/ipv4/
Dfib_semantics.c531 rtnl_notify(skb, info->nl_net, info->portid, RTNLGRP_IPV4_ROUTE, in rtmsg_fib()
536 rtnl_set_sk_err(info->nl_net, RTNLGRP_IPV4_ROUTE, err); in rtmsg_fib()
1332 rc = inet_addr_type_table(cfg->fc_nlinfo.nl_net, in fib_valid_prefsrc()
1336 rc = inet_addr_type_table(cfg->fc_nlinfo.nl_net, in fib_valid_prefsrc()
1354 struct net *net = cfg->fc_nlinfo.nl_net; in fib_create_info()
1516 err = fib_check_nh(cfg->fc_nlinfo.nl_net, nexthop_nh, in fib_create_info()
Dnexthop.c378 rtnl_notify(skb, info->nl_net, info->portid, RTNLGRP_NEXTHOP, in nexthop_notify()
383 rtnl_set_sk_err(info->nl_net, RTNLGRP_NEXTHOP, err); in nexthop_notify()
1502 cfg->nlinfo.nl_net = net; in rtm_to_nh_config()
1709 .nl_net = net, in rtm_del_nexthop()
Dfib_frontend.c473 cfg->fc_nlinfo.nl_net = net; in rtentry_to_fib_config()
747 cfg->fc_nlinfo.nl_net = net; in rtm_to_fib_config()
1066 .nl_net = net, in fib_magic()
Dfib_trie.c1291 rt_cache_flush(cfg->fc_nlinfo.nl_net); in fib_table_insert()
1351 rt_cache_flush(cfg->fc_nlinfo.nl_net); in fib_table_insert()
1723 rt_cache_flush(cfg->fc_nlinfo.nl_net); in fib_table_delete()
/Linux-v5.10/net/mpls/
Daf_mpls.c768 struct net *net = cfg->rc_nlinfo.nl_net; in mpls_nh_build_from_cfg()
916 err = mpls_nh_build(cfg->rc_nlinfo.nl_net, rt, nh, in mpls_nh_build_multi()
964 struct net *net = cfg->rc_nlinfo.nl_net; in mpls_route_add()
1051 struct net *net = cfg->rc_nlinfo.nl_net; in mpls_route_del()
1837 cfg->rc_nlinfo.nl_net = sock_net(skb->sk); in rtm_to_route_config()
1861 if (!mpls_label_ok(cfg->rc_nlinfo.nl_net, in rtm_to_route_config()
/Linux-v5.10/include/net/
Dnetlink.h455 struct net *nl_net; member