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))728 int size = RTA_LENGTH(attrlen); in __rta_reserve()
535 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
2102 mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0)); in __ip6mr_fill_mroute()
589 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
2018 mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0)); in __ipmr_fill_mroute()
521 int size = RTA_LENGTH(attrlen); in __rta_fill()