Home
last modified time | relevance | path

Searched refs:rta_len (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/bionic/
Difaddrs.cpp175 size_t rta_len = IFLA_PAYLOAD(hdr); in __getifaddrs_callback() local
176 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() local
221 while (RTA_OK(rta, rta_len)) { in __getifaddrs_callback()
246 rta = RTA_NEXT(rta, rta_len); in __getifaddrs_callback()
Dnet_if.cpp97 size_t rta_len = IFLA_PAYLOAD(hdr); in __if_nameindex_callback() local
98 while (RTA_OK(rta, rta_len)) { in __if_nameindex_callback()
102 rta = RTA_NEXT(rta, rta_len); in __if_nameindex_callback()
/bionic/libc/kernel/uapi/linux/
Drtnetlink.h169 unsigned short rta_len; member
174 …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))