1 /* This is the userspace/kernel interface for Generic IP Chains, 2 required for libc6. */ 3 #ifndef _FWCHAINS_KERNEL_HEADERS_H 4 #define _FWCHAINS_KERNEL_HEADERS_H 5 6 #include <limits.h> 7 8 #if defined(__ANDROID__) || (defined(__GLIBC__) && __GLIBC__ == 2) 9 #include <netinet/ip.h> 10 #include <netinet/in.h> 11 #include <netinet/ip_icmp.h> 12 #include <netinet/tcp.h> 13 #include <netinet/udp.h> 14 #include <net/if.h> 15 #include <sys/types.h> 16 #else /* libc5 */ 17 #include <sys/socket.h> 18 #include <linux/ip.h> 19 #include <linux/in.h> 20 #include <linux/if.h> 21 #include <linux/icmp.h> 22 #include <linux/tcp.h> 23 #include <linux/udp.h> 24 #include <linux/types.h> 25 #include <linux/in6.h> 26 #endif 27 #endif 28