Home
last modified time | relevance | path

Searched refs:RTM_NEWROUTE (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/net/phonet/
Dpn_netlink.c254 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/
Drtnetlink.h44 RTM_NEWROUTE = 24, enumerator
45 #define RTM_NEWROUTE RTM_NEWROUTE macro
/linux-6.12.1/net/ipv4/
Dfib_frontend.c1103 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()
Dipmr_base.c322 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()
Dipmr.c1151 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()
Dfib_trie.c1086 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()
Droute.c2880 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/
Dnlmsgtab.c36 { RTM_NEWROUTE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
/linux-6.12.1/net/can/
Dgw.c767 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/
Daf_mpls.c545 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/
Dnetlink.c259 req.nh.nlmsg_type = RTM_NEWROUTE; in __ip_route_add()
/linux-6.12.1/net/ipv6/
Dip6mr.c1192 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()
Droute.c5205 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()
Dip6_fib.c1266 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()
Dndisc.c1416 inet6_rt_notify(RTM_NEWROUTE, rt, &nlinfo, NLM_F_REPLACE); in ndisc_router_discovery()
/linux-6.12.1/net/mctp/
Droute.c1438 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/
Dl2tp.rst485 RTM_NEWLINK, RTM_NEWADDR, RTM_NEWROUTE, or ioctl's SIOCSIFMTU, SIOCSIFADDR,
Dip-sysctl.rst236 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/
Dipsec.c437 req.nh.nlmsg_type = RTM_NEWROUTE; in ip4_route_set()