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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Ddn_fib.h100 int (*insert)(struct dn_fib_table *t, struct rtmsg *r,
103 int (*delete)(struct dn_fib_table *t, struct rtmsg *r,
123 extern struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/
H A Dnetlink.c55 struct rtmsg *rtm = (struct rtmsg *)NLMSG_DATA(nlm);
215 struct rtmsg *rt_msg;
217 NLMSG_ALIGN (sizeof (struct rtmsg))];
233 rt_msg = (struct rtmsg *)NLMSG_DATA(nlm_hdr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dmroute.h222 struct rtmsg;
223 extern int ipmr_get_route(struct sk_buff *skb, struct rtmsg *rtm, int nowait);
H A Dmroute6.h234 struct rtmsg;
235 extern int ip6mr_get_route(struct sk_buff *skb, struct rtmsg *rtm, int nowait);
H A Drtnetlink.h141 struct rtmsg struct
271 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
272 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Diprule.c49 struct rtmsg *r = NLMSG_DATA(n);
203 struct rtmsg r;
211 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
H A Diproute.c86 struct rtmsg *r = NLMSG_DATA(n);
321 struct rtmsg r;
333 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
479 struct rtmsg rtm;
683 struct rtmsg r;
697 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
789 struct rtmsg *r = NLMSG_DATA(&req.n);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/
H A Diprule.c51 struct rtmsg *r = NLMSG_DATA(n);
195 struct rtmsg r;
202 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
303 struct rtmsg *r = NLMSG_DATA(n);
H A Diproute.c119 struct rtmsg *r = NLMSG_DATA(n);
617 int parse_nexthops(struct nlmsghdr *n, struct rtmsg *r, int argc, char **argv)
653 struct rtmsg r;
670 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
950 struct rtmsg rtm;
1232 struct rtmsg r;
1244 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
1337 struct rtmsg *r = NLMSG_DATA(&req.n);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Droute.c1767 static void rtmsg_to_fib6_config(struct in6_rtmsg *rtmsg, argument
1773 cfg->fc_ifindex = rtmsg->rtmsg_ifindex;
1774 cfg->fc_metric = rtmsg->rtmsg_metric;
1775 cfg->fc_expires = rtmsg->rtmsg_info;
1776 cfg->fc_dst_len = rtmsg->rtmsg_dst_len;
1777 cfg->fc_src_len = rtmsg->rtmsg_src_len;
1778 cfg->fc_flags = rtmsg->rtmsg_flags;
1780 ipv6_addr_copy(&cfg->fc_dst, &rtmsg->rtmsg_dst);
1781 ipv6_addr_copy(&cfg->fc_src, &rtmsg->rtmsg_src);
1782 ipv6_addr_copy(&cfg->fc_gateway, &rtmsg
1788 struct in6_rtmsg rtmsg; local
[all...]
H A Dip6mr.c118 static int ip6mr_fill_mroute(struct sk_buff *skb, struct mfc6_cache *c, struct rtmsg *rtm);
1744 ip6mr_fill_mroute(struct sk_buff *skb, struct mfc6_cache *c, struct rtmsg *rtm)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/
H A Ddn_fib.c174 static int dn_fib_get_nhs(struct dn_fib_info *fi, const struct rtattr *rta, const struct rtmsg *r)
198 static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh)
272 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct dn_kern_rta *rta, const struct nlmsghdr *nlh, int *errp)
489 static int dn_fib_check_attr(struct rtmsg *r, struct rtattr **rta)
511 struct rtmsg *r = NLMSG_DATA(nlh);
527 struct rtmsg *r = NLMSG_DATA(nlh);
544 struct rtmsg rtm;
H A Ddn_table.c226 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct dn_kern_rta *rta, struct dn_fib_info *fi)
269 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg))
297 struct rtmsg *rtm;
472 if (NLMSG_PAYLOAD(cb->nlh, 0) >= sizeof(struct rtmsg) &&
473 ((struct rtmsg *)NLMSG_DATA(cb->nlh))->rtm_flags&RTM_F_CLONED)
501 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct dn_kern_rta *rta, struct nlmsghdr *n, struct netlink_skb_parms *req)
637 static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct dn_kern_rta *rta, struct nlmsghdr *n, struct netlink_skb_parms *req)
H A Ddn_route.c1472 struct rtmsg *r;
1530 struct rtmsg *rtm = NLMSG_DATA(nlh);
1618 if (NLMSG_PAYLOAD(cb->nlh, 0) < sizeof(struct rtmsg))
1620 if (!(((struct rtmsg *)NLMSG_DATA(cb->nlh))->rtm_flags&RTM_F_CLONED))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/include/linux/
H A Drtnetlink.h140 struct rtmsg struct
270 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
271 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/zebra/
H A Drt_netlink.c534 struct rtmsg *rtm;
558 len = h->nlmsg_len - NLMSG_LENGTH(sizeof (struct rtmsg));
642 struct rtmsg *rtm;
682 len = h->nlmsg_len - NLMSG_LENGTH(sizeof (struct rtmsg));
1126 struct rtmsg r;
1134 req.n.nlmsg_len = NLMSG_LENGTH (sizeof (struct rtmsg));
1195 struct rtmsg r;
1203 req.n.nlmsg_len = NLMSG_LENGTH (sizeof (struct rtmsg));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dfib_frontend.c464 struct rtmsg *rtm;
490 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { argument
582 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) &&
583 ((struct rtmsg *) nlmsg_data(cb->nlh))->rtm_flags & RTM_F_CLONED)
H A Dfib_semantics.c278 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg))
963 struct rtmsg *rtm;
H A Dipmr.c112 static int ipmr_fill_mroute(struct sk_buff *skb, struct mfc_cache *c, struct rtmsg *rtm);
1610 ipmr_fill_mroute(struct sk_buff *skb, struct mfc_cache *c, struct rtmsg *rtm)
1644 int ipmr_get_route(struct sk_buff *skb, struct rtmsg *rtm, int nowait)
H A Droute.c2683 struct rtmsg *r;
2779 struct rtmsg *rtm;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zeroconf-0.9/
H A Dzeroconf.c989 struct rtmsg *r;
1132 l = NLMSG_PAYLOAD(n, sizeof(struct rtmsg));
1134 fprintf(stderr, "rtmsg: %u %u %u %u %u %u %u %u %u",
1163 l = NLMSG_PAYLOAD(n, sizeof(struct rtmsg));
1165 fprintf(stderr, "rtmsg: %u %u %u %u %u %u %u %u %u",
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Drtnetlink.c250 [RTM_FAM(RTM_NEWROUTE)] = NLMSG_LENGTH(sizeof(struct rtmsg)),

Completed in 136 milliseconds