| /Linux-v4.19/include/linux/ |
| D | mroute.h | 83 struct rtmsg; 86 struct rtmsg *rtm, u32 portid);
|
| D | mroute6.h | 96 struct rtmsg; 98 struct rtmsg *rtm, u32 portid);
|
| D | mroute_base.h | 285 struct mr_mfc *c, struct rtmsg *rtm); 330 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
|
| /Linux-v4.19/include/net/ |
| D | dn_fib.h | 82 int (*insert)(struct dn_fib_table *t, struct rtmsg *r, 85 int (*delete)(struct dn_fib_table *t, struct rtmsg *r, 104 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r,
|
| /Linux-v4.19/net/decnet/ |
| D | dn_fib.c | 165 const struct rtmsg *r) in dn_fib_get_nhs() 195 static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) in dn_fib_check_nh() 267 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct nlattr *attrs[], in dn_fib_create_info() 510 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_delroute() 537 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_newroute() 564 struct rtmsg rtm; in fib_magic()
|
| D | dn_table.c | 229 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn… in dn_fib_nh_match() 276 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in dn_fib_nlmsg_size() 305 struct rtmsg *rtm; in dn_fib_dump_info() 499 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && in dn_fib_dump() 500 ((struct rtmsg *)nlmsg_data(cb->nlh))->rtm_flags&RTM_F_CLONED) in dn_fib_dump() 528 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_insert() 665 static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_delete()
|
| D | dn_route.c | 1555 struct rtmsg *r; in dn_rt_fill_info() 1643 struct rtmsg *rtm = nlmsg_data(nlh); in dn_cache_getroute() 1732 struct rtmsg *rtm; in dn_cache_dump() 1737 if (nlmsg_len(cb->nlh) < sizeof(struct rtmsg)) in dn_cache_dump()
|
| /Linux-v4.19/samples/bpf/ |
| D | xdp_router_ipv4_user.c | 111 struct rtmsg *rt_msg; in read_route() 144 rt_msg = (struct rtmsg *)NLMSG_DATA(nh); in read_route() 308 struct rtmsg rt; in get_route_table() 325 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table() 462 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table()
|
| /Linux-v4.19/include/uapi/linux/ |
| D | rtnetlink.h | 200 struct rtmsg { struct 350 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 351 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
| /Linux-v4.19/net/phonet/ |
| D | pn_netlink.c | 176 struct rtmsg *rtm; in fill_route() 237 struct rtmsg *rtm; in route_doit()
|
| /Linux-v4.19/net/ipv6/ |
| D | route.c | 3635 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument 3640 cfg->fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ? in rtmsg_to_fib6_config() 3642 cfg->fc_ifindex = rtmsg->rtmsg_ifindex; in rtmsg_to_fib6_config() 3643 cfg->fc_metric = rtmsg->rtmsg_metric; in rtmsg_to_fib6_config() 3644 cfg->fc_expires = rtmsg->rtmsg_info; in rtmsg_to_fib6_config() 3645 cfg->fc_dst_len = rtmsg->rtmsg_dst_len; in rtmsg_to_fib6_config() 3646 cfg->fc_src_len = rtmsg->rtmsg_src_len; in rtmsg_to_fib6_config() 3647 cfg->fc_flags = rtmsg->rtmsg_flags; in rtmsg_to_fib6_config() 3648 cfg->fc_type = rtmsg->rtmsg_type; in rtmsg_to_fib6_config() 3652 cfg->fc_dst = rtmsg->rtmsg_dst; in rtmsg_to_fib6_config() [all …]
|
| D | ip6mr.c | 2201 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route() 2276 struct rtmsg *rtm; in ip6mr_fill_mroute() 2326 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize()
|
| /Linux-v4.19/net/ipv4/ |
| D | fib_frontend.c | 663 struct rtmsg *rtm; in rtm_to_fib_config() 692 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config() 804 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && in inet_dump_fib() 805 ((struct rtmsg *) nlmsg_data(cb->nlh))->rtm_flags & RTM_F_CLONED) in inet_dump_fib()
|
| D | ipmr.c | 2244 struct rtmsg *rtm, u32 portid) in ipmr_get_route() 2310 struct rtmsg *rtm; in ipmr_fill_mroute() 2360 NLMSG_ALIGN(sizeof(struct rtmsg)) in mroute_msgsize() 2475 struct rtmsg *rtm; in ipmr_rtm_getroute() 2577 struct rtmsg *rtm; in rtm_to_ipmr_mfcc() 2596 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), rem) { in rtm_to_ipmr_mfcc()
|
| D | ipmr_base.c | 209 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
|
| D | fib_semantics.c | 367 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size() 1296 struct rtmsg *rtm; in fib_dump_info()
|
| D | route.c | 2606 struct rtmsg *r; in rt_fill_info() 2788 struct rtmsg *rtm; in inet_rtm_getroute()
|
| /Linux-v4.19/net/mpls/ |
| D | af_mpls.c | 1734 struct rtmsg *rtm; in rtm_to_route_config() 1913 struct rtmsg *rtm; in mpls_dump_route() 2052 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size() 2125 struct rtmsg *rtm, *r; in mpls_getroute()
|
| /Linux-v4.19/tools/testing/selftests/net/ |
| D | udpgso.c | 372 struct rtmsg *rt; in set_route_mtu()
|