Home
last modified time | relevance | path

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

/linux/include/net/
A Ddn_fib.h82 int (*insert)(struct dn_fib_table *t, struct rtmsg *r,
85 int (*delete)(struct dn_fib_table *t, struct rtmsg *r,
104 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r,
A Dip6_route.h122 struct in6_rtmsg *rtmsg);
/linux/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.h284 struct mr_mfc *c, struct rtmsg *rtm);
336 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
/linux/net/decnet/
A Ddn_table.c229 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn… in dn_fib_nh_match()
276 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in dn_fib_nlmsg_size()
305 struct rtmsg *rtm; in dn_fib_dump_info()
500 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && in dn_fib_dump()
501 ((struct rtmsg *)nlmsg_data(cb->nlh))->rtm_flags&RTM_F_CLONED) in dn_fib_dump()
529 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_insert()
666 static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_delete()
A Ddn_fib.c164 const struct rtmsg *r) in dn_fib_get_nhs()
194 static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) in dn_fib_check_nh()
266 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct nlattr *attrs[], in dn_fib_create_info()
509 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_delroute()
536 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_newroute()
563 struct rtmsg rtm; in fib_magic()
A Ddn_route.c1550 struct rtmsg *r; in dn_rt_fill_info()
1638 struct rtmsg *rtm = nlmsg_data(nlh); in dn_cache_getroute()
1727 struct rtmsg *rtm; in dn_cache_dump()
1732 if (nlmsg_len(cb->nlh) < sizeof(struct rtmsg)) in dn_cache_dump()
/linux/samples/bpf/
A Dxdp_router_ipv4_user.c127 struct rtmsg *rt_msg; in read_route()
160 rt_msg = (struct rtmsg *)NLMSG_DATA(nh); in read_route()
328 struct rtmsg rt; in get_route_table()
345 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table()
495 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table()
/linux/include/uapi/linux/
A Drtnetlink.h228 struct rtmsg { struct
388 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
389 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
/linux/net/phonet/
A Dpn_netlink.c163 struct rtmsg *rtm; in fill_route()
224 struct rtmsg *rtm; in route_doit()
/linux/net/mctp/
A Droute.c1088 struct nlattr **tb, struct rtmsg **rtm, in mctp_route_nlparse()
1096 rc = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, in mctp_route_nlparse()
1149 struct rtmsg *rtm; in mctp_newroute()
1187 struct rtmsg *rtm; in mctp_delroute()
1207 struct rtmsg *hdr; in mctp_fill_rtinfo()
/linux/net/ipv6/
A Daf_inet6.c563 struct in6_rtmsg rtmsg; in inet6_ioctl() local
565 if (copy_from_user(&rtmsg, argp, sizeof(rtmsg))) in inet6_ioctl()
567 return ipv6_route_ioctl(net, cmd, &rtmsg); in inet6_ioctl()
A Droute.c4454 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument
4460 .fc_ifindex = rtmsg->rtmsg_ifindex, in rtmsg_to_fib6_config()
4462 .fc_expires = rtmsg->rtmsg_info, in rtmsg_to_fib6_config()
4465 .fc_flags = rtmsg->rtmsg_flags, in rtmsg_to_fib6_config()
4466 .fc_type = rtmsg->rtmsg_type, in rtmsg_to_fib6_config()
4470 .fc_dst = rtmsg->rtmsg_dst, in rtmsg_to_fib6_config()
4471 .fc_src = rtmsg->rtmsg_src, in rtmsg_to_fib6_config()
5013 struct rtmsg *rtm; in rtm_to_fib6_config()
5620 struct rtmsg *rtm; in rt6_fill_node()
5962 struct rtmsg *rtm; in inet6_rtm_valid_getroute_req()
[all …]
A Dip6mr.c2255 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route()
2330 struct rtmsg *rtm; in ip6mr_fill_mroute()
2380 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize()
A Dip6_fib.c636 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet6_dump_fib()
637 struct rtmsg *rtm = nlmsg_data(nlh); in inet6_dump_fib()
/linux/net/ipv4/
A Dfib_frontend.c728 struct rtmsg *rtm; in rtm_to_fib_config()
757 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config()
899 struct rtmsg *rtm; in ip_valid_fib_dump_req()
983 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet_dump_fib()
984 struct rtmsg *rtm = nlmsg_data(nlh); in inet_dump_fib()
A Dipmr.c2234 struct rtmsg *rtm, u32 portid) in ipmr_get_route()
2301 struct rtmsg *rtm; in ipmr_fill_mroute()
2351 NLMSG_ALIGN(sizeof(struct rtmsg)) in mroute_msgsize()
2465 struct rtmsg *rtm; in ipmr_rtm_valid_getroute_req()
2647 struct rtmsg *rtm; in rtm_to_ipmr_mfcc()
2666 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.c455 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size()
1780 struct rtmsg *rtm; in fib_dump_info()
A Droute.c2920 struct rtmsg *r; in rt_fill_info()
3193 struct rtmsg *rtm; in inet_rtm_valid_getroute_req()
3268 struct rtmsg *rtm; in inet_rtm_getroute()
/linux/net/mpls/
A Daf_mpls.c1807 struct rtmsg *rtm; in rtm_to_route_config()
1989 struct rtmsg *rtm; in mpls_dump_route()
2108 struct rtmsg *rtm; in mpls_valid_fib_dump_req()
2234 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size()
2300 struct rtmsg *rtm; in mpls_valid_getroute_req()
2365 struct rtmsg *rtm, *r; in mpls_getroute()
/linux/tools/testing/selftests/net/
A Dudpgso.c363 struct rtmsg *rt; in set_route_mtu()
A Dipsec.c392 struct rtmsg rt; in ip4_route_set()

Completed in 70 milliseconds