Searched refs:rta_len (Results 1 – 3 of 3) sorted by relevance
173 size_t rta_len = IFLA_PAYLOAD(hdr); in __getifaddrs_callback() local174 while (RTA_OK(rta, rta_len)) { in __getifaddrs_callback()191 rta = RTA_NEXT(rta, rta_len); in __getifaddrs_callback()215 size_t rta_len = IFA_PAYLOAD(hdr); in __getifaddrs_callback() local216 while (RTA_OK(rta, rta_len)) { in __getifaddrs_callback()231 rta = RTA_NEXT(rta, rta_len); in __getifaddrs_callback()
107 size_t rta_len = IFLA_PAYLOAD(hdr); in __if_nameindex_callback() local108 while (RTA_OK(rta, rta_len)) { in __if_nameindex_callback()112 rta = RTA_NEXT(rta, rta_len); in __if_nameindex_callback()
164 unsigned short rta_len; member170 …n) ((len) >= (int) sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_…171 …attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr *) (((char *) (rta)) + RTA_ALIGN(…176 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0))