Add runtime check if mutex will be elided in tst-mutex8 testcases.
[glibc.git] / include / ifreq.h
blob94e984c73c6ed5ff81913d3699a3b5caea6b94bf
1 #include_next <ifreq.h>
3 static inline struct ifreq *
4 __if_nextreq (struct ifreq *ifr)
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;
13 extern void __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd)
14 attribute_hidden;