/openbmc/linux/include/linux/ |
H A D | mroute.h | 91 struct rtmsg; 94 struct rtmsg *rtm, u32 portid);
|
H A D | mroute6.h | 96 struct rtmsg; 98 struct rtmsg *rtm, u32 portid);
|
H A D | mroute_base.h | 289 struct mr_mfc *c, struct rtmsg *rtm); 341 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
|
/openbmc/linux/net/phonet/ |
H A D | pn_netlink.c | 163 struct rtmsg *rtm; in fill_route() 196 skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct rtmsg)) + in rtm_phonet_notify() 224 struct rtmsg *rtm; in route_doit()
|
/openbmc/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()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/ |
H A D | ifmetric.c_netlink-invalid-arg.patch | 11 l = NLMSG_PAYLOAD(n, sizeof(struct rtmsg));
|
/openbmc/linux/include/uapi/linux/ |
H A D | rtnetlink.h | 237 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))
|
/openbmc/linux/net/mctp/ |
H A D | route.c | 1202 struct nlattr **tb, struct rtmsg **rtm, in mctp_route_nlparse() 1210 rc = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, in mctp_route_nlparse() 1263 struct rtmsg *rtm; in mctp_newroute() 1298 struct rtmsg *rtm; in mctp_delroute() 1318 struct rtmsg *hdr; in mctp_fill_rtinfo()
|
/openbmc/phosphor-networkd/src/ |
H A D | rtnetlink_server.cpp | 134 performRequest(NETLINK_ROUTE, RTM_GETROUTE, NLM_F_DUMP, rtmsg{}, cb);
|
H A D | rtnetlink.cpp | 119 const auto& rtm = extractRtData<rtmsg>(msg); in gatewayFromRtm()
|
/openbmc/inarp/ |
H A D | inarp.c | 222 struct rtgenmsg rtmsg; in init_netlink() member 249 msg.rtmsg.rtgen_family = AF_UNSPEC; in init_netlink()
|
/openbmc/linux/net/ipv6/ |
H A D | af_inet6.c | 571 struct in6_rtmsg rtmsg; in inet6_ioctl() local 573 if (copy_from_user(&rtmsg, argp, sizeof(rtmsg))) in inet6_ioctl() 575 return ipv6_route_ioctl(net, cmd, &rtmsg); in inet6_ioctl()
|
H A D | route.c | 4434 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument 4438 .fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ? in rtmsg_to_fib6_config() 4440 .fc_ifindex = rtmsg->rtmsg_ifindex, in rtmsg_to_fib6_config() 4441 .fc_metric = rtmsg->rtmsg_metric, in rtmsg_to_fib6_config() 4442 .fc_expires = rtmsg->rtmsg_info, in rtmsg_to_fib6_config() 4443 .fc_dst_len = rtmsg->rtmsg_dst_len, in rtmsg_to_fib6_config() 4444 .fc_src_len = rtmsg->rtmsg_src_len, in rtmsg_to_fib6_config() 4445 .fc_flags = rtmsg->rtmsg_flags, in rtmsg_to_fib6_config() 4446 .fc_type = rtmsg->rtmsg_type, in rtmsg_to_fib6_config() 4450 .fc_dst = rtmsg->rtmsg_dst, in rtmsg_to_fib6_config() [all …]
|
H A D | ip6mr.c | 2287 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route() 2364 struct rtmsg *rtm; in ip6mr_fill_mroute() 2414 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize() 2533 struct rtmsg *rtm; in ip6mr_rtm_valid_getroute_req()
|
H A D | ip6_fib.c | 637 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet6_dump_fib() 638 struct rtmsg *rtm = nlmsg_data(nlh); in inet6_dump_fib()
|
/openbmc/linux/net/ipv4/ |
H A D | fib_frontend.c | 734 struct rtmsg *rtm; in rtm_to_fib_config() 771 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config() 916 struct rtmsg *rtm; in ip_valid_fib_dump_req() 1000 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet_dump_fib() 1001 struct rtmsg *rtm = nlmsg_data(nlh); in inet_dump_fib()
|
H A D | ipmr.c | 2270 struct rtmsg *rtm, u32 portid) in ipmr_get_route() 2333 struct rtmsg *rtm; in ipmr_fill_mroute() 2383 NLMSG_ALIGN(sizeof(struct rtmsg)) in mroute_msgsize() 2497 struct rtmsg *rtm; in ipmr_rtm_valid_getroute_req() 2679 struct rtmsg *rtm; in rtm_to_ipmr_mfcc() 2698 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), rem) { in rtm_to_ipmr_mfcc()
|
H A D | ipmr_base.c | 209 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
|
H A D | fib_semantics.c | 467 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size() 1786 struct rtmsg *rtm; in fib_dump_info()
|
H A D | route.c | 2937 struct rtmsg *r; in rt_fill_info() 3210 struct rtmsg *rtm; in inet_rtm_valid_getroute_req() 3285 struct rtmsg *rtm; in inet_rtm_getroute()
|
/openbmc/linux/net/mpls/ |
H A D | af_mpls.c | 1796 struct rtmsg *rtm; in rtm_to_route_config() 1978 struct rtmsg *rtm; in mpls_dump_route() 2097 struct rtmsg *rtm; in mpls_valid_fib_dump_req() 2223 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size() 2289 struct rtmsg *rtm; in mpls_valid_getroute_req() 2355 struct rtmsg *rtm, *r; in mpls_getroute()
|
/openbmc/linux/include/net/ |
H A D | ip6_route.h | 118 struct in6_rtmsg *rtmsg);
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | udpgso.c | 363 struct rtmsg *rt; in set_route_mtu()
|
H A D | ipsec.c | 430 struct rtmsg rt; in ip4_route_set()
|
/openbmc/qemu/linux-user/ |
H A D | fd-trans.c | 1238 struct rtmsg *rtm; in host_to_target_data_route() 1461 struct rtmsg *rtm; in target_to_host_data_route()
|