Symbol: rtmsg
include/linux/mroute.h
91
struct rtmsg;
include/linux/mroute.h
94
struct rtmsg *rtm, u32 portid);
include/linux/mroute6.h
103
struct rtmsg;
include/linux/mroute6.h
105
struct rtmsg *rtm, u32 portid);
include/linux/mroute_base.h
296
struct mr_mfc *c, struct rtmsg *rtm);
include/linux/mroute_base.h
348
struct mr_mfc *c, struct rtmsg *rtm)
include/net/ip6_route.h
124
struct in6_rtmsg *rtmsg);
include/uapi/linux/rtnetlink.h
407
#define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
include/uapi/linux/rtnetlink.h
408
#define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
net/ipv4/fib_frontend.c
1032
} else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) {
net/ipv4/fib_frontend.c
1033
struct rtmsg *rtm = nlmsg_data(nlh);
net/ipv4/fib_frontend.c
742
struct rtmsg *rtm;
net/ipv4/fib_frontend.c
779
nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) {
net/ipv4/fib_frontend.c
947
struct rtmsg *rtm;
net/ipv4/fib_semantics.c
1724
struct rtmsg *rtm;
net/ipv4/fib_semantics.c
495
size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv4/ipmr.c
2448
struct rtmsg *rtm, u32 portid)
net/ipv4/ipmr.c
2511
struct rtmsg *rtm;
net/ipv4/ipmr.c
2561
NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv4/ipmr.c
2673
struct rtmsg *rtm;
net/ipv4/ipmr.c
2868
struct rtmsg *rtm;
net/ipv4/ipmr.c
2886
nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), rem) {
net/ipv4/ipmr_base.c
217
struct mr_mfc *c, struct rtmsg *rtm)
net/ipv4/route.c
2949
struct rtmsg *r;
net/ipv4/route.c
3221
struct rtmsg *rtm;
net/ipv4/route.c
3296
struct rtmsg *rtm;
net/ipv6/af_inet6.c
557
struct in6_rtmsg rtmsg;
net/ipv6/af_inet6.c
559
if (copy_from_user(&rtmsg, argp, sizeof(rtmsg)))
net/ipv6/af_inet6.c
561
return ipv6_route_ioctl(net, cmd, &rtmsg);
net/ipv6/ip6_fib.c
651
} else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) {
net/ipv6/ip6_fib.c
652
struct rtmsg *rtm = nlmsg_data(nlh);
net/ipv6/ip6mr.c
2461
int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm,
net/ipv6/ip6mr.c
2538
struct rtmsg *rtm;
net/ipv6/ip6mr.c
2588
NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv6/ip6mr.c
2705
struct rtmsg *rtm;
net/ipv6/route.c
4556
struct in6_rtmsg *rtmsg,
net/ipv6/route.c
4560
.fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ?
net/ipv6/route.c
4562
.fc_ifindex = rtmsg->rtmsg_ifindex,
net/ipv6/route.c
4563
.fc_metric = rtmsg->rtmsg_metric,
net/ipv6/route.c
4564
.fc_expires = rtmsg->rtmsg_info,
net/ipv6/route.c
4565
.fc_dst_len = rtmsg->rtmsg_dst_len,
net/ipv6/route.c
4566
.fc_src_len = rtmsg->rtmsg_src_len,
net/ipv6/route.c
4567
.fc_flags = rtmsg->rtmsg_flags,
net/ipv6/route.c
4568
.fc_type = rtmsg->rtmsg_type,
net/ipv6/route.c
4572
.fc_dst = rtmsg->rtmsg_dst,
net/ipv6/route.c
4573
.fc_src = rtmsg->rtmsg_src,
net/ipv6/route.c
4574
.fc_gateway = rtmsg->rtmsg_gateway,
net/ipv6/route.c
4578
int ipv6_route_ioctl(struct net *net, unsigned int cmd, struct in6_rtmsg *rtmsg)
net/ipv6/route.c
4588
rtmsg_to_fib6_config(net, rtmsg, &cfg);
net/ipv6/route.c
5187
struct rtmsg *rtm;
net/ipv6/route.c
5729
return NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv6/route.c
5785
struct rtmsg *rtm;
net/ipv6/route.c
6143
struct rtmsg *rtm;
net/ipv6/route.c
6223
struct rtmsg *rtm;
net/mctp/route.c
1411
struct nlattr **tb, struct rtmsg **rtm,
net/mctp/route.c
1421
rc = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX,
net/mctp/route.c
1499
struct rtmsg *rtm;
net/mctp/route.c
1536
struct rtmsg *rtm;
net/mctp/route.c
1637
struct rtmsg *hdr;
net/mpls/af_mpls.c
1853
struct rtmsg *rtm;
net/mpls/af_mpls.c
2041
struct rtmsg *rtm;
net/mpls/af_mpls.c
2160
struct rtmsg *rtm;
net/mpls/af_mpls.c
2293
NLMSG_ALIGN(sizeof(struct rtmsg))
net/mpls/af_mpls.c
2358
struct rtmsg *rtm;
net/mpls/af_mpls.c
2424
struct rtmsg *rtm, *r;
net/phonet/pn_netlink.c
176
struct rtmsg *rtm;
net/phonet/pn_netlink.c
208
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct rtmsg)) +
net/phonet/pn_netlink.c
238
struct rtmsg *rtm;
samples/bpf/xdp_router_ipv4_user.c
118
rt_msg = (struct rtmsg *)NLMSG_DATA(nh);
samples/bpf/xdp_router_ipv4_user.c
263
struct rtmsg rt;
samples/bpf/xdp_router_ipv4_user.c
280
req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
samples/bpf/xdp_router_ipv4_user.c
416
req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
samples/bpf/xdp_router_ipv4_user.c
96
struct rtmsg *rt_msg;
tools/include/uapi/linux/rtnetlink.h
407
#define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
tools/include/uapi/linux/rtnetlink.h
408
#define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
tools/testing/selftests/net/forwarding/ipmr.c
137
struct rtmsg rtm;
tools/testing/selftests/net/ipsec.c
432
struct rtmsg rt;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
250
struct rtmsg rt;
tools/testing/selftests/net/tuntap_helpers.h
114
static inline void fill_route_req_header(struct rtmsg *rtm, int family,