Searched refs:rta_len (Results 1 – 3 of 3) sorted by relevance
175 size_t rta_len = IFLA_PAYLOAD(hdr); in __getifaddrs_callback() local176 while (RTA_OK(rta, rta_len)) { in __getifaddrs_callback()193 rta = RTA_NEXT(rta, rta_len); in __getifaddrs_callback()220 size_t rta_len = IFA_PAYLOAD(hdr); in __getifaddrs_callback() local221 while (RTA_OK(rta, rta_len)) { in __getifaddrs_callback()246 rta = RTA_NEXT(rta, rta_len); in __getifaddrs_callback()
97 size_t rta_len = IFLA_PAYLOAD(hdr); in __if_nameindex_callback() local98 while (RTA_OK(rta, rta_len)) { in __if_nameindex_callback()102 rta = RTA_NEXT(rta, rta_len); in __if_nameindex_callback()
169 unsigned short rta_len; member174 …n) ((len) >= (int) sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_…175 …attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr *) (((char *) (rta)) + RTA_ALIGN(…179 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0))