Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dmroute.h91 struct rtmsg;
94 struct rtmsg *rtm, u32 portid);
H A Dmroute6.h96 struct rtmsg;
98 struct rtmsg *rtm, u32 portid);
H A Dmroute_base.h289 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 Dpn_netlink.c163 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 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()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/
H A Difmetric.c_netlink-invalid-arg.patch11 l = NLMSG_PAYLOAD(n, sizeof(struct rtmsg));
/openbmc/linux/include/uapi/linux/
H 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))
/openbmc/linux/net/mctp/
H A Droute.c1202 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 Drtnetlink_server.cpp134 performRequest(NETLINK_ROUTE, RTM_GETROUTE, NLM_F_DUMP, rtmsg{}, cb);
H A Drtnetlink.cpp119 const auto& rtm = extractRtData<rtmsg>(msg); in gatewayFromRtm()
/openbmc/inarp/
H A Dinarp.c222 struct rtgenmsg rtmsg; in init_netlink() member
249 msg.rtmsg.rtgen_family = AF_UNSPEC; in init_netlink()
/openbmc/linux/net/ipv6/
H A Daf_inet6.c571 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 Droute.c4434 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 Dip6mr.c2287 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 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()
/openbmc/linux/net/ipv4/
H A Dfib_frontend.c734 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 Dipmr.c2270 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 Dipmr_base.c209 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
H A Dfib_semantics.c467 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size()
1786 struct rtmsg *rtm; in fib_dump_info()
H A Droute.c2937 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 Daf_mpls.c1796 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 Dip6_route.h118 struct in6_rtmsg *rtmsg);
/openbmc/linux/tools/testing/selftests/net/
H A Dudpgso.c363 struct rtmsg *rt; in set_route_mtu()
H A Dipsec.c430 struct rtmsg rt; in ip4_route_set()
/openbmc/qemu/linux-user/
H A Dfd-trans.c1238 struct rtmsg *rtm; in host_to_target_data_route()
1461 struct rtmsg *rtm; in target_to_host_data_route()