/kernel/linux/linux-5.10/include/linux/ |
D | mroute.h | 84 struct rtmsg; 87 struct rtmsg *rtm, u32 portid);
|
D | mroute6.h | 96 struct rtmsg; 98 struct rtmsg *rtm, u32 portid);
|
D | mroute_base.h | 284 struct mr_mfc *c, struct rtmsg *rtm); 336 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
|
/kernel/linux/linux-5.10/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,
|
D | ip6_route.h | 122 struct in6_rtmsg *rtmsg);
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | route.c | 147 static void rtmsg_to_fibni_config(struct net *net, struct nip_rtmsg *rtmsg, in rtmsg_to_fibni_config() argument 153 cfg->fc_ifindex = rtmsg->rtmsg_ifindex; in rtmsg_to_fibni_config() 154 cfg->fc_metric = rtmsg->rtmsg_metric; in rtmsg_to_fibni_config() 155 cfg->fc_expires = rtmsg->rtmsg_info; in rtmsg_to_fibni_config() 157 cfg->fc_flags = rtmsg->rtmsg_flags; in rtmsg_to_fibni_config() 161 cfg->fc_dst = rtmsg->rtmsg_dst; in rtmsg_to_fibni_config() 162 cfg->fc_src = rtmsg->rtmsg_src; in rtmsg_to_fibni_config() 163 cfg->fc_gateway = rtmsg->rtmsg_gateway; in rtmsg_to_fibni_config() 654 int nip_route_ioctl(struct net *net, unsigned int cmd, struct nip_rtmsg *rtmsg) in nip_route_ioctl() argument 659 rtmsg_to_fibni_config(net, rtmsg, &cfg); in nip_route_ioctl()
|
D | af_ninet.c | 448 struct nip_rtmsg rtmsg; in ninet_ioctl() local 450 if (copy_from_user(&rtmsg, (void __user *)arg, sizeof(rtmsg))) { in ninet_ioctl() 454 return nip_route_ioctl(net, cmd, &rtmsg); in ninet_ioctl()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
D | nip_fib.h | 149 int nip_set_route_netlink(struct net *net, struct nip_rtmsg *rtmsg); 151 int nip_del_route_netlink(struct net *net, struct nip_rtmsg *rtmsg);
|
D | nip_route.h | 59 int nip_route_ioctl(struct net *net, unsigned int cmd, struct nip_rtmsg *rtmsg);
|
/kernel/linux/linux-5.10/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() 500 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && in dn_fib_dump() 501 ((struct rtmsg *)nlmsg_data(cb->nlh))->rtm_flags&RTM_F_CLONED) in dn_fib_dump() 529 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_insert() 666 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 | 1551 struct rtmsg *r; in dn_rt_fill_info() 1639 struct rtmsg *rtm = nlmsg_data(nlh); in dn_cache_getroute() 1728 struct rtmsg *rtm; in dn_cache_dump() 1733 if (nlmsg_len(cb->nlh) < sizeof(struct rtmsg)) in dn_cache_dump()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_router_ipv4_user.c | 127 struct rtmsg *rt_msg; in read_route() 160 rt_msg = (struct rtmsg *)NLMSG_DATA(nh); in read_route() 324 struct rtmsg rt; in get_route_table() 341 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table() 480 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | rtnetlink.h | 221 struct rtmsg { struct 375 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 376 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | rtnetlink.h | 178 struct rtmsg { struct 285 #define RTM_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 286 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct rtmsg))
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | rtnetlink.h | 150 struct rtmsg { struct 253 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 254 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/kernel/linux/linux-5.10/net/phonet/ |
D | pn_netlink.c | 163 struct rtmsg *rtm; in fill_route() 224 struct rtmsg *rtm; in route_doit()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | af_inet6.c | 560 struct in6_rtmsg rtmsg; in inet6_ioctl() local 562 if (copy_from_user(&rtmsg, argp, sizeof(rtmsg))) in inet6_ioctl() 564 return ipv6_route_ioctl(net, cmd, &rtmsg); in inet6_ioctl()
|
D | route.c | 4341 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument 4345 .fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ? in rtmsg_to_fib6_config() 4347 .fc_ifindex = rtmsg->rtmsg_ifindex, in rtmsg_to_fib6_config() 4348 .fc_metric = rtmsg->rtmsg_metric ? : IP6_RT_PRIO_USER, in rtmsg_to_fib6_config() 4349 .fc_expires = rtmsg->rtmsg_info, in rtmsg_to_fib6_config() 4350 .fc_dst_len = rtmsg->rtmsg_dst_len, in rtmsg_to_fib6_config() 4351 .fc_src_len = rtmsg->rtmsg_src_len, in rtmsg_to_fib6_config() 4352 .fc_flags = rtmsg->rtmsg_flags, in rtmsg_to_fib6_config() 4353 .fc_type = rtmsg->rtmsg_type, in rtmsg_to_fib6_config() 4357 .fc_dst = rtmsg->rtmsg_dst, in rtmsg_to_fib6_config() [all …]
|
D | ip6mr.c | 2256 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route() 2331 struct rtmsg *rtm; in ip6mr_fill_mroute() 2381 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | fib_frontend.c | 728 struct rtmsg *rtm; in rtm_to_fib_config() 757 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config() 902 struct rtmsg *rtm; in ip_valid_fib_dump_req() 986 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet_dump_fib() 987 struct rtmsg *rtm = nlmsg_data(nlh); in inet_dump_fib()
|
D | ipmr.c | 2234 struct rtmsg *rtm, u32 portid) in ipmr_get_route() 2301 struct rtmsg *rtm; in ipmr_fill_mroute() 2351 NLMSG_ALIGN(sizeof(struct rtmsg)) in mroute_msgsize() 2465 struct rtmsg *rtm; in ipmr_rtm_valid_getroute_req() 2647 struct rtmsg *rtm; in rtm_to_ipmr_mfcc() 2666 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()
|
/kernel/linux/linux-5.10/net/mpls/ |
D | af_mpls.c | 1815 struct rtmsg *rtm; in rtm_to_route_config() 1997 struct rtmsg *rtm; in mpls_dump_route() 2116 struct rtmsg *rtm; in mpls_valid_fib_dump_req() 2246 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size() 2312 struct rtmsg *rtm; in mpls_valid_getroute_req() 2377 struct rtmsg *rtm, *r; in mpls_getroute()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | udpgso.c | 363 struct rtmsg *rt; in set_route_mtu()
|