Home
last modified time | relevance | path

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

/linux/net/phonet/
A Dpn_netlink.c254 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 Drtnetlink.h44 RTM_NEWROUTE = 24, enumerator
45 #define RTM_NEWROUTE RTM_NEWROUTE macro
/linux/net/ipv4/
A Dfib_frontend.c1086 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 Dipmr_base.c312 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 Dfib_trie.c1073 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 Dipmr.c1141 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 Droute.c2926 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 Ddn_fib.c611 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 Ddn_table.c425 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 Ddn_route.c1704 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 Dnlmsgtab.c37 { RTM_NEWROUTE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
/linux/net/mctp/
A Droute.c1279 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 Dgw.c761 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 Daf_mpls.c544 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 Dudpgso.c380 nh->nlmsg_type = RTM_NEWROUTE; in set_route_mtu()
A Dipsec.c399 req.nh.nlmsg_type = RTM_NEWROUTE; in ip4_route_set()
/linux/net/ipv6/
A Droute.c5198 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 Dip6mr.c1184 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 Dip6_fib.c1250 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 Dxdp_router_ipv4_user.c152 else if (nh->nlmsg_type == RTM_NEWROUTE) in read_route()
/linux/Documentation/networking/
A Dip-sysctl.rst213 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/
1910 Whether to emit RTM_NEWROUTE notifications whenever RTM_F_OFFLOAD/

Completed in 71 milliseconds