| /linux/include/linux/ |
| H A D | mroute.h | 91 struct rtmsg; 94 struct rtmsg *rtm, u32 portid);
|
| H A D | mroute6.h | 103 struct rtmsg; 105 struct rtmsg *rtm, u32 portid);
|
| H A D | mroute_base.h | 294 struct mr_mfc *c, struct rtmsg *rtm); 346 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 96 struct rtmsg *rt_msg; in read_route() 118 rt_msg = (struct rtmsg *)NLMSG_DATA(nh); in read_route() 263 struct rtmsg rt; in get_route_table() 280 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table() 416 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table()
|
| /linux/net/phonet/ |
| H A D | pn_netlink.c | 176 struct rtmsg *rtm; in fill_route() 208 skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct rtmsg)) + in rtm_phonet_notify() 238 struct rtmsg *rtm; in route_doit()
|
| /linux/include/uapi/linux/ |
| H A D | rtnetlink.h | 245 struct rtmsg { struct 407 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 408 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
| /linux/tools/include/uapi/linux/ |
| H A D | rtnetlink.h | 245 struct rtmsg { struct 407 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 408 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
| /linux/net/ipv6/ |
| H A D | af_inet6.c | 565 struct in6_rtmsg rtmsg; in inet6_ioctl() local 567 if (copy_from_user(&rtmsg, argp, sizeof(rtmsg))) in inet6_ioctl() 569 return ipv6_route_ioctl(net, cmd, &rtmsg); in inet6_ioctl()
|
| H A D | route.c | 4541 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument 4545 .fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ? in rtmsg_to_fib6_config() 4547 .fc_ifindex = rtmsg->rtmsg_ifindex, in rtmsg_to_fib6_config() 4548 .fc_metric = rtmsg->rtmsg_metric, in rtmsg_to_fib6_config() 4549 .fc_expires = rtmsg->rtmsg_info, in rtmsg_to_fib6_config() 4550 .fc_dst_len = rtmsg->rtmsg_dst_len, in rtmsg_to_fib6_config() 4551 .fc_src_len = rtmsg->rtmsg_src_len, in rtmsg_to_fib6_config() 4552 .fc_flags = rtmsg->rtmsg_flags, in rtmsg_to_fib6_config() 4553 .fc_type = rtmsg->rtmsg_type, in rtmsg_to_fib6_config() 4557 .fc_dst = rtmsg->rtmsg_dst, in rtmsg_to_fib6_config() [all …]
|
| H A D | ip6mr.c | 2418 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route() 2495 struct rtmsg *rtm; in ip6mr_fill_mroute() 2545 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize() 2663 struct rtmsg *rtm; in ip6mr_rtm_valid_getroute_req()
|
| H A D | ip6_fib.c | 649 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet6_dump_fib() 650 struct rtmsg *rtm = nlmsg_data(nlh); in inet6_dump_fib()
|
| /linux/net/mctp/ |
| H A D | route.c | 1415 struct nlattr **tb, struct rtmsg **rtm, in mctp_route_nlparse_common() 1425 rc = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, in mctp_route_nlparse_common() 1503 struct rtmsg *rtm; in mctp_route_nlparse_lookup() 1540 struct rtmsg *rtm; in mctp_route_nlparse_populate() 1641 struct rtmsg *hdr; in mctp_fill_rtinfo()
|
| /linux/net/mpls/ |
| H A D | af_mpls.c | 1839 struct rtmsg *rtm; in rtm_to_route_config() 2027 struct rtmsg *rtm; in mpls_dump_route() 2146 struct rtmsg *rtm; in mpls_valid_fib_dump_req() 2279 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size() 2344 struct rtmsg *rtm; in mpls_valid_getroute_req() 2410 struct rtmsg *rtm, *r; in mpls_getroute()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | netlink.c | 250 struct rtmsg rt; in __ip_route_add()
|
| /linux/net/ipv4/ |
| H A D | ipmr_base.c | 209 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
|
| H A D | fib_semantics.c | 496 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size() 1729 struct rtmsg *rtm; in fib_dump_info()
|
| H A D | route.c | 2954 struct rtmsg *r; in rt_fill_info() 3226 struct rtmsg *rtm; in inet_rtm_valid_getroute_req() 3301 struct rtmsg *rtm; in inet_rtm_getroute()
|
| /linux/tools/testing/selftests/net/ |
| H A D | ipsec.c | 435 struct rtmsg rt; in ip4_route_set()
|