Home
last modified time | relevance | path

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

/linux-3.4.99/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))
733 int size = RTA_LENGTH(attrlen); in __rta_reserve()
/linux-3.4.99/net/ipv6/
Desp6.c532 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
Dip6mr.c2117 mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0)); in __ip6mr_fill_mroute()
/linux-3.4.99/net/ipv4/
Desp4.c586 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
Dipmr.c2032 mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0)); in __ipmr_fill_mroute()
/linux-3.4.99/net/core/
Drtnetlink.c545 int size = RTA_LENGTH(attrlen); in __rta_fill()