Searched refs:rtmsg (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/include/net/
H A Ddn_fib.h80 int (*insert)(struct dn_fib_table *t, struct rtmsg *r,
83 int (*delete)(struct dn_fib_table *t, struct rtmsg *r,
102 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r,
/linux-4.4.14/include/linux/
H A Dmroute.h103 struct rtmsg;
106 struct rtmsg *rtm, int nowait);
H A Dmroute6.h116 struct rtmsg;
118 struct rtmsg *rtm, int nowait);
/linux-4.4.14/net/decnet/
H A Ddn_table.c227 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn_fib_info *fi) dn_fib_nh_match()
274 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) dn_fib_nlmsg_size()
303 struct rtmsg *rtm; dn_fib_dump_info()
497 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && dn_fib_dump()
498 ((struct rtmsg *)nlmsg_data(cb->nlh))->rtm_flags&RTM_F_CLONED) dn_fib_dump()
526 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], dn_fib_table_insert()
663 static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], dn_fib_table_delete()
H A Ddn_fib.c164 const struct rtmsg *r) dn_fib_get_nhs()
191 static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) dn_fib_check_nh()
263 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct nlattr *attrs[], dn_fib_create_info()
505 struct rtmsg *r = nlmsg_data(nlh); dn_fib_rtm_delroute()
530 struct rtmsg *r = nlmsg_data(nlh); dn_fib_rtm_newroute()
556 struct rtmsg rtm; fib_magic()
H A Ddn_route.c1559 struct rtmsg *r; dn_rt_fill_info()
1646 struct rtmsg *rtm = nlmsg_data(nlh); dn_cache_getroute()
1734 struct rtmsg *rtm; dn_cache_dump()
1739 if (nlmsg_len(cb->nlh) < sizeof(struct rtmsg)) dn_cache_dump()
/linux-4.4.14/net/phonet/
H A Dpn_netlink.c174 struct rtmsg *rtm; fill_route()
234 struct rtmsg *rtm; route_doit()
/linux-4.4.14/net/ipv6/
H A Droute.c2382 struct in6_rtmsg *rtmsg, rtmsg_to_fib6_config()
2387 cfg->fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ? rtmsg_to_fib6_config()
2389 cfg->fc_ifindex = rtmsg->rtmsg_ifindex; rtmsg_to_fib6_config()
2390 cfg->fc_metric = rtmsg->rtmsg_metric; rtmsg_to_fib6_config()
2391 cfg->fc_expires = rtmsg->rtmsg_info; rtmsg_to_fib6_config()
2392 cfg->fc_dst_len = rtmsg->rtmsg_dst_len; rtmsg_to_fib6_config()
2393 cfg->fc_src_len = rtmsg->rtmsg_src_len; rtmsg_to_fib6_config()
2394 cfg->fc_flags = rtmsg->rtmsg_flags; rtmsg_to_fib6_config()
2398 cfg->fc_dst = rtmsg->rtmsg_dst; rtmsg_to_fib6_config()
2399 cfg->fc_src = rtmsg->rtmsg_src; rtmsg_to_fib6_config()
2400 cfg->fc_gateway = rtmsg->rtmsg_gateway; rtmsg_to_fib6_config()
2406 struct in6_rtmsg rtmsg; ipv6_route_ioctl() local
2414 err = copy_from_user(&rtmsg, arg, ipv6_route_ioctl()
2419 rtmsg_to_fib6_config(net, &rtmsg, &cfg); ipv6_route_ioctl()
2708 struct rtmsg *rtm; rtm_to_fib6_config()
3031 return NLMSG_ALIGN(sizeof(struct rtmsg)) rt6_nlmsg_size()
3054 struct rtmsg *rtm; rt6_fill_node()
3212 if (nlmsg_len(arg->cb->nlh) >= sizeof(struct rtmsg)) { rt6_dump_route()
3213 struct rtmsg *rtm = nlmsg_data(arg->cb->nlh); rt6_dump_route()
3230 struct rtmsg *rtm; inet6_rtm_getroute()
2381 rtmsg_to_fib6_config(struct net *net, struct in6_rtmsg *rtmsg, struct fib6_config *cfg) rtmsg_to_fib6_config() argument
H A Dip6mr.c116 struct mfc6_cache *c, struct rtmsg *rtm);
2233 struct mfc6_cache *c, struct rtmsg *rtm) __ip6mr_fill_mroute()
2279 struct sk_buff *skb, struct rtmsg *rtm, int nowait) ip6mr_get_route()
2360 struct rtmsg *rtm; ip6mr_fill_mroute()
2402 NLMSG_ALIGN(sizeof(struct rtmsg)) mr6_msgsize()
/linux-4.4.14/include/uapi/linux/
H A Drtnetlink.h182 struct rtmsg { struct
319 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
320 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
/linux-4.4.14/net/ipv4/
H A Dfib_frontend.c637 struct rtmsg *rtm; rtm_to_fib_config()
664 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { nlmsg_for_each_attr() argument
762 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && inet_dump_fib()
763 ((struct rtmsg *) nlmsg_data(cb->nlh))->rtm_flags & RTM_F_CLONED) inet_dump_fib()
H A Dipmr.c134 struct mfc_cache *c, struct rtmsg *rtm);
2147 struct mfc_cache *c, struct rtmsg *rtm) __ipmr_fill_mroute()
2193 struct rtmsg *rtm, int nowait) ipmr_get_route()
2265 struct rtmsg *rtm; ipmr_fill_mroute()
2307 NLMSG_ALIGN(sizeof(struct rtmsg)) mroute_msgsize()
H A Dfib_semantics.c360 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) fib_nlmsg_size()
1220 struct rtmsg *rtm; fib_dump_info()
H A Droute.c2416 struct rtmsg *r; rt_fill_info()
2527 struct rtmsg *rtm; inet_rtm_getroute()
/linux-4.4.14/net/mpls/
H A Daf_mpls.c1099 struct rtmsg *rtm; rtm_to_route_config()
1225 struct rtmsg *rtm; mpls_dump_route()
1333 NLMSG_ALIGN(sizeof(struct rtmsg)) lfib_nlmsg_size()

Completed in 499 milliseconds