Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
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/
Dmroute.h103 struct rtmsg;
106 struct rtmsg *rtm, int nowait);
Dmroute6.h116 struct rtmsg;
118 struct rtmsg *rtm, int nowait);
/linux-4.4.14/net/decnet/
Ddn_fib.c164 const struct rtmsg *r) in 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) in dn_fib_check_nh()
263 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct nlattr *attrs[], in dn_fib_create_info()
505 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_delroute()
530 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_newroute()
556 struct rtmsg rtm; in fib_magic()
Ddn_table.c227 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn… in dn_fib_nh_match()
274 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in dn_fib_nlmsg_size()
303 struct rtmsg *rtm; in dn_fib_dump_info()
497 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && in dn_fib_dump()
498 ((struct rtmsg *)nlmsg_data(cb->nlh))->rtm_flags&RTM_F_CLONED) in dn_fib_dump()
526 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_insert()
663 static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_delete()
Ddn_route.c1559 struct rtmsg *r; in dn_rt_fill_info()
1646 struct rtmsg *rtm = nlmsg_data(nlh); in dn_cache_getroute()
1734 struct rtmsg *rtm; in dn_cache_dump()
1739 if (nlmsg_len(cb->nlh) < sizeof(struct rtmsg)) in dn_cache_dump()
/linux-4.4.14/include/uapi/linux/
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/ipv6/
Droute.c2382 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument
2387 cfg->fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ? in rtmsg_to_fib6_config()
2389 cfg->fc_ifindex = rtmsg->rtmsg_ifindex; in rtmsg_to_fib6_config()
2390 cfg->fc_metric = rtmsg->rtmsg_metric; in rtmsg_to_fib6_config()
2391 cfg->fc_expires = rtmsg->rtmsg_info; in rtmsg_to_fib6_config()
2392 cfg->fc_dst_len = rtmsg->rtmsg_dst_len; in rtmsg_to_fib6_config()
2393 cfg->fc_src_len = rtmsg->rtmsg_src_len; in rtmsg_to_fib6_config()
2394 cfg->fc_flags = rtmsg->rtmsg_flags; in rtmsg_to_fib6_config()
2398 cfg->fc_dst = rtmsg->rtmsg_dst; in rtmsg_to_fib6_config()
2399 cfg->fc_src = rtmsg->rtmsg_src; in rtmsg_to_fib6_config()
[all …]
Dip6mr.c116 struct mfc6_cache *c, struct rtmsg *rtm);
2233 struct mfc6_cache *c, struct rtmsg *rtm) in __ip6mr_fill_mroute()
2279 struct sk_buff *skb, struct rtmsg *rtm, int nowait) in ip6mr_get_route()
2360 struct rtmsg *rtm; in ip6mr_fill_mroute()
2402 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize()
/linux-4.4.14/net/phonet/
Dpn_netlink.c174 struct rtmsg *rtm; in fill_route()
234 struct rtmsg *rtm; in route_doit()
/linux-4.4.14/net/ipv4/
Dfib_frontend.c637 struct rtmsg *rtm; in rtm_to_fib_config()
664 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config()
762 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && in inet_dump_fib()
763 ((struct rtmsg *) nlmsg_data(cb->nlh))->rtm_flags & RTM_F_CLONED) in inet_dump_fib()
Dipmr.c134 struct mfc_cache *c, struct rtmsg *rtm);
2147 struct mfc_cache *c, struct rtmsg *rtm) in __ipmr_fill_mroute()
2193 struct rtmsg *rtm, int nowait) in ipmr_get_route()
2265 struct rtmsg *rtm; in ipmr_fill_mroute()
2307 NLMSG_ALIGN(sizeof(struct rtmsg)) in mroute_msgsize()
Dfib_semantics.c360 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size()
1220 struct rtmsg *rtm; in fib_dump_info()
Droute.c2416 struct rtmsg *r; in rt_fill_info()
2527 struct rtmsg *rtm; in inet_rtm_getroute()
/linux-4.4.14/net/mpls/
Daf_mpls.c1099 struct rtmsg *rtm; in rtm_to_route_config()
1225 struct rtmsg *rtm; in mpls_dump_route()
1333 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size()