Home
last modified time | relevance | path

Searched refs:rtmsg (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/include/linux/
A Dmroute.h84 struct rtmsg;
87 struct rtmsg *rtm, u32 portid);
A Dmroute6.h96 struct rtmsg;
98 struct rtmsg *rtm, u32 portid);
A Dmroute_base.h289 struct mr_mfc *c, struct rtmsg *rtm);
341 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
/linux-6.3-rc2/samples/bpf/
A Dxdp_router_ipv4_user.c96 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-6.3-rc2/include/uapi/linux/
A Drtnetlink.h237 struct rtmsg { struct
397 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
398 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
/linux-6.3-rc2/net/phonet/
A Dpn_netlink.c163 struct rtmsg *rtm; in fill_route()
224 struct rtmsg *rtm; in route_doit()
/linux-6.3-rc2/net/mctp/
A Droute.c1167 struct nlattr **tb, struct rtmsg **rtm, in mctp_route_nlparse()
1175 rc = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, in mctp_route_nlparse()
1228 struct rtmsg *rtm; in mctp_newroute()
1266 struct rtmsg *rtm; in mctp_delroute()
1286 struct rtmsg *hdr; in mctp_fill_rtinfo()
/linux-6.3-rc2/net/ipv6/
A Daf_inet6.c565 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()
A Droute.c4423 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument
4429 .fc_ifindex = rtmsg->rtmsg_ifindex, in rtmsg_to_fib6_config()
4431 .fc_expires = rtmsg->rtmsg_info, in rtmsg_to_fib6_config()
4434 .fc_flags = rtmsg->rtmsg_flags, in rtmsg_to_fib6_config()
4435 .fc_type = rtmsg->rtmsg_type, in rtmsg_to_fib6_config()
4439 .fc_dst = rtmsg->rtmsg_dst, in rtmsg_to_fib6_config()
4440 .fc_src = rtmsg->rtmsg_src, in rtmsg_to_fib6_config()
4993 struct rtmsg *rtm; in rtm_to_fib6_config()
5607 struct rtmsg *rtm; in rt6_fill_node()
5949 struct rtmsg *rtm; in inet6_rtm_valid_getroute_req()
[all …]
A Dip6mr.c2283 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route()
2358 struct rtmsg *rtm; in ip6mr_fill_mroute()
2408 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize()
2527 struct rtmsg *rtm; in ip6mr_rtm_valid_getroute_req()
A Dip6_fib.c637 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet6_dump_fib()
638 struct rtmsg *rtm = nlmsg_data(nlh); in inet6_dump_fib()
/linux-6.3-rc2/net/ipv4/
A Dfib_frontend.c731 struct rtmsg *rtm; in rtm_to_fib_config()
768 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config()
913 struct rtmsg *rtm; in ip_valid_fib_dump_req()
997 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet_dump_fib()
998 struct rtmsg *rtm = nlmsg_data(nlh); in inet_dump_fib()
A Dipmr.c2243 struct rtmsg *rtm, u32 portid) in ipmr_get_route()
2304 struct rtmsg *rtm; in ipmr_fill_mroute()
2354 NLMSG_ALIGN(sizeof(struct rtmsg)) in mroute_msgsize()
2468 struct rtmsg *rtm; in ipmr_rtm_valid_getroute_req()
2650 struct rtmsg *rtm; in rtm_to_ipmr_mfcc()
2669 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), rem) { in rtm_to_ipmr_mfcc()
A Dipmr_base.c209 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
A Dfib_semantics.c466 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size()
1780 struct rtmsg *rtm; in fib_dump_info()
A Droute.c2943 struct rtmsg *r; in rt_fill_info()
3216 struct rtmsg *rtm; in inet_rtm_valid_getroute_req()
3291 struct rtmsg *rtm; in inet_rtm_getroute()
/linux-6.3-rc2/net/mpls/
A Daf_mpls.c1810 struct rtmsg *rtm; in rtm_to_route_config()
1992 struct rtmsg *rtm; in mpls_dump_route()
2111 struct rtmsg *rtm; in mpls_valid_fib_dump_req()
2237 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size()
2303 struct rtmsg *rtm; in mpls_valid_getroute_req()
2369 struct rtmsg *rtm, *r; in mpls_getroute()
/linux-6.3-rc2/include/net/
A Dip6_route.h118 struct in6_rtmsg *rtmsg);
/linux-6.3-rc2/tools/testing/selftests/net/
A Dudpgso.c363 struct rtmsg *rt; in set_route_mtu()
A Dipsec.c430 struct rtmsg rt; in ip4_route_set()

Completed in 66 milliseconds