diff options
Diffstat (limited to 'sysroot/usr/include/linux/netfilter_ipv4')
37 files changed, 0 insertions, 1250 deletions
diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ip_conntrack.h b/sysroot/usr/include/linux/netfilter_ipv4/ip_conntrack.h deleted file mode 100644 index ef55a61..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ip_conntrack.h +++ /dev/null @@ -1,17 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IP_CONNTRACK_H -#define _IP_CONNTRACK_H - -#include <linux/netfilter/nf_conntrack_common.h> - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ip_conntrack_tuple.h b/sysroot/usr/include/linux/netfilter_ipv4/ip_conntrack_tuple.h deleted file mode 100644 index 0c96baf..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ip_conntrack_tuple.h +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IP_CONNTRACK_TUPLE_H -#define _IP_CONNTRACK_TUPLE_H - -#include <linux/types.h> -#include <linux/netfilter/nf_conntrack_tuple_common.h> - -union ip_conntrack_manip_proto -{ - - u_int16_t all; - - struct { - __be16 port; - } tcp; - struct { - u_int16_t port; - } udp; - struct { - u_int16_t id; - } icmp; - struct { - u_int16_t port; - } sctp; - struct { - __be16 key; - } gre; -}; - -struct ip_conntrack_manip -{ - u_int32_t ip; - union ip_conntrack_manip_proto u; -}; - -struct ip_conntrack_tuple -{ - struct ip_conntrack_manip src; - - struct { - u_int32_t ip; - union { - - u_int16_t all; - - struct { - u_int16_t port; - } tcp; - struct { - u_int16_t port; - } udp; - struct { - u_int8_t type, code; - } icmp; - struct { - u_int16_t port; - } sctp; - struct { - __be16 key; - } gre; - } u; - - u_int8_t protonum; - - u_int8_t dir; - } dst; -}; - -#define IP_CT_TUPLE_U_BLANK(tuple) do { (tuple)->src.u.all = 0; (tuple)->dst.u.all = 0; } while (0) - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ip_nat.h b/sysroot/usr/include/linux/netfilter_ipv4/ip_nat.h deleted file mode 100644 index 7db9da3..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ip_nat.h +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IP_NAT_H -#define _IP_NAT_H -#include <linux/netfilter_ipv4.h> -#include <linux/netfilter_ipv4/ip_conntrack_tuple.h> - -#define IP_NAT_MAPPING_TYPE_MAX_NAMELEN 16 - -enum ip_nat_manip_type -{ - IP_NAT_MANIP_SRC, - IP_NAT_MANIP_DST -}; - -#define HOOK2MANIP(hooknum) ((hooknum) != NF_IP_POST_ROUTING && (hooknum) != NF_IP_LOCAL_IN) - -#define IP_NAT_RANGE_MAP_IPS 1 -#define IP_NAT_RANGE_PROTO_SPECIFIED 2 - -struct ip_nat_seq { - - u_int32_t correction_pos; - - int16_t offset_before, offset_after; -}; - -struct ip_nat_range -{ - - unsigned int flags; - - u_int32_t min_ip, max_ip; - - union ip_conntrack_manip_proto min, max; -}; - -struct ip_nat_multi_range_compat -{ - unsigned int rangesize; - - struct ip_nat_range range[1]; -}; - -#define ip_nat_multi_range ip_nat_multi_range_compat -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ip_nat_rule.h b/sysroot/usr/include/linux/netfilter_ipv4/ip_nat_rule.h deleted file mode 100644 index b9db0b0..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ip_nat_rule.h +++ /dev/null @@ -1,18 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IP_NAT_RULE_H -#define _IP_NAT_RULE_H -#include <linux/netfilter_ipv4/ip_conntrack.h> -#include <linux/netfilter_ipv4/ip_tables.h> -#include <linux/netfilter_ipv4/ip_nat.h> - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ip_queue.h b/sysroot/usr/include/linux/netfilter_ipv4/ip_queue.h deleted file mode 100644 index 5d17a54..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ip_queue.h +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IP_QUEUE_H -#define _IP_QUEUE_H - -#include <net/if.h> - -typedef struct ipq_packet_msg { - unsigned long packet_id; - unsigned long mark; - long timestamp_sec; - long timestamp_usec; - unsigned int hook; - char indev_name[IFNAMSIZ]; - char outdev_name[IFNAMSIZ]; - unsigned short hw_protocol; - unsigned short hw_type; - unsigned char hw_addrlen; - unsigned char hw_addr[8]; - size_t data_len; - unsigned char payload[0]; -} ipq_packet_msg_t; - -typedef struct ipq_mode_msg { - unsigned char value; - size_t range; -} ipq_mode_msg_t; - -typedef struct ipq_verdict_msg { - unsigned int value; - unsigned long id; - size_t data_len; - unsigned char payload[0]; -} ipq_verdict_msg_t; - -typedef struct ipq_peer_msg { - union { - ipq_verdict_msg_t verdict; - ipq_mode_msg_t mode; - } msg; -} ipq_peer_msg_t; - -enum { - IPQ_COPY_NONE, - IPQ_COPY_META, - IPQ_COPY_PACKET -}; -#define IPQ_COPY_MAX IPQ_COPY_PACKET - -#define IPQM_BASE 0x10 -#define IPQM_MODE (IPQM_BASE + 1) -#define IPQM_VERDICT (IPQM_BASE + 2) -#define IPQM_PACKET (IPQM_BASE + 3) -#define IPQM_MAX (IPQM_BASE + 4) - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ip_tables.h b/sysroot/usr/include/linux/netfilter_ipv4/ip_tables.h deleted file mode 100644 index aa48305..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ip_tables.h +++ /dev/null @@ -1,180 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPTABLES_H -#define _IPTABLES_H - -#include <linux/compiler.h> -#include <linux/netfilter_ipv4.h> - -#include <linux/netfilter/x_tables.h> - -#define IPT_FUNCTION_MAXNAMELEN XT_FUNCTION_MAXNAMELEN -#define IPT_TABLE_MAXNAMELEN XT_FUNCTION_MAXNAMELEN -#define ipt_match xt_match -#define ipt_target xt_target -#define ipt_table xt_table -#define ipt_get_revision xt_get_revision - -struct ipt_ip { - - struct in_addr src, dst; - - struct in_addr smsk, dmsk; - char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; - unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ]; - - u_int16_t proto; - - u_int8_t flags; - - u_int8_t invflags; -}; - -#define ipt_entry_match xt_entry_match -#define ipt_entry_target xt_entry_target -#define ipt_standard_target xt_standard_target - -#define ipt_counters xt_counters - -#define IPT_F_FRAG 0x01 -#define IPT_F_GOTO 0x02 -#define IPT_F_MASK 0x03 - -#define IPT_INV_VIA_IN 0x01 -#define IPT_INV_VIA_OUT 0x02 -#define IPT_INV_TOS 0x04 -#define IPT_INV_SRCIP 0x08 -#define IPT_INV_DSTIP 0x10 -#define IPT_INV_FRAG 0x20 -#define IPT_INV_PROTO XT_INV_PROTO -#define IPT_INV_MASK 0x7F - -struct ipt_entry -{ - struct ipt_ip ip; - - unsigned int nfcache; - - u_int16_t target_offset; - - u_int16_t next_offset; - - unsigned int comefrom; - - struct xt_counters counters; - - unsigned char elems[0]; -}; - -#define IPT_BASE_CTL XT_BASE_CTL - -#define IPT_SO_SET_REPLACE XT_SO_SET_REPLACE -#define IPT_SO_SET_ADD_COUNTERS XT_SO_SET_ADD_COUNTERS -#define IPT_SO_SET_MAX XT_SO_SET_MAX - -#define IPT_SO_GET_INFO XT_SO_GET_INFO -#define IPT_SO_GET_ENTRIES XT_SO_GET_ENTRIES -#define IPT_SO_GET_REVISION_MATCH XT_SO_GET_REVISION_MATCH -#define IPT_SO_GET_REVISION_TARGET XT_SO_GET_REVISION_TARGET -#define IPT_SO_GET_MAX XT_SO_GET_REVISION_TARGET - -#define IPT_CONTINUE XT_CONTINUE -#define IPT_RETURN XT_RETURN - -#include <linux/netfilter/xt_tcpudp.h> -#define ipt_udp xt_udp -#define ipt_tcp xt_tcp - -#define IPT_TCP_INV_SRCPT XT_TCP_INV_SRCPT -#define IPT_TCP_INV_DSTPT XT_TCP_INV_DSTPT -#define IPT_TCP_INV_FLAGS XT_TCP_INV_FLAGS -#define IPT_TCP_INV_OPTION XT_TCP_INV_OPTION -#define IPT_TCP_INV_MASK XT_TCP_INV_MASK - -#define IPT_UDP_INV_SRCPT XT_UDP_INV_SRCPT -#define IPT_UDP_INV_DSTPT XT_UDP_INV_DSTPT -#define IPT_UDP_INV_MASK XT_UDP_INV_MASK - -struct ipt_icmp -{ - u_int8_t type; - u_int8_t code[2]; - u_int8_t invflags; -}; - -#define IPT_ICMP_INV 0x01 - -struct ipt_getinfo -{ - - char name[IPT_TABLE_MAXNAMELEN]; - - unsigned int valid_hooks; - - unsigned int hook_entry[NF_IP_NUMHOOKS]; - - unsigned int underflow[NF_IP_NUMHOOKS]; - - unsigned int num_entries; - - unsigned int size; -}; - -struct ipt_replace -{ - - char name[IPT_TABLE_MAXNAMELEN]; - - unsigned int valid_hooks; - - unsigned int num_entries; - - unsigned int size; - - unsigned int hook_entry[NF_IP_NUMHOOKS]; - - unsigned int underflow[NF_IP_NUMHOOKS]; - - unsigned int num_counters; - - struct xt_counters __user *counters; - - struct ipt_entry entries[0]; -}; - -#define ipt_counters_info xt_counters_info - -struct ipt_get_entries -{ - - char name[IPT_TABLE_MAXNAMELEN]; - - unsigned int size; - - struct ipt_entry entrytable[0]; -}; - -#define IPT_STANDARD_TARGET XT_STANDARD_TARGET - -#define IPT_ERROR_TARGET XT_ERROR_TARGET - -static __inline__ struct ipt_entry_target * -ipt_get_target(struct ipt_entry *e) -{ - return (void *)e + e->target_offset; -} - -#define IPT_MATCH_ITERATE(e, fn, args...) ({ unsigned int __i; int __ret = 0; struct ipt_entry_match *__match; for (__i = sizeof(struct ipt_entry); __i < (e)->target_offset; __i += __match->u.match_size) { __match = (void *)(e) + __i; __ret = fn(__match , ## args); if (__ret != 0) break; } __ret; }) - -#define IPT_ENTRY_ITERATE(entries, size, fn, args...) ({ unsigned int __i; int __ret = 0; struct ipt_entry *__entry; for (__i = 0; __i < (size); __i += __entry->next_offset) { __entry = (void *)(entries) + __i; __ret = fn(__entry , ## args); if (__ret != 0) break; } __ret; }) - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_CLASSIFY.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_CLASSIFY.h deleted file mode 100644 index a738edd..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_CLASSIFY.h +++ /dev/null @@ -1,18 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_CLASSIFY_H -#define _IPT_CLASSIFY_H - -#include <linux/netfilter/xt_CLASSIFY.h> -#define ipt_classify_target_info xt_classify_target_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_DSCP.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_DSCP.h deleted file mode 100644 index 0271fb2..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_DSCP.h +++ /dev/null @@ -1,20 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_DSCP_TARGET_H -#define _IPT_DSCP_TARGET_H -#include <linux/netfilter_ipv4/ipt_dscp.h> - -struct ipt_DSCP_info { - u_int8_t dscp; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_ECN.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_ECN.h deleted file mode 100644 index 67c16fe..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_ECN.h +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_ECN_TARGET_H -#define _IPT_ECN_TARGET_H -#include <linux/netfilter_ipv4/ipt_DSCP.h> - -#define IPT_ECN_IP_MASK (~IPT_DSCP_MASK) - -#define IPT_ECN_OP_SET_IP 0x01 -#define IPT_ECN_OP_SET_ECE 0x10 -#define IPT_ECN_OP_SET_CWR 0x20 - -#define IPT_ECN_OP_MASK 0xce - -struct ipt_ECN_info { - u_int8_t operation; - u_int8_t ip_ect; - union { - struct { - u_int8_t ece:1, cwr:1; - } tcp; - } proto; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_LOG.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_LOG.h deleted file mode 100644 index dd6fd1b..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_LOG.h +++ /dev/null @@ -1,28 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_LOG_H -#define _IPT_LOG_H - -#define IPT_LOG_TCPSEQ 0x01 -#define IPT_LOG_TCPOPT 0x02 -#define IPT_LOG_IPOPT 0x04 -#define IPT_LOG_UID 0x08 -#define IPT_LOG_NFLOG 0x10 -#define IPT_LOG_MASK 0x1f - -struct ipt_log_info { - unsigned char level; - unsigned char logflags; - char prefix[30]; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_NFQUEUE.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_NFQUEUE.h deleted file mode 100644 index 27ac4a5..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_NFQUEUE.h +++ /dev/null @@ -1,19 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_NFQ_TARGET_H -#define _IPT_NFQ_TARGET_H - -#include <linux/netfilter/xt_NFQUEUE.h> - -#define ipt_NFQ_info xt_NFQ_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_REJECT.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_REJECT.h deleted file mode 100644 index d3c3965..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_REJECT.h +++ /dev/null @@ -1,31 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_REJECT_H -#define _IPT_REJECT_H - -enum ipt_reject_with { - IPT_ICMP_NET_UNREACHABLE, - IPT_ICMP_HOST_UNREACHABLE, - IPT_ICMP_PROT_UNREACHABLE, - IPT_ICMP_PORT_UNREACHABLE, - IPT_ICMP_ECHOREPLY, - IPT_ICMP_NET_PROHIBITED, - IPT_ICMP_HOST_PROHIBITED, - IPT_TCP_RESET, - IPT_ICMP_ADMIN_PROHIBITED -}; - -struct ipt_reject_info { - enum ipt_reject_with with; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_TCPMSS.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_TCPMSS.h deleted file mode 100644 index e924f37..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_TCPMSS.h +++ /dev/null @@ -1,21 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_TCPMSS_H -#define _IPT_TCPMSS_H - -struct ipt_tcpmss_info { - u_int16_t mss; -}; - -#define IPT_TCPMSS_CLAMP_PMTU 0xffff - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_TOS.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_TOS.h deleted file mode 100644 index 1cc2116..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_TOS.h +++ /dev/null @@ -1,23 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_TOS_H_target -#define _IPT_TOS_H_target - -#ifndef IPTOS_NORMALSVC -#define IPTOS_NORMALSVC 0 -#endif - -struct ipt_tos_target_info { - u_int8_t tos; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_TTL.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_TTL.h deleted file mode 100644 index f9e98af..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_TTL.h +++ /dev/null @@ -1,28 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_TTL_H -#define _IPT_TTL_H - -enum { - IPT_TTL_SET = 0, - IPT_TTL_INC, - IPT_TTL_DEC -}; - -#define IPT_TTL_MAXMODE IPT_TTL_DEC - -struct ipt_TTL_info { - u_int8_t mode; - u_int8_t ttl; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_ULOG.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_ULOG.h deleted file mode 100644 index 9511cb8..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_ULOG.h +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_ULOG_H -#define _IPT_ULOG_H - -#ifndef NETLINK_NFLOG -#define NETLINK_NFLOG 5 -#endif - -#define ULOG_DEFAULT_NLGROUP 1 -#define ULOG_DEFAULT_QTHRESHOLD 1 - -#define ULOG_MAC_LEN 80 -#define ULOG_PREFIX_LEN 32 - -#define ULOG_MAX_QLEN 50 - -struct ipt_ulog_info { - unsigned int nl_group; - size_t copy_range; - size_t qthreshold; - char prefix[ULOG_PREFIX_LEN]; -}; - -typedef struct ulog_packet_msg { - unsigned long mark; - long timestamp_sec; - long timestamp_usec; - unsigned int hook; - char indev_name[IFNAMSIZ]; - char outdev_name[IFNAMSIZ]; - size_t data_len; - char prefix[ULOG_PREFIX_LEN]; - unsigned char mac_len; - unsigned char mac[ULOG_MAC_LEN]; - unsigned char payload[0]; -} ulog_packet_msg_t; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_addrtype.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_addrtype.h deleted file mode 100644 index 5203b32..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_addrtype.h +++ /dev/null @@ -1,22 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_ADDRTYPE_H -#define _IPT_ADDRTYPE_H - -struct ipt_addrtype_info { - u_int16_t source; - u_int16_t dest; - u_int32_t invert_source; - u_int32_t invert_dest; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_ah.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_ah.h deleted file mode 100644 index 11983e2..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_ah.h +++ /dev/null @@ -1,24 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_AH_H -#define _IPT_AH_H - -struct ipt_ah -{ - u_int32_t spis[2]; - u_int8_t invflags; -}; - -#define IPT_AH_INV_SPI 0x01 -#define IPT_AH_INV_MASK 0x01 - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_comment.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_comment.h deleted file mode 100644 index dbd7507..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_comment.h +++ /dev/null @@ -1,21 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_COMMENT_H -#define _IPT_COMMENT_H - -#include <linux/netfilter/xt_comment.h> - -#define IPT_MAX_COMMENT_LEN XT_MAX_COMMENT_LEN - -#define ipt_comment_info xt_comment_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_connbytes.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_connbytes.h deleted file mode 100644 index 8ae19c5..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_connbytes.h +++ /dev/null @@ -1,29 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_CONNBYTES_H -#define _IPT_CONNBYTES_H - -#include <linux/netfilter/xt_connbytes.h> -#define ipt_connbytes_what xt_connbytes_what - -#define IPT_CONNBYTES_PKTS XT_CONNBYTES_PKTS -#define IPT_CONNBYTES_BYTES XT_CONNBYTES_BYTES -#define IPT_CONNBYTES_AVGPKT XT_CONNBYTES_AVGPKT - -#define ipt_connbytes_direction xt_connbytes_direction -#define IPT_CONNBYTES_DIR_ORIGINAL XT_CONNBYTES_DIR_ORIGINAL -#define IPT_CONNBYTES_DIR_REPLY XT_CONNBYTES_DIR_REPLY -#define IPT_CONNBYTES_DIR_BOTH XT_CONNBYTES_DIR_BOTH - -#define ipt_connbytes_info xt_connbytes_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_dccp.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_dccp.h deleted file mode 100644 index c1212c9..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_dccp.h +++ /dev/null @@ -1,26 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_DCCP_H_ -#define _IPT_DCCP_H_ - -#include <linux/netfilter/xt_dccp.h> -#define IPT_DCCP_SRC_PORTS XT_DCCP_SRC_PORTS -#define IPT_DCCP_DEST_PORTS XT_DCCP_DEST_PORTS -#define IPT_DCCP_TYPE XT_DCCP_TYPE -#define IPT_DCCP_OPTION XT_DCCP_OPTION - -#define IPT_DCCP_VALID_FLAGS XT_DCCP_VALID_FLAGS - -#define ipt_dccp_info xt_dccp_info - -#endif - diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_dscp_.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_dscp_.h deleted file mode 100644 index aba8861..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_dscp_.h +++ /dev/null @@ -1,24 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_DSCP_H -#define _IPT_DSCP_H - -#define IPT_DSCP_MASK 0xfc -#define IPT_DSCP_SHIFT 2 -#define IPT_DSCP_MAX 0x3f - -struct ipt_dscp_info { - u_int8_t dscp; - u_int8_t invert; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_esp.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_esp.h deleted file mode 100644 index 4947e7e..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_esp.h +++ /dev/null @@ -1,21 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_ESP_H -#define _IPT_ESP_H - -#include <linux/netfilter/xt_esp.h> - -#define ipt_esp xt_esp -#define IPT_ESP_INV_SPI XT_ESP_INV_SPI -#define IPT_ESP_INV_MASK XT_ESP_INV_MASK - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_hashlimit.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_hashlimit.h deleted file mode 100644 index adc1f41..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_hashlimit.h +++ /dev/null @@ -1,45 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_HASHLIMIT_H -#define _IPT_HASHLIMIT_H - -#define IPT_HASHLIMIT_SCALE 10000 - -struct ipt_hashlimit_htable; - -#define IPT_HASHLIMIT_HASH_DIP 0x0001 -#define IPT_HASHLIMIT_HASH_DPT 0x0002 -#define IPT_HASHLIMIT_HASH_SIP 0x0004 -#define IPT_HASHLIMIT_HASH_SPT 0x0008 - -struct hashlimit_cfg { - u_int32_t mode; - u_int32_t avg; - u_int32_t burst; - - u_int32_t size; - u_int32_t max; - u_int32_t gc_interval; - u_int32_t expire; -}; - -struct ipt_hashlimit_info { - char name [IFNAMSIZ]; - struct hashlimit_cfg cfg; - struct ipt_hashlimit_htable *hinfo; - - union { - void *ptr; - struct ipt_hashlimit_info *master; - } u; -}; -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_helper.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_helper.h deleted file mode 100644 index 576add9..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_helper.h +++ /dev/null @@ -1,18 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_HELPER_H -#define _IPT_HELPER_H - -#include <linux/netfilter/xt_helper.h> -#define ipt_helper_info xt_helper_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_iprange.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_iprange.h deleted file mode 100644 index b4dd603..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_iprange.h +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_IPRANGE_H -#define _IPT_IPRANGE_H - -#define IPRANGE_SRC 0x01 -#define IPRANGE_DST 0x02 -#define IPRANGE_SRC_INV 0x10 -#define IPRANGE_DST_INV 0x20 - -struct ipt_iprange { - - u_int32_t min_ip, max_ip; -}; - -struct ipt_iprange_info -{ - struct ipt_iprange src; - struct ipt_iprange dst; - - u_int8_t flags; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_length.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_length.h deleted file mode 100644 index 9610859..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_length.h +++ /dev/null @@ -1,18 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_LENGTH_H -#define _IPT_LENGTH_H - -#include <linux/netfilter/xt_length.h> -#define ipt_length_info xt_length_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_mac.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_mac.h deleted file mode 100644 index 89378a3..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_mac.h +++ /dev/null @@ -1,18 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_MAC_H -#define _IPT_MAC_H - -#include <linux/netfilter/xt_mac.h> -#define ipt_mac_info xt_mac_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_owner.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_owner.h deleted file mode 100644 index 8b742b1..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_owner.h +++ /dev/null @@ -1,30 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_OWNER_H -#define _IPT_OWNER_H - -#define IPT_OWNER_UID 0x01 -#define IPT_OWNER_GID 0x02 -#define IPT_OWNER_PID 0x04 -#define IPT_OWNER_SID 0x08 -#define IPT_OWNER_COMM 0x10 - -struct ipt_owner_info { - uid_t uid; - gid_t gid; - pid_t pid; - pid_t sid; - char comm[16]; - u_int8_t match, invert; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_physdev.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_physdev.h deleted file mode 100644 index 791cf02..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_physdev.h +++ /dev/null @@ -1,26 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_PHYSDEV_H -#define _IPT_PHYSDEV_H - -#include <linux/netfilter/xt_physdev.h> - -#define IPT_PHYSDEV_OP_IN XT_PHYSDEV_OP_IN -#define IPT_PHYSDEV_OP_OUT XT_PHYSDEV_OP_OUT -#define IPT_PHYSDEV_OP_BRIDGED XT_PHYSDEV_OP_BRIDGED -#define IPT_PHYSDEV_OP_ISIN XT_PHYSDEV_OP_ISIN -#define IPT_PHYSDEV_OP_ISOUT XT_PHYSDEV_OP_ISOUT -#define IPT_PHYSDEV_OP_MASK XT_PHYSDEV_OP_MASK - -#define ipt_physdev_info xt_physdev_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_pkttype.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_pkttype.h deleted file mode 100644 index fbb20b1..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_pkttype.h +++ /dev/null @@ -1,18 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_PKTTYPE_H -#define _IPT_PKTTYPE_H - -#include <linux/netfilter/xt_pkttype.h> -#define ipt_pkttype_info xt_pkttype_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_realm.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_realm.h deleted file mode 100644 index 9b80faa..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_realm.h +++ /dev/null @@ -1,18 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_REALM_H -#define _IPT_REALM_H - -#include <linux/netfilter/xt_realm.h> -#define ipt_realm_info xt_realm_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_recent.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_recent.h deleted file mode 100644 index 45172bd..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_recent.h +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_RECENT_H -#define _IPT_RECENT_H - -#define RECENT_NAME "ipt_recent" -#define RECENT_VER "v0.3.1" - -#define IPT_RECENT_CHECK 1 -#define IPT_RECENT_SET 2 -#define IPT_RECENT_UPDATE 4 -#define IPT_RECENT_REMOVE 8 -#define IPT_RECENT_TTL 16 - -#define IPT_RECENT_SOURCE 0 -#define IPT_RECENT_DEST 1 - -#define IPT_RECENT_NAME_LEN 200 - -struct ipt_recent_info { - u_int32_t seconds; - u_int32_t hit_count; - u_int8_t check_set; - u_int8_t invert; - char name[IPT_RECENT_NAME_LEN]; - u_int8_t side; -}; - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_sctp.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_sctp.h deleted file mode 100644 index 20f301f..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_sctp.h +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_SCTP_H_ -#define _IPT_SCTP_H_ - -#define IPT_SCTP_SRC_PORTS 0x01 -#define IPT_SCTP_DEST_PORTS 0x02 -#define IPT_SCTP_CHUNK_TYPES 0x04 - -#define IPT_SCTP_VALID_FLAGS 0x07 - -struct ipt_sctp_flag_info { - u_int8_t chunktype; - u_int8_t flag; - u_int8_t flag_mask; -}; - -#define IPT_NUM_SCTP_FLAGS 4 - -struct ipt_sctp_info { - u_int16_t dpts[2]; - u_int16_t spts[2]; - - u_int32_t chunkmap[256 / sizeof (u_int32_t)]; - -#define SCTP_CHUNK_MATCH_ANY 0x01 -#define SCTP_CHUNK_MATCH_ALL 0x02 -#define SCTP_CHUNK_MATCH_ONLY 0x04 - - u_int32_t chunk_match_type; - struct ipt_sctp_flag_info flag_info[IPT_NUM_SCTP_FLAGS]; - int flag_count; - - u_int32_t flags; - u_int32_t invflags; -}; - -#define bytes(type) (sizeof(type) * 8) - -#define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) - -#define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) - -#define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; }) - -#define SCTP_CHUNKMAP_RESET(chunkmap) do { int i; for (i = 0; i < ARRAY_SIZE(chunkmap); i++) chunkmap[i] = 0; } while (0) - -#define SCTP_CHUNKMAP_SET_ALL(chunkmap) do { int i; for (i = 0; i < ARRAY_SIZE(chunkmap); i++) chunkmap[i] = ~0; } while (0) - -#define SCTP_CHUNKMAP_COPY(destmap, srcmap) do { int i; for (i = 0; i < ARRAY_SIZE(chunkmap); i++) destmap[i] = srcmap[i]; } while (0) - -#define SCTP_CHUNKMAP_IS_CLEAR(chunkmap) ({ int i; int flag = 1; for (i = 0; i < ARRAY_SIZE(chunkmap); i++) { if (chunkmap[i]) { flag = 0; break; } } flag; }) - -#define SCTP_CHUNKMAP_IS_ALL_SET(chunkmap) ({ int i; int flag = 1; for (i = 0; i < ARRAY_SIZE(chunkmap); i++) { if (chunkmap[i] != ~0) { flag = 0; break; } } flag; }) - -#endif - diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_state.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_state.h deleted file mode 100644 index bd51990..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_state.h +++ /dev/null @@ -1,24 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_STATE_H -#define _IPT_STATE_H - -#include <linux/netfilter/xt_state.h> - -#define IPT_STATE_BIT XT_STATE_BIT -#define IPT_STATE_INVALID XT_STATE_INVALID - -#define IPT_STATE_UNTRACKED XT_STATE_UNTRACKED - -#define ipt_state_info xt_state_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_string.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_string.h deleted file mode 100644 index 60923dd..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_string.h +++ /dev/null @@ -1,21 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_STRING_H -#define _IPT_STRING_H - -#include <linux/netfilter/xt_string.h> - -#define IPT_STRING_MAX_PATTERN_SIZE XT_STRING_MAX_PATTERN_SIZE -#define IPT_STRING_MAX_ALGO_NAME_SIZE XT_STRING_MAX_ALGO_NAME_SIZE -#define ipt_string_info xt_string_info - -#endif diff --git a/sysroot/usr/include/linux/netfilter_ipv4/ipt_tos_.h b/sysroot/usr/include/linux/netfilter_ipv4/ipt_tos_.h deleted file mode 100644 index 789ce22..0000000 --- a/sysroot/usr/include/linux/netfilter_ipv4/ipt_tos_.h +++ /dev/null @@ -1,24 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _IPT_TOS_H -#define _IPT_TOS_H - -struct ipt_tos_info { - u_int8_t tos; - u_int8_t invert; -}; - -#ifndef IPTOS_NORMALSVC -#define IPTOS_NORMALSVC 0 -#endif - -#endif |