• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2-3.x/include/libiptc/
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(__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 <sys/types.h>
15#else /* libc5 */
16#include <sys/socket.h>
17#include <linux/ip.h>
18#include <linux/in.h>
19#include <linux/if.h>
20#include <linux/icmp.h>
21#include <linux/tcp.h>
22#include <linux/udp.h>
23#include <linux/types.h>
24#include <linux/in6.h>
25#endif
26#endif
27