Searched refs:RTA_LENGTH (Results 1 – 3 of 3) sorted by relevance
70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro71 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))72 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0))
202 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()211 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
251 #define RTA_LENGTH(_len) (NL_RTA_HDRLEN + (_len)) macro252 #define RTA_SPACE(_len) RTA_ALIGN(RTA_LENGTH(_len))