/linux/net/phonet/ |
A 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/include/uapi/linux/ |
A D | rtnetlink.h | 44 RTM_NEWROUTE = 24, enumerator 45 #define RTM_NEWROUTE RTM_NEWROUTE macro
|
/linux/net/ipv4/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | route.c | 2926 nlh = nlmsg_put(skb, portid, seq, RTM_NEWROUTE, sizeof(*r), flags); in rt_fill_info() 3403 nlh->nlmsg_seq, RTM_NEWROUTE, &fri, 0); in inet_rtm_getroute()
|
/linux/net/decnet/ |
A 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()
|
A 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()
|
A 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/security/selinux/ |
A D | nlmsgtab.c | 37 { RTM_NEWROUTE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
/linux/net/mctp/ |
A D | route.c | 1279 RTM_NEWROUTE, NLM_F_MULTI) < 0) in mctp_dump_rtinfo() 1324 rtnl_register_module(THIS_MODULE, PF_MCTP, RTM_NEWROUTE, in mctp_routes_init() 1336 rtnl_unregister(PF_MCTP, RTM_NEWROUTE); in mctp_routes_exit()
|
/linux/net/can/ |
A 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/net/mpls/ |
A D | af_mpls.c | 544 int event = new ? RTM_NEWROUTE : RTM_DELROUTE; in mpls_notify_route() 2222 cb->nlh->nlmsg_seq, RTM_NEWROUTE, in mpls_dump_routes() 2407 RTM_NEWROUTE, in_label, rt, 0); in mpls_getroute() 2470 RTM_NEWROUTE, sizeof(*r), 0); in mpls_getroute() 2760 rtnl_register_module(THIS_MODULE, PF_MPLS, RTM_NEWROUTE, in mpls_init()
|
/linux/tools/testing/selftests/net/ |
A D | udpgso.c | 380 nh->nlmsg_type = RTM_NEWROUTE; in set_route_mtu()
|
A D | ipsec.c | 399 req.nh.nlmsg_type = RTM_NEWROUTE; in ip4_route_set()
|
/linux/net/ipv6/ |
A D | route.c | 5198 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify() 5875 RTM_NEWROUTE, in rt6_nh_dump_exceptions() 5923 0, RTM_NEWROUTE, in rt6_dump_route() 6145 iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6150 &fl6.saddr, iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6211 RTM_NEWROUTE, info->portid, seq, NLM_F_REPLACE); in fib6_rt_update() 6261 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()
|
A 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()
|
A 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/samples/bpf/ |
A D | xdp_router_ipv4_user.c | 152 else if (nh->nlmsg_type == RTM_NEWROUTE) in read_route()
|
/linux/Documentation/networking/ |
A D | ip-sysctl.rst | 213 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/ 1910 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/
|