Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Difaddrs.cpp173 size_t rta_len = IFLA_PAYLOAD(hdr); in __getifaddrs_callback() local
174 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() local
216 while (RTA_OK(rta, rta_len)) { in __getifaddrs_callback()
231 rta = RTA_NEXT(rta, rta_len); in __getifaddrs_callback()
Dnet_if.cpp107 size_t rta_len = IFLA_PAYLOAD(hdr); in __if_nameindex_callback() local
108 while (RTA_OK(rta, rta_len)) { in __if_nameindex_callback()
112 rta = RTA_NEXT(rta, rta_len); in __if_nameindex_callback()
/bionic/libc/kernel/uapi/linux/
Drtnetlink.h164 unsigned short rta_len; member
170 …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))