diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-06-09 20:47:32 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2003-06-09 20:47:32 +0000 |
commit | 787a2f9c56f4dfc225ae402b07c2c355ee4aedf5 (patch) | |
tree | 087bbfb52bcb116e115c17a6e4e3c290bc1d1c3c /userspace/arptables/include/libarptc/arpt_kernel_headers.h | |
parent | 351b5fce411d37440df0f5857d111ea6c708056f (diff) |
*** empty log message ***
Diffstat (limited to 'userspace/arptables/include/libarptc/arpt_kernel_headers.h')
-rw-r--r-- | userspace/arptables/include/libarptc/arpt_kernel_headers.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/userspace/arptables/include/libarptc/arpt_kernel_headers.h b/userspace/arptables/include/libarptc/arpt_kernel_headers.h new file mode 100644 index 0000000..442cc54 --- /dev/null +++ b/userspace/arptables/include/libarptc/arpt_kernel_headers.h @@ -0,0 +1,29 @@ +/* This is the userspace/kernel interface for Generic IP Chains, + required for libc6. */ +#ifndef _FWCHAINS_KERNEL_HEADERS_H +#define _FWCHAINS_KERNEL_HEADERS_H + +#include <limits.h> + +#if defined(__GLIBC__) && __GLIBC__ == 2 +#include <netinet/ip.h> +#include <netinet/in.h> +#include <netinet/ip_icmp.h> +#include <netinet/tcp.h> +#include <netinet/udp.h> +#include <netinet/ether.h> +#include <net/if.h> +#include <sys/types.h> +#else +#include <sys/socket.h> +#include <linux/ip.h> +#include <linux/in.h> +#include <linux/if.h> +#include <linux/icmp.h> +#include <linux/tcp.h> +#include <linux/udp.h> +#include <linux/types.h> +#include <linux/in6.h> +#endif + +#endif |