Searched refs:rtmsg (Results 1 – 10 of 10) sorted by relevance
/net/decnet/ |
D | dn_fib.c | 174 static int dn_fib_get_nhs(struct dn_fib_info *fi, const struct rtattr *rta, const struct rtmsg *r) in dn_fib_get_nhs() 198 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() 270 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct dn_kern_rta *rta, const struct… in dn_fib_create_info() 487 static int dn_fib_check_attr(struct rtmsg *r, struct rtattr **rta) in dn_fib_check_attr() 510 struct rtmsg *r = NLMSG_DATA(nlh); in dn_fib_rtm_delroute() 530 struct rtmsg *r = NLMSG_DATA(nlh); in dn_fib_rtm_newroute() 550 struct rtmsg rtm; in fib_magic()
|
D | dn_table.c | 226 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct dn_kern_rta *rta, struct d… in dn_fib_nh_match() 269 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in dn_fib_nlmsg_size() 297 struct rtmsg *rtm; in dn_fib_dump_info() 476 if (NLMSG_PAYLOAD(cb->nlh, 0) >= sizeof(struct rtmsg) && in dn_fib_dump() 477 ((struct rtmsg *)NLMSG_DATA(cb->nlh))->rtm_flags&RTM_F_CLONED) in dn_fib_dump() 505 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct dn_kern_rta *rta, s… in dn_fib_table_insert() 641 static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct dn_kern_rta *rta, s… in dn_fib_table_delete()
|
D | dn_route.c | 1457 struct rtmsg *r; in dn_rt_fill_info() 1516 struct rtmsg *rtm = NLMSG_DATA(nlh); in dn_cache_getroute() 1611 if (NLMSG_PAYLOAD(cb->nlh, 0) < sizeof(struct rtmsg)) in dn_cache_dump() 1613 if (!(((struct rtmsg *)NLMSG_DATA(cb->nlh))->rtm_flags&RTM_F_CLONED)) in dn_cache_dump()
|
/net/ipv6/ |
D | route.c | 1804 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument 1810 cfg->fc_ifindex = rtmsg->rtmsg_ifindex; in rtmsg_to_fib6_config() 1811 cfg->fc_metric = rtmsg->rtmsg_metric; in rtmsg_to_fib6_config() 1812 cfg->fc_expires = rtmsg->rtmsg_info; in rtmsg_to_fib6_config() 1813 cfg->fc_dst_len = rtmsg->rtmsg_dst_len; in rtmsg_to_fib6_config() 1814 cfg->fc_src_len = rtmsg->rtmsg_src_len; in rtmsg_to_fib6_config() 1815 cfg->fc_flags = rtmsg->rtmsg_flags; in rtmsg_to_fib6_config() 1819 ipv6_addr_copy(&cfg->fc_dst, &rtmsg->rtmsg_dst); in rtmsg_to_fib6_config() 1820 ipv6_addr_copy(&cfg->fc_src, &rtmsg->rtmsg_src); in rtmsg_to_fib6_config() 1821 ipv6_addr_copy(&cfg->fc_gateway, &rtmsg->rtmsg_gateway); in rtmsg_to_fib6_config() [all …]
|
D | ip6mr.c | 83 static int ip6mr_fill_mroute(struct sk_buff *skb, struct mfc6_cache *c, struct rtmsg *rtm); 1685 ip6mr_fill_mroute(struct sk_buff *skb, struct mfc6_cache *c, struct rtmsg *rtm) in ip6mr_fill_mroute() 1721 struct sk_buff *skb, struct rtmsg *rtm, int nowait) in ip6mr_get_route()
|
/net/ipv4/ |
D | fib_frontend.c | 515 struct rtmsg *rtm; in rtm_to_fib_config() 542 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config() 635 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && in inet_dump_fib() 636 ((struct rtmsg *) nlmsg_data(cb->nlh))->rtm_flags & RTM_F_CLONED) in inet_dump_fib()
|
D | ipmr.c | 111 static int ipmr_fill_mroute(struct sk_buff *skb, struct mfc_cache *c, struct rtmsg *rtm); 1582 ipmr_fill_mroute(struct sk_buff *skb, struct mfc_cache *c, struct rtmsg *rtm) in ipmr_fill_mroute() 1616 int ipmr_get_route(struct sk_buff *skb, struct rtmsg *rtm, int nowait) in ipmr_get_route()
|
D | fib_semantics.c | 279 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size() 950 struct rtmsg *rtm; in fib_dump_info()
|
D | route.c | 2786 struct rtmsg *r; in rt_fill_info() 2879 struct rtmsg *rtm; in inet_rtm_getroute()
|
/net/core/ |
D | rtnetlink.c | 403 [RTM_FAM(RTM_NEWROUTE)] = NLMSG_LENGTH(sizeof(struct rtmsg)),
|