Searched refs:RTA_LENGTH (Results 1 – 6 of 6) sorted by relevance
151 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro152 #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()
532 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
2117 mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0)); in __ip6mr_fill_mroute()
586 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
2032 mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0)); in __ipmr_fill_mroute()
545 int size = RTA_LENGTH(attrlen); in __rta_fill()