Home
last modified time | relevance | path

Searched refs:rta_len (Results 1 – 25 of 28) sorted by relevance

12

/linux-2.4.37.9/include/linux/
Drtnetlink.h59 unsigned short rta_len; member
68 (rta)->rta_len >= sizeof(struct rtattr) && \
69 (rta)->rta_len <= (len))
70 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
71 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
75 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
572 return len > rta->rta_len || memcmp(RTA_DATA(rta), str, len); in rtattr_strcmp()
/linux-2.4.37.9/net/ipv4/
Dfib_semantics.c701 mp_head->rta_len = skb->tail - (u8*)mp_head; in fib_dump_info()
829 mx->rta_len = RTA_LENGTH(0); in fib_convert_rtentry()
831 rec = (void*)((char*)mx + RTA_ALIGN(mx->rta_len)); in fib_convert_rtentry()
833 rec->rta_len = RTA_LENGTH(4); in fib_convert_rtentry()
834 mx->rta_len += RTA_LENGTH(4); in fib_convert_rtentry()
838 rec = (void*)((char*)mx + RTA_ALIGN(mx->rta_len)); in fib_convert_rtentry()
840 rec->rta_len = RTA_LENGTH(4); in fib_convert_rtentry()
841 mx->rta_len += RTA_LENGTH(4); in fib_convert_rtentry()
845 rec = (void*)((char*)mx + RTA_ALIGN(mx->rta_len)); in fib_convert_rtentry()
847 rec->rta_len = RTA_LENGTH(4); in fib_convert_rtentry()
[all …]
Dtcp_diag.c41 rta->rta_len = rtalen; \
582 rta->rta_len < 8 || in tcpdiag_rcv_msg()
583 rta->rta_len > nlh->nlmsg_len - NLMSG_SPACE(sizeof(struct tcpdiagreq))) in tcpdiag_rcv_msg()
/linux-2.4.37.9/net/core/
Drtnetlink.c114 rta->rta_len = size; in __rta_fill()
142 mx->rta_len = skb->tail - (u8*)mx; in rtnetlink_put_metrics()
143 if (mx->rta_len == RTA_LENGTH(0)) in rtnetlink_put_metrics()
Dneighbour.c1367 nda[NDA_DST-1]->rta_len != RTA_LENGTH(tbl->key_len)) in neigh_delete()
1420 nda[NDA_DST-1]->rta_len != RTA_LENGTH(tbl->key_len)) in neigh_add()
1432 nda[NDA_LLADDR-1]->rta_len != RTA_LENGTH(dev->addr_len)) in neigh_add()
/linux-2.4.37.9/net/sched/
Dcls_fw.c335 p_rta->rta_len = skb->tail - (u8*)p_rta; in fw_dump()
339 rta->rta_len = skb->tail - b; in fw_dump()
Dsch_fifo.c151 if (opt->rta_len < RTA_LENGTH(sizeof(*ctl))) in fifo_init()
Dsch_tbf.c285 rta->rta_len = RTA_LENGTH(sizeof(struct tc_fifo_qopt)); in tbf_create_dflt_qdisc()
426 rta->rta_len = skb->tail - b; in tbf_dump()
Dsch_dsmark.c407 rta->rta_len = skb->tail-b; in dsmark_dump_class()
431 rta->rta_len = skb->tail-b; in dsmark_dump()
Dcls_tcindex.c477 p_rta->rta_len = skb->tail-(u8 *) p_rta; in tcindex_dump()
481 rta->rta_len = skb->tail-b; in tcindex_dump()
Dsch_netem.c315 rta->rta_len = RTA_LENGTH(sizeof(struct tc_fifo_qopt)); in set_fifo_limit()
479 rta->rta_len = skb->tail - b; in netem_dump()
Dcls_route.c591 p_rta->rta_len = skb->tail - (u8*)p_rta; in route4_dump()
595 rta->rta_len = skb->tail - b; in route4_dump()
Dsch_ingress.c329 rta->rta_len = skb->tail - b; in ingress_dump()
Dcls_rsvp.h656 p_rta->rta_len = skb->tail - (u8*)p_rta; in rsvp_dump()
660 rta->rta_len = skb->tail - b; in rsvp_dump()
Dcls_u32.c677 p_rta->rta_len = skb->tail - (u8*)p_rta; in u32_dump()
682 rta->rta_len = skb->tail - b; in u32_dump()
Dsch_red.c432 rta->rta_len = skb->tail - b; in red_dump()
Dsch_csz.c817 rta->rta_len = skb->tail - b; in csz_dump()
974 rta->rta_len = skb->tail - b; in csz_dump_class()
Dsch_prio.c181 if (opt->rta_len < RTA_LENGTH(sizeof(*qopt))) in prio_tune()
Dsch_sfq.c388 if (opt->rta_len < RTA_LENGTH(sizeof(*ctl))) in sfq_change()
Dsch_atm.c655 rta->rta_len = skb->tail-b; in atm_tc_dump_class()
Dsch_gred.c581 rta->rta_len = skb->tail - b; in gred_dump()
Dsch_htb.c1289 rta->rta_len = skb->tail - b; in htb_dump()
1329 rta->rta_len = skb->tail - b; in htb_dump_class()
Dsch_cbq.c1603 rta->rta_len = skb->tail - b; in cbq_dump()
1638 rta->rta_len = skb->tail - b; in cbq_dump_class()
/linux-2.4.37.9/net/ipv6/
Droute.c1525 if (rta[RTA_GATEWAY-1]->rta_len != RTA_LENGTH(16)) in inet6_rtm_to_rtmsg()
1541 if (rta[RTA_OIF-1]->rta_len != RTA_LENGTH(sizeof(int))) in inet6_rtm_to_rtmsg()
1546 if (rta[RTA_PRIORITY-1]->rta_len != RTA_LENGTH(4)) in inet6_rtm_to_rtmsg()
/linux-2.4.37.9/net/decnet/
Ddn_table.c318 mp_head->rta_len = skb->tail - (u8*)mp_head; in dn_fib_dump_info()

12