/Linux-v5.15/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-v5.15/include/uapi/linux/ |
D | rtnetlink.h | 44 RTM_NEWROUTE = 24, enumerator 45 #define RTM_NEWROUTE RTM_NEWROUTE macro
|
/Linux-v5.15/net/ipv4/ |
D | fib_frontend.c | 1086 if (cmd == RTM_NEWROUTE) in fib_magic() 1109 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr() 1116 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, ifa->ifa_broadcast, 32, in fib_add_ifaddr() 1122 fib_magic(RTM_NEWROUTE, in fib_add_ifaddr() 1129 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix | ~mask, in fib_add_ifaddr() 1148 fib_magic(RTM_NEWROUTE, in fib_modify_prefix_metric() 1627 rtnl_register(PF_INET, RTM_NEWROUTE, inet_rtm_newroute, NULL, 0); in ip_fib_init()
|
D | ipmr_base.c | 312 cb->nlh->nlmsg_seq, mfc, RTM_NEWROUTE, flags); in mr_table_dump() 328 cb->nlh->nlmsg_seq, mfc, RTM_NEWROUTE, flags); in mr_table_dump()
|
D | fib_trie.c | 1073 err = fib_dump_info(skb, 0, 0, RTM_NEWROUTE, fri, 0); in fib_alias_hw_flags_set() 1320 rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, in fib_table_insert() 1389 rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, new_fa->tb_id, in fib_table_insert() 2137 rtmsg_fib(RTM_NEWROUTE, htonl(n->key), fa, in __fib_info_notify_update() 2306 RTM_NEWROUTE, &fri, flags); in fn_trie_dump_leaf()
|
D | ipmr.c | 1141 mroute_netlink_event(mrt, c, RTM_NEWROUTE); in ipmr_cache_unresolved() 1213 mroute_netlink_event(mrt, c, RTM_NEWROUTE); in ipmr_mfc_add() 1264 mroute_netlink_event(mrt, c, RTM_NEWROUTE); in ipmr_mfc_add() 2558 RTM_NEWROUTE, 0); in ipmr_rtm_getroute() 2725 if (nlh->nlmsg_type == RTM_NEWROUTE) in ipmr_rtm_route() 3130 rtnl_register(RTNL_FAMILY_IPMR, RTM_NEWROUTE, in ip_mr_init()
|
D | route.c | 2934 nlh = nlmsg_put(skb, portid, seq, RTM_NEWROUTE, sizeof(*r), flags); in rt_fill_info() 3411 nlh->nlmsg_seq, RTM_NEWROUTE, &fri, 0); in inet_rtm_getroute()
|
/Linux-v5.15/net/decnet/ |
D | dn_fib.c | 611 if (cmd == RTM_NEWROUTE) in fib_magic() 620 fib_magic(RTM_NEWROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_add_ifaddr() 794 rtnl_register_module(THIS_MODULE, PF_DECnet, RTM_NEWROUTE, in dn_fib_init()
|
D | dn_table.c | 425 RTM_NEWROUTE, in dn_hash_dump_bucket() 657 dn_rtmsg_fib(RTM_NEWROUTE, new_f, z, tb->n, n, req); in dn_fib_table_insert()
|
D | dn_route.c | 1704 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); in dn_cache_getroute() 1754 cb->nlh->nlmsg_seq, RTM_NEWROUTE, in dn_cache_dump()
|
/Linux-v5.15/security/selinux/ |
D | nlmsgtab.c | 37 { RTM_NEWROUTE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
/Linux-v5.15/net/mctp/ |
D | route.c | 1058 RTM_NEWROUTE, NLM_F_MULTI) < 0) in mctp_dump_rtinfo() 1103 rtnl_register_module(THIS_MODULE, PF_MCTP, RTM_NEWROUTE, in mctp_routes_init() 1115 rtnl_unregister(PF_MCTP, RTM_NEWROUTE); in mctp_routes_exit()
|
/Linux-v5.15/net/can/ |
D | gw.c | 761 if (cgw_put_job(skb, gwj, RTM_NEWROUTE, in cgw_dump_jobs() 1284 ret = rtnl_register_module(THIS_MODULE, PF_CAN, RTM_NEWROUTE, in cgw_module_init() 1296 rtnl_unregister(PF_CAN, RTM_NEWROUTE); in cgw_module_init()
|
/Linux-v5.15/net/mpls/ |
D | af_mpls.c | 544 int event = new ? RTM_NEWROUTE : RTM_DELROUTE; in mpls_notify_route() 2195 cb->nlh->nlmsg_seq, RTM_NEWROUTE, in mpls_dump_routes() 2380 RTM_NEWROUTE, in_label, rt, 0); in mpls_getroute() 2443 RTM_NEWROUTE, sizeof(*r), 0); in mpls_getroute() 2733 rtnl_register_module(THIS_MODULE, PF_MPLS, RTM_NEWROUTE, in mpls_init()
|
/Linux-v5.15/tools/testing/selftests/net/ |
D | udpgso.c | 380 nh->nlmsg_type = RTM_NEWROUTE; in set_route_mtu()
|
D | ipsec.c | 399 req.nh.nlmsg_type = RTM_NEWROUTE; in ip4_route_set()
|
/Linux-v5.15/samples/bpf/ |
D | xdp_router_ipv4_user.c | 152 else if (nh->nlmsg_type == RTM_NEWROUTE) in read_route()
|
/Linux-v5.15/net/ipv6/ |
D | route.c | 5179 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify() 5828 RTM_NEWROUTE, in rt6_nh_dump_exceptions() 5876 0, RTM_NEWROUTE, in rt6_dump_route() 6098 iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6103 &fl6.saddr, iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6164 RTM_NEWROUTE, info->portid, seq, NLM_F_REPLACE); in fib6_rt_update() 6214 err = rt6_fill_node(net, skb, f6i, NULL, NULL, NULL, 0, RTM_NEWROUTE, 0, in fib6_info_hw_flags_set() 6668 ret = rtnl_register_module(THIS_MODULE, PF_INET6, RTM_NEWROUTE, in ip6_route_init()
|
D | ip6mr.c | 1184 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_cache_unresolved() 1437 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_mfc_add() 1490 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_mfc_add()
|
D | ip6_fib.c | 1250 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node() 1281 inet6_rt_notify(RTM_NEWROUTE, rt, info, NLM_F_REPLACE); in fib6_add_rt2node()
|
/Linux-v5.15/Documentation/networking/ |
D | ip-sysctl.rst | 211 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/ 1909 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/
|