/Linux-v6.6/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.6/include/uapi/linux/ |
D | rtnetlink.h | 44 RTM_NEWROUTE = 24, enumerator 45 #define RTM_NEWROUTE RTM_NEWROUTE macro
|
/Linux-v6.6/net/ipv4/ |
D | fib_frontend.c | 1103 if (cmd == RTM_NEWROUTE) in fib_magic() 1126 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr() 1133 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, ifa->ifa_broadcast, 32, in fib_add_ifaddr() 1141 fib_magic(RTM_NEWROUTE, in fib_add_ifaddr() 1148 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix | ~mask, in fib_add_ifaddr() 1168 fib_magic(RTM_NEWROUTE, in fib_modify_prefix_metric() 1660 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 | 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() 2575 RTM_NEWROUTE, 0); in ipmr_rtm_getroute() 2742 if (nlh->nlmsg_type == RTM_NEWROUTE) in ipmr_rtm_route() 3164 rtnl_register(RTNL_FAMILY_IPMR, RTM_NEWROUTE, in ip_mr_init()
|
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() 2157 rtmsg_fib(RTM_NEWROUTE, htonl(n->key), fa, in __fib_info_notify_update() 2326 RTM_NEWROUTE, &fri, flags); in fn_trie_dump_leaf()
|
D | route.c | 2948 nlh = nlmsg_put(skb, portid, seq, RTM_NEWROUTE, sizeof(*r), flags); in rt_fill_info() 3427 nlh->nlmsg_seq, RTM_NEWROUTE, &fri, 0); in inet_rtm_getroute()
|
/Linux-v6.6/security/selinux/ |
D | nlmsgtab.c | 36 { RTM_NEWROUTE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
/Linux-v6.6/net/mctp/ |
D | route.c | 1365 RTM_NEWROUTE, NLM_F_MULTI) < 0) in mctp_dump_rtinfo() 1410 rtnl_register_module(THIS_MODULE, PF_MCTP, RTM_NEWROUTE, in mctp_routes_init() 1422 rtnl_unregister(PF_MCTP, RTM_NEWROUTE); in mctp_routes_exit()
|
/Linux-v6.6/net/can/ |
D | gw.c | 767 if (cgw_put_job(skb, gwj, RTM_NEWROUTE, in cgw_dump_jobs() 1298 ret = rtnl_register_module(THIS_MODULE, PF_CAN, RTM_NEWROUTE, in cgw_module_init() 1310 rtnl_unregister(PF_CAN, RTM_NEWROUTE); in cgw_module_init()
|
/Linux-v6.6/net/mpls/ |
D | af_mpls.c | 545 int event = new ? RTM_NEWROUTE : RTM_DELROUTE; in mpls_notify_route() 2227 cb->nlh->nlmsg_seq, RTM_NEWROUTE, in mpls_dump_routes() 2412 RTM_NEWROUTE, in_label, rt, 0); in mpls_getroute() 2475 RTM_NEWROUTE, sizeof(*r), 0); in mpls_getroute() 2766 rtnl_register_module(THIS_MODULE, PF_MPLS, RTM_NEWROUTE, in mpls_init()
|
/Linux-v6.6/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() 2586 nlh->nlmsg_seq, cache, RTM_NEWROUTE, 0); in ip6mr_rtm_getroute()
|
D | route.c | 5189 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify() 5867 RTM_NEWROUTE, in rt6_nh_dump_exceptions() 5915 0, RTM_NEWROUTE, in rt6_dump_route() 6137 iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6142 &fl6.saddr, iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6203 RTM_NEWROUTE, info->portid, seq, NLM_F_REPLACE); in fib6_rt_update() 6254 err = rt6_fill_node(net, skb, f6i, NULL, NULL, NULL, 0, RTM_NEWROUTE, 0, in fib6_info_hw_flags_set() 6723 ret = rtnl_register_module(THIS_MODULE, PF_INET6, RTM_NEWROUTE, in ip6_route_init()
|
D | ip6_fib.c | 1257 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node() 1288 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.6/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.6/Documentation/networking/ |
D | ip-sysctl.rst | 222 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/ 2129 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/
|