Searched refs:rtmsg (Results 1 – 12 of 12) sorted by relevance
/net/mctp/ |
D | route.c | 919 struct nlattr **tb, struct rtmsg **rtm, in mctp_route_nlparse() 927 rc = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, in mctp_route_nlparse() 975 struct rtmsg *rtm; in mctp_newroute() 1006 struct rtmsg *rtm; in mctp_delroute() 1026 struct rtmsg *hdr; in mctp_fill_rtinfo()
|
/net/phonet/ |
D | pn_netlink.c | 163 struct rtmsg *rtm; in fill_route() 224 struct rtmsg *rtm; in route_doit()
|
/net/ipv6/ |
D | af_inet6.c | 581 struct in6_rtmsg rtmsg; in inet6_ioctl() local 583 if (copy_from_user(&rtmsg, argp, sizeof(rtmsg))) in inet6_ioctl() 585 return ipv6_route_ioctl(net, cmd, &rtmsg); in inet6_ioctl()
|
D | route.c | 4432 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument 4436 .fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ? in rtmsg_to_fib6_config() 4438 .fc_ifindex = rtmsg->rtmsg_ifindex, in rtmsg_to_fib6_config() 4439 .fc_metric = rtmsg->rtmsg_metric ? : IP6_RT_PRIO_USER, in rtmsg_to_fib6_config() 4440 .fc_expires = rtmsg->rtmsg_info, in rtmsg_to_fib6_config() 4441 .fc_dst_len = rtmsg->rtmsg_dst_len, in rtmsg_to_fib6_config() 4442 .fc_src_len = rtmsg->rtmsg_src_len, in rtmsg_to_fib6_config() 4443 .fc_flags = rtmsg->rtmsg_flags, in rtmsg_to_fib6_config() 4444 .fc_type = rtmsg->rtmsg_type, in rtmsg_to_fib6_config() 4448 .fc_dst = rtmsg->rtmsg_dst, in rtmsg_to_fib6_config() [all …]
|
D | ip6mr.c | 2257 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route() 2332 struct rtmsg *rtm; in ip6mr_fill_mroute() 2382 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize()
|
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()
|
/net/ipv4/ |
D | fib_frontend.c | 731 struct rtmsg *rtm; in rtm_to_fib_config() 760 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config() 905 struct rtmsg *rtm; in ip_valid_fib_dump_req() 989 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet_dump_fib() 990 struct rtmsg *rtm = nlmsg_data(nlh); in inet_dump_fib()
|
D | ipmr.c | 2236 struct rtmsg *rtm, u32 portid) in ipmr_get_route() 2303 struct rtmsg *rtm; in ipmr_fill_mroute() 2353 NLMSG_ALIGN(sizeof(struct rtmsg)) in mroute_msgsize() 2467 struct rtmsg *rtm; in ipmr_rtm_valid_getroute_req() 2649 struct rtmsg *rtm; in rtm_to_ipmr_mfcc() 2668 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), rem) { in rtm_to_ipmr_mfcc()
|
D | ipmr_base.c | 209 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
|
D | fib_semantics.c | 465 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size() 1804 struct rtmsg *rtm; in fib_dump_info()
|
D | route.c | 2955 struct rtmsg *r; in rt_fill_info() 3228 struct rtmsg *rtm; in inet_rtm_valid_getroute_req() 3303 struct rtmsg *rtm; in inet_rtm_getroute()
|
/net/mpls/ |
D | af_mpls.c | 1816 struct rtmsg *rtm; in rtm_to_route_config() 1998 struct rtmsg *rtm; in mpls_dump_route() 2117 struct rtmsg *rtm; in mpls_valid_fib_dump_req() 2247 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size() 2313 struct rtmsg *rtm; in mpls_valid_getroute_req() 2378 struct rtmsg *rtm, *r; in mpls_getroute()
|