/linux-6.12.1/net/phonet/ |
D | pn_netlink.c | 254 if (nlh->nlmsg_type == RTM_NEWROUTE) in route_doit() 278 cb->nlh->nlmsg_seq, RTM_NEWROUTE); in route_dumpit() 292 {THIS_MODULE, PF_PHONET, RTM_NEWROUTE, route_doit, NULL, 0},
|
/linux-6.12.1/include/uapi/linux/ |
D | rtnetlink.h | 44 RTM_NEWROUTE = 24, enumerator 45 #define RTM_NEWROUTE RTM_NEWROUTE macro
|
/linux-6.12.1/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 | 322 cb->nlh->nlmsg_seq, mfc, RTM_NEWROUTE, flags); in mr_table_dump() 338 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() 2576 RTM_NEWROUTE, 0); in ipmr_rtm_getroute() 2745 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 | 1086 err = fib_dump_info(skb, 0, 0, RTM_NEWROUTE, fri, 0); in fib_alias_hw_flags_set() 1334 rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, in fib_table_insert() 1405 rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, new_fa->tb_id, in fib_table_insert() 2158 rtmsg_fib(RTM_NEWROUTE, htonl(n->key), fa, in __fib_info_notify_update() 2327 RTM_NEWROUTE, &fri, flags); in fn_trie_dump_leaf()
|
D | route.c | 2880 nlh = nlmsg_put(skb, portid, seq, RTM_NEWROUTE, sizeof(*r), flags); in rt_fill_info() 3359 nlh->nlmsg_seq, RTM_NEWROUTE, &fri, 0); in inet_rtm_getroute()
|
/linux-6.12.1/security/selinux/ |
D | nlmsgtab.c | 36 { RTM_NEWROUTE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
/linux-6.12.1/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-6.12.1/net/mpls/ |
D | af_mpls.c | 545 int event = new ? RTM_NEWROUTE : RTM_DELROUTE; in mpls_notify_route() 2211 cb->nlh->nlmsg_seq, RTM_NEWROUTE, in mpls_dump_routes() 2395 RTM_NEWROUTE, in_label, rt, 0); in mpls_getroute() 2458 RTM_NEWROUTE, sizeof(*r), 0); in mpls_getroute() 2732 {THIS_MODULE, PF_MPLS, RTM_NEWROUTE, mpls_rtm_newroute, NULL, 0},
|
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/ |
D | netlink.c | 259 req.nh.nlmsg_type = RTM_NEWROUTE; in __ip_route_add()
|
/linux-6.12.1/net/ipv6/ |
D | ip6mr.c | 1192 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_cache_unresolved() 1454 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_mfc_add() 1507 mr6_netlink_event(mrt, c, RTM_NEWROUTE); in ip6mr_mfc_add() 2582 nlh->nlmsg_seq, cache, RTM_NEWROUTE, 0); in ip6mr_rtm_getroute()
|
D | route.c | 5205 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify() 5876 RTM_NEWROUTE, in rt6_nh_dump_exceptions() 5924 0, RTM_NEWROUTE, in rt6_dump_route() 6146 iif, RTM_NEWROUTE, in inet6_rtm_getroute() 6151 &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() 6725 ret = rtnl_register_module(THIS_MODULE, PF_INET6, RTM_NEWROUTE, in ip6_route_init()
|
D | ip6_fib.c | 1266 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node() 1297 inet6_rt_notify(RTM_NEWROUTE, rt, info, NLM_F_REPLACE); in fib6_add_rt2node()
|
D | ndisc.c | 1416 inet6_rt_notify(RTM_NEWROUTE, rt, &nlinfo, NLM_F_REPLACE); in ndisc_router_discovery()
|
/linux-6.12.1/net/mctp/ |
D | route.c | 1438 RTM_NEWROUTE, NLM_F_MULTI) < 0) in mctp_dump_rtinfo() 1478 {THIS_MODULE, PF_MCTP, RTM_NEWROUTE, mctp_newroute, NULL, 0},
|
/linux-6.12.1/Documentation/networking/ |
D | l2tp.rst | 485 RTM_NEWLINK, RTM_NEWADDR, RTM_NEWROUTE, or ioctl's SIOCSIFMTU, SIOCSIFADDR,
|
D | ip-sysctl.rst | 236 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/ 2176 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | ipsec.c | 437 req.nh.nlmsg_type = RTM_NEWROUTE; in ip4_route_set()
|