1 #include_next <ifreq.h>
2 
3 static inline struct ifreq *
__if_nextreq(struct ifreq * ifr)4 __if_nextreq (struct ifreq *ifr)
5 {
6 #ifdef _HAVE_SA_LEN
7   if (ifr->ifr_addr.sa_len > sizeof ifr->ifr_addr)
8     return (struct ifreq *) ((char *) &ifr->ifr_addr + ifr->ifr_addr.sa_len);
9 #endif
10   return ifr + 1;
11 }
12 
13 extern void __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd)
14      attribute_hidden;
15