/Linux-v6.1/net/phonet/ |
D | pn_netlink.c | 254 if (nlh->nlmsg_type == RTM_NEWROUTE) in route_doit() 276 cb->nlh->nlmsg_seq, RTM_NEWROUTE) < 0) in route_dumpit() 299 rtnl_register_module(THIS_MODULE, PF_PHONET, RTM_NEWROUTE, in phonet_netlink_register()
|
/Linux-v6.1/include/uapi/linux/ |
D | rtnetlink.h | 44 RTM_NEWROUTE = 24, enumerator 45 #define RTM_NEWROUTE RTM_NEWROUTE macro
|
/Linux-v6.1/net/ipv4/ |
D | fib_frontend.c | 1100 if (cmd == RTM_NEWROUTE) in fib_magic() 1123 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr() 1130 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, ifa->ifa_broadcast, 32, in fib_add_ifaddr() 1138 fib_magic(RTM_NEWROUTE, in fib_add_ifaddr() 1145 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix | ~mask, in fib_add_ifaddr() 1165 fib_magic(RTM_NEWROUTE, in fib_modify_prefix_metric() 1657 rtnl_register(PF_INET, RTM_NEWROUTE, inet_rtm_newroute, NULL, 0); in ip_fib_init()
|
D | ipmr_base.c | 321 cb->nlh->nlmsg_seq, mfc, RTM_NEWROUTE, flags); in mr_table_dump() 337 cb->nlh->nlmsg_seq, mfc, RTM_NEWROUTE, flags); in mr_table_dump()
|
D | fib_trie.c | 1085 err = fib_dump_info(skb, 0, 0, RTM_NEWROUTE, fri, 0); in fib_alias_hw_flags_set() 1333 rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, in fib_table_insert() 1404 rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, new_fa->tb_id, in fib_table_insert() 2152 rtmsg_fib(RTM_NEWROUTE, htonl(n->key), fa, in __fib_info_notify_update() 2321 RTM_NEWROUTE, &fri, flags); in fn_trie_dump_leaf()
|
D | ipmr.c | 1151 mroute_netlink_event(mrt, c, RTM_NEWROUTE); in ipmr_cache_unresolved() 1223 mroute_netlink_event(mrt, c, RTM_NEWROUTE); in ipmr_mfc_add() 1274 mroute_netlink_event(mrt, c, RTM_NEWROUTE); in ipmr_mfc_add() 2561 RTM_NEWROUTE, 0); in ipmr_rtm_getroute() 2728 if (nlh->nlmsg_type == RTM_NEWROUTE) in ipmr_rtm_route() 3150 rtnl_register(RTNL_FAMILY_IPMR, RTM_NEWROUTE, in ip_mr_init()
|
D | route.c | 2949 nlh = nlmsg_put(skb, portid, seq, RTM_NEWROUTE, sizeof(*r), flags); in rt_fill_info() 3426 nlh->nlmsg_seq, RTM_NEWROUTE, &fri, 0); in inet_rtm_getroute()
|
/Linux-v6.1/security/selinux/ |
D | nlmsgtab.c | 36 { RTM_NEWROUTE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
/Linux-v6.1/net/mctp/ |
D | route.c | 1350 RTM_NEWROUTE, NLM_F_MULTI) < 0) in mctp_dump_rtinfo() 1395 rtnl_register_module(THIS_MODULE, PF_MCTP, RTM_NEWROUTE, in mctp_routes_init() 1407 rtnl_unregister(PF_MCTP, RTM_NEWROUTE); in mctp_routes_exit()
|
/Linux-v6.1/net/can/ |
D | gw.c | 767 if (cgw_put_job(skb, gwj, RTM_NEWROUTE, in cgw_dump_jobs() 1291 ret = rtnl_register_module(THIS_MODULE, PF_CAN, RTM_NEWROUTE, in cgw_module_init() 1303 rtnl_unregister(PF_CAN, RTM_NEWROUTE); in cgw_module_init()
|
/Linux-v6.1/net/mpls/ |
D | af_mpls.c | 544 int event = new ? RTM_NEWROUTE : RTM_DELROUTE; in mpls_notify_route() 2221 cb->nlh->nlmsg_seq, RTM_NEWROUTE, in mpls_dump_routes() 2406 RTM_NEWROUTE, in_label, rt, 0); in mpls_getroute() 2469 RTM_NEWROUTE, sizeof(*r), 0); in mpls_getroute() 2759 rtnl_register_module(THIS_MODULE, PF_MPLS, RTM_NEWROUTE, in mpls_init()
|
/Linux-v6.1/net/ipv6/ |
D | ip6mr.c | 1192 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_cache_unresolved() 1457 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_mfc_add() 1510 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_mfc_add() 2596 nlh->nlmsg_seq, cache, RTM_NEWROUTE, 0); in ip6mr_rtm_getroute()
|
D | route.c | 5191 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify() 5868 RTM_NEWROUTE, in rt6_nh_dump_exceptions() 5916 0, RTM_NEWROUTE, in rt6_dump_route() 6138 iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6143 &fl6.saddr, iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6204 RTM_NEWROUTE, info->portid, seq, NLM_F_REPLACE); in fib6_rt_update() 6255 err = rt6_fill_node(net, skb, f6i, NULL, NULL, NULL, 0, RTM_NEWROUTE, 0, in fib6_info_hw_flags_set() 6715 ret = rtnl_register_module(THIS_MODULE, PF_INET6, RTM_NEWROUTE, in ip6_route_init()
|
D | ip6_fib.c | 1252 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node() 1283 inet6_rt_notify(RTM_NEWROUTE, rt, info, NLM_F_REPLACE); in fib6_add_rt2node()
|
D | ndisc.c | 1409 inet6_rt_notify(RTM_NEWROUTE, rt, &nlinfo, NLM_F_REPLACE); in ndisc_router_discovery()
|
/Linux-v6.1/tools/testing/selftests/net/ |
D | udpgso.c | 380 nh->nlmsg_type = RTM_NEWROUTE; in set_route_mtu()
|
D | ipsec.c | 437 req.nh.nlmsg_type = RTM_NEWROUTE; in ip4_route_set()
|
/Linux-v6.1/Documentation/networking/ |
D | ip-sysctl.rst | 219 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/ 1987 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/
|