/* Web Polygraph http://www.web-polygraph.org/ * (C) 2003-2006 The Measurement Factory * Licensed under the Apache License, Version 2.0 */ #ifndef POLYGRAPH__XSTD_H_NET_IF_H #define POLYGRAPH__XSTD_H_NET_IF_H #include "xstd/h/sys/socket.h" #include "xstd/h/string.h" #ifdef HAVE_NET_IF_H #include #endif #ifdef HAVE_NET_IF_VAR_H #include #endif #if defined(HAVE_WINSOCK2_H) #include #include #endif #ifndef HAVE_TYPE_IFREQ # ifndef IFNAMSIZ # define IFNAMSIZ 16 # endif struct ifreq { char ifr_name[IFNAMSIZ]; sockaddr ifr_addr; }; #endif #endif