Home
last modified time | relevance | path

Searched refs:RTA_LENGTH (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/include/linux/
Drtnetlink.h151 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
152 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
153 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
154 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
728 int size = RTA_LENGTH(attrlen); in __rta_reserve()
/linux-2.6.39/net/ipv6/
Desp6.c535 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
Dip6mr.c2102 mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0)); in __ip6mr_fill_mroute()
/linux-2.6.39/net/ipv4/
Desp4.c589 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
Dipmr.c2018 mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0)); in __ipmr_fill_mroute()
/linux-2.6.39/net/core/
Drtnetlink.c521 int size = RTA_LENGTH(attrlen); in __rta_fill()