/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/include/linux/ |
H A D | netfilter_ipv4.h | 2 #define __LINUX_IP_NETFILTER_H macro 13 #define NFC_IP_SRC macro 15 #define NFC_IP_DST macro 17 #define NFC_IP_IF_IN macro 19 #define NFC_IP_IF_OUT macro 21 #define NFC_IP_TOS macro 23 #define NFC_IP_PROTO macro 25 #define NFC_IP_OPTIONS macro 27 #define NFC_IP_FRAG macro 31 #define NFC_IP_TCPFLAGS macro 33 #define NFC_IP_SRC_PT macro 35 #define NFC_IP_DST_PT macro 37 #define NFC_IP_PROTO_UNKNOWN macro 41 #define NF_IP_PRE_ROUTING macro 43 #define NF_IP_LOCAL_IN macro 45 #define NF_IP_FORWARD macro 47 #define NF_IP_LOCAL_OUT macro 49 #define NF_IP_POST_ROUTING macro 50 #define NF_IP_NUMHOOKS macro 52 enum nf_ip_hook_priorities { enum 53 NF_IP_PRI_FIRST = INT_MIN, enumerator in enum:nf_ip_hook_priorities 54 NF_IP_PRI_CONNTRACK_DEFRAG = -400, enumerator in enum:nf_ip_hook_priorities 55 NF_IP_PRI_RAW = -300, enumerator in enum:nf_ip_hook_priorities 56 NF_IP_PRI_SELINUX_FIRST = -225, enumerator in enum:nf_ip_hook_priorities 57 NF_IP_PRI_CONNTRACK = -200, enumerator in enum:nf_ip_hook_priorities 58 NF_IP_PRI_MANGLE = -150, enumerator in enum:nf_ip_hook_priorities 59 NF_IP_PRI_NAT_DST = -100, enumerator in enum:nf_ip_hook_priorities 60 NF_IP_PRI_FILTER = 0, enumerator in enum:nf_ip_hook_priorities 61 NF_IP_PRI_SECURITY = 50, enumerator in enum:nf_ip_hook_priorities 62 NF_IP_PRI_NAT_SRC = 100, enumerator in enum:nf_ip_hook_priorities 63 NF_IP_PRI_SELINUX_LAST = 225, enumerator in enum:nf_ip_hook_priorities 64 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX, enumerator in enum:nf_ip_hook_priorities 65 NF_IP_PRI_LAST = INT_MAX, enumerator in enum:nf_ip_hook_priorities 72 #define SO_ORIGINAL_DST macro [all...] |
H A D | netfilter_ipv6.h | 2 #define __LINUX_IP6_NETFILTER_H macro 16 #define NFC_IP6_SRC macro 18 #define NFC_IP6_DST macro 20 #define NFC_IP6_IF_IN macro 22 #define NFC_IP6_IF_OUT macro 24 #define NFC_IP6_TOS macro 26 #define NFC_IP6_PROTO macro 28 #define NFC_IP6_OPTIONS macro 30 #define NFC_IP6_FRAG macro 35 #define NFC_IP6_TCPFLAGS macro 37 #define NFC_IP6_SRC_PT macro 39 #define NFC_IP6_DST_PT macro 41 #define NFC_IP6_PROTO_UNKNOWN macro 45 #define NF_IP6_PRE_ROUTING macro 47 #define NF_IP6_LOCAL_IN macro 49 #define NF_IP6_FORWARD macro 51 #define NF_IP6_LOCAL_OUT macro 53 #define NF_IP6_POST_ROUTING macro 54 #define NF_IP6_NUMHOOKS macro 57 enum nf_ip6_hook_priorities { enum 58 NF_IP6_PRI_FIRST = INT_MIN, enumerator in enum:nf_ip6_hook_priorities 59 NF_IP6_PRI_CONNTRACK_DEFRAG = -400, enumerator in enum:nf_ip6_hook_priorities 60 NF_IP6_PRI_RAW = -300, enumerator in enum:nf_ip6_hook_priorities 61 NF_IP6_PRI_SELINUX_FIRST = -225, enumerator in enum:nf_ip6_hook_priorities 62 NF_IP6_PRI_CONNTRACK = -200, enumerator in enum:nf_ip6_hook_priorities 63 NF_IP6_PRI_MANGLE = -150, enumerator in enum:nf_ip6_hook_priorities 64 NF_IP6_PRI_NAT_DST = -100, enumerator in enum:nf_ip6_hook_priorities 65 NF_IP6_PRI_FILTER = 0, enumerator in enum:nf_ip6_hook_priorities 66 NF_IP6_PRI_SECURITY = 50, enumerator in enum:nf_ip6_hook_priorities 67 NF_IP6_PRI_NAT_SRC = 100, enumerator in enum:nf_ip6_hook_priorities 68 NF_IP6_PRI_SELINUX_LAST = 225, enumerator in enum:nf_ip6_hook_priorities 69 NF_IP6_PRI_LAST = INT_MAX, enumerator in enum:nf_ip6_hook_priorities [all...] |
H A D | types.h | 2 #define _LINUX_TYPES_H macro 17 #define __bitwise__ macro 19 #define __bitwise__ macro 22 #define __bitwise macro 24 #define __bitwise macro 27 typedef __u16 __bitwise __le16; typedef 28 typedef __u16 __bitwise __be16; typedef 29 typedef __u32 __bitwise __le32; typedef 30 typedef __u32 __bitwise __be32; typedef 31 typedef __u64 __bitwise __le64; typedef 32 typedef __u64 __bitwise __be64; typedef 34 typedef __u16 __bitwise __sum16; typedef 35 typedef __u32 __bitwise __wsum; typedef [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/include/linux/netfilter_ipv6/ |
H A D | ip6_tables.h | 16 #define _IP6_TABLES_H macro 24 #define IP6T_FUNCTION_MAXNAMELEN macro 25 #define IP6T_TABLE_MAXNAMELEN macro 27 #define ip6t_match macro 28 #define ip6t_target macro 29 #define ip6t_table macro 30 #define ip6t_get_revision macro 33 struct ip6t_ip6 { struct 35 struct in6_addr src, dst; member in struct:ip6t_ip6 37 struct in6_addr smsk, dmsk; member in struct:ip6t_ip6 38 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member in struct:ip6t_ip6 39 unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ]; member in struct:ip6t_ip6 49 u_int16_t proto; member in struct:ip6t_ip6 51 u_int8_t tos; member in struct:ip6t_ip6 54 u_int8_t flags; member in struct:ip6t_ip6 56 u_int8_t invflags; member in struct:ip6t_ip6 59 #define ip6t_entry_match macro 60 #define ip6t_entry_target macro 61 #define ip6t_standard_target macro 63 #define ip6t_counters macro 66 #define IP6T_F_PROTO macro 68 #define IP6T_F_TOS macro 69 #define IP6T_F_GOTO macro 70 #define IP6T_F_MASK macro 73 #define IP6T_INV_VIA_IN macro 74 #define IP6T_INV_VIA_OUT macro 75 #define IP6T_INV_TOS macro 76 #define IP6T_INV_SRCIP macro 77 #define IP6T_INV_DSTIP macro 78 #define IP6T_INV_FRAG macro 79 #define IP6T_INV_PROTO macro 80 #define IP6T_INV_MASK macro 85 struct ip6t_entry { struct 86 struct ip6t_ip6 ipv6; member in struct:ip6t_entry 89 unsigned int nfcache; member in struct:ip6t_entry 92 u_int16_t target_offset; member in struct:ip6t_entry 94 u_int16_t next_offset; member in struct:ip6t_entry 97 unsigned int comefrom; member in struct:ip6t_entry 100 struct xt_counters counters; member in struct:ip6t_entry 103 unsigned char elems[0]; member in struct:ip6t_entry 107 struct ip6t_standard { struct 108 struct ip6t_entry entry; member in struct:ip6t_standard 109 struct ip6t_standard_target target; member in struct:ip6t_standard 112 struct ip6t_error_target { struct 113 struct ip6t_entry_target target; member in struct:ip6t_error_target 114 char errorname[IP6T_FUNCTION_MAXNAMELEN]; member in struct:ip6t_error_target 117 struct ip6t_error { struct 118 struct ip6t_entry entry; member in struct:ip6t_error 119 struct ip6t_error_target target; member in struct:ip6t_error 122 #define IP6T_ENTRY_INIT macro 128 #define IP6T_STANDARD_INIT macro 136 #define IP6T_ERROR_INIT macro 151 #define IP6T_BASE_CTL macro 153 #define IP6T_SO_SET_REPLACE macro 154 #define IP6T_SO_SET_ADD_COUNTERS macro 155 #define IP6T_SO_SET_MAX macro 157 #define IP6T_SO_GET_INFO macro 158 #define IP6T_SO_GET_ENTRIES macro 159 #define IP6T_SO_GET_REVISION_MATCH macro 160 #define IP6T_SO_GET_REVISION_TARGET macro 161 #define IP6T_SO_GET_MAX macro 164 #define IP6T_CONTINUE macro 167 #define IP6T_RETURN macro 172 #define ip6t_tcp macro 173 #define ip6t_udp macro 176 #define IP6T_TCP_INV_SRCPT macro 177 #define IP6T_TCP_INV_DSTPT macro 178 #define IP6T_TCP_INV_FLAGS macro 179 #define IP6T_TCP_INV_OPTION macro 180 #define IP6T_TCP_INV_MASK macro 183 #define IP6T_UDP_INV_SRCPT macro 184 #define IP6T_UDP_INV_DSTPT macro 185 #define IP6T_UDP_INV_MASK macro 188 struct ip6t_icmp { struct 189 u_int8_t type; /* type to match */ member in struct:ip6t_icmp 190 u_int8_t code[2]; /* range of code */ member in struct:ip6t_icmp 191 u_int8_t invflags; /* Inverse flags */ member in struct:ip6t_icmp 195 #define IP6T_ICMP_INV macro 198 struct ip6t_getinfo { struct 200 char name[IP6T_TABLE_MAXNAMELEN]; member in struct:ip6t_getinfo 204 unsigned int valid_hooks; member in struct:ip6t_getinfo 207 unsigned int hook_entry[NF_INET_NUMHOOKS]; member in struct:ip6t_getinfo 210 unsigned int underflow[NF_INET_NUMHOOKS]; member in struct:ip6t_getinfo 213 unsigned int num_entries; member in struct:ip6t_getinfo 216 unsigned int size; member in struct:ip6t_getinfo 220 struct ip6t_replace { struct 222 char name[IP6T_TABLE_MAXNAMELEN]; member in struct:ip6t_replace 226 unsigned int valid_hooks; member in struct:ip6t_replace 229 unsigned int num_entries; member in struct:ip6t_replace 232 unsigned int size; member in struct:ip6t_replace 235 unsigned int hook_entry[NF_INET_NUMHOOKS]; member in struct:ip6t_replace 238 unsigned int underflow[NF_INET_NUMHOOKS]; member in struct:ip6t_replace 242 unsigned int num_counters; member in struct:ip6t_replace 244 struct xt_counters *counters; member in struct:ip6t_replace 247 struct ip6t_entry entries[0]; member in struct:ip6t_replace 251 #define ip6t_counters_info macro 254 struct ip6t_get_entries { struct 256 char name[IP6T_TABLE_MAXNAMELEN]; member in struct:ip6t_get_entries 259 unsigned int size; member in struct:ip6t_get_entries 262 struct ip6t_entry entrytable[0]; member in struct:ip6t_get_entries 266 #define IP6T_STANDARD_TARGET macro 268 #define IP6T_ERROR_TARGET macro 272 ip6t_get_target(struct ip6t_entry *e) argument 278 #define IP6T_MATCH_ITERATE macro 282 #define IP6T_ENTRY_ITERATE macro [all...] |
H A D | ip6t_HL.h | 6 #define _IP6T_HL_H macro 9 IP6T_HL_SET = 0, enumerator in enum:__anon1330 10 IP6T_HL_INC, enumerator in enum:__anon1330 11 IP6T_HL_DEC enumerator in enum:__anon1330 14 #define IP6T_HL_MAXMODE macro 16 struct ip6t_HL_info { struct 17 u_int8_t mode; member in struct:ip6t_HL_info 18 u_int8_t hop_limit; member in struct:ip6t_HL_info [all...] |
H A D | ip6t_LOG.h | 2 #define _IP6T_LOG_H macro 5 #define IP6T_LOG_TCPSEQ macro 6 #define IP6T_LOG_TCPOPT macro 7 #define IP6T_LOG_IPOPT macro 8 #define IP6T_LOG_UID macro 9 #define IP6T_LOG_NFLOG macro 10 #define IP6T_LOG_MACDECODE macro 11 #define IP6T_LOG_MASK macro 13 struct ip6t_log_info { struct 14 unsigned char level; member in struct:ip6t_log_info 15 unsigned char logflags; member in struct:ip6t_log_info 16 char prefix[30]; member in struct:ip6t_log_info [all...] |
H A D | ip6t_REJECT.h | 2 #define _IP6T_REJECT_H macro 4 enum ip6t_reject_with { enum 5 IP6T_ICMP6_NO_ROUTE, enumerator in enum:ip6t_reject_with 6 IP6T_ICMP6_ADM_PROHIBITED, enumerator in enum:ip6t_reject_with 7 IP6T_ICMP6_NOT_NEIGHBOUR, enumerator in enum:ip6t_reject_with 8 IP6T_ICMP6_ADDR_UNREACH, enumerator in enum:ip6t_reject_with 9 IP6T_ICMP6_PORT_UNREACH, enumerator in enum:ip6t_reject_with 10 IP6T_ICMP6_ECHOREPLY, enumerator in enum:ip6t_reject_with 11 IP6T_TCP_RESET enumerator in enum:ip6t_reject_with 14 struct ip6t_reject_info { struct 15 u_int32_t with; /* reject type */ member in struct:ip6t_reject_info [all...] |
H A D | ip6t_ah.h | 2 #define _IP6T_AH_H macro 4 struct ip6t_ah { struct 5 u_int32_t spis[2]; /* Security Paramete member in struct:ip6t_ah 6 u_int32_t hdrlen; /* Header Length */ member in struct:ip6t_ah 7 u_int8_t hdrres; /* Test of the Reserved Filed */ member in struct:ip6t_ah 8 u_int8_t invflags; /* Inverse flags */ member in struct:ip6t_ah 11 #define IP6T_AH_SPI macro 12 #define IP6T_AH_LEN macro 13 #define IP6T_AH_RES macro 16 #define IP6T_AH_INV_SPI macro 17 #define IP6T_AH_INV_LEN macro 18 #define IP6T_AH_INV_MASK macro [all...] |
H A D | ip6t_frag.h | 2 #define _IP6T_FRAG_H macro 4 struct ip6t_frag { struct 5 u_int32_t ids[2]; /* Security Paramete member in struct:ip6t_frag 6 u_int32_t hdrlen; /* Header Length */ member in struct:ip6t_frag 7 u_int8_t flags; /* */ member in struct:ip6t_frag 8 u_int8_t invflags; /* Inverse flags */ member in struct:ip6t_frag 11 #define IP6T_FRAG_IDS macro 12 #define IP6T_FRAG_LEN macro 13 #define IP6T_FRAG_RES macro 14 #define IP6T_FRAG_FST macro 15 #define IP6T_FRAG_MF macro 16 #define IP6T_FRAG_NMF macro 19 #define IP6T_FRAG_INV_IDS macro 20 #define IP6T_FRAG_INV_LEN macro 21 #define IP6T_FRAG_INV_MASK macro [all...] |
H A D | ip6t_hl.h | 6 #define _IP6T_HL_H macro 9 IP6T_HL_EQ = 0, /* equals */ enumerator in enum:__anon1331 10 IP6T_HL_NE, /* not equals */ enumerator in enum:__anon1331 11 IP6T_HL_LT, /* less than */ enumerator in enum:__anon1331 12 IP6T_HL_GT, /* greater than */ enumerator in enum:__anon1331 16 struct ip6t_hl_info { struct 17 u_int8_t mode; member in struct:ip6t_hl_info 18 u_int8_t hop_limit; member in struct:ip6t_hl_info [all...] |
H A D | ip6t_ipv6header.h | 9 #define __IPV6HEADER_H macro 11 struct ip6t_ipv6header_info { struct 12 u_int8_t matchflags; member in struct:ip6t_ipv6header_info 13 u_int8_t invflags; member in struct:ip6t_ipv6header_info 14 u_int8_t modeflag; member in struct:ip6t_ipv6header_info 17 #define MASK_HOPOPTS macro 18 #define MASK_DSTOPTS macro 19 #define MASK_ROUTING macro 20 #define MASK_FRAGMENT macro 21 #define MASK_AH macro 22 #define MASK_ESP macro 23 #define MASK_NONE macro 24 #define MASK_PROTO macro [all...] |
H A D | ip6t_mh.h | 2 #define _IP6T_MH_H macro 5 struct ip6t_mh { struct 6 u_int8_t type member in struct:ip6t_mh 7 u_int8_t invflags; /* Inverse flags */ member in struct:ip6t_mh 11 #define IP6T_MH_INV_TYPE macro 12 #define IP6T_MH_INV_MASK macro [all...] |
H A D | ip6t_opts.h | 2 #define _IP6T_OPTS_H macro 4 #define IP6T_OPTS_OPTSNR 16 macro 6 struct ip6t_opts { struct 7 u_int32_t hdrle member in struct:ip6t_opts 8 u_int8_t flags; /* */ member in struct:ip6t_opts 9 u_int8_t invflags; /* Inverse flags */ member in struct:ip6t_opts 10 u_int16_t opts[IP6T_OPTS_OPTSNR]; /* opts */ member in struct:ip6t_opts 11 u_int8_t optsnr; /* Nr of OPts */ member in struct:ip6t_opts 14 #define IP6T_OPTS_LEN macro 15 #define IP6T_OPTS_OPTS macro 16 #define IP6T_OPTS_NSTRICT macro 19 #define IP6T_OPTS_INV_LEN macro 20 #define IP6T_OPTS_INV_MASK macro [all...] |
H A D | ip6t_rt.h | 2 #define _IP6T_RT_H macro 6 #define IP6T_RT_HOP macro 8 struct ip6t_rt { struct 9 u_int32_t rt_type; /* Routing Type */ member in struct:ip6t_rt 10 u_int32_t segsleft[2]; /* Segments Left */ member in struct:ip6t_rt 11 u_int32_t hdrlen; /* Header Length */ member in struct:ip6t_rt 12 u_int8_t flags; /* */ member in struct:ip6t_rt 13 u_int8_t invflags; /* Inverse flags */ member in struct:ip6t_rt 14 struct in6_addr addrs[IP6T_RT_HOPS]; /* Hops */ member in struct:ip6t_rt 15 u_int8_t addrnr; /* Nr of Addresses */ member in struct:ip6t_rt 18 #define IP6T_RT_TYP macro 19 #define IP6T_RT_SGS macro 20 #define IP6T_RT_LEN macro 21 #define IP6T_RT_RES macro 22 #define IP6T_RT_FST_MASK macro 23 #define IP6T_RT_FST macro 24 #define IP6T_RT_FST_NSTRICT macro 27 #define IP6T_RT_INV_TYP macro 28 #define IP6T_RT_INV_SGS macro 29 #define IP6T_RT_INV_LEN macro 30 #define IP6T_RT_INV_MASK macro [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/include/net/netfilter/ |
H A D | nf_conntrack_tuple.h | 15 #define _NF_CONNTRACK_TUPLE_H macro 28 #define NF_CT_TUPLE_L3SIZE macro 32 union nf_conntrack_man_proto union 35 __be16 all; member in union:nf_conntrack_man_proto 38 __be16 port; member in struct:nf_conntrack_man_proto::__anon1332 39 } tcp; member in union:nf_conntrack_man_proto 41 __be16 port; member in struct:nf_conntrack_man_proto::__anon1333 42 } udp; member in union:nf_conntrack_man_proto 44 __be16 id; member in struct:nf_conntrack_man_proto::__anon1334 45 } icmp; member in union:nf_conntrack_man_proto 47 __be16 port; member in struct:nf_conntrack_man_proto::__anon1335 48 } dccp; member in union:nf_conntrack_man_proto 50 __be16 port; member in struct:nf_conntrack_man_proto::__anon1336 51 } sctp; member in union:nf_conntrack_man_proto 53 __be16 key; /* GRE key is 32bit, PPtP only uses 16bit */ member in struct:nf_conntrack_man_proto::__anon1337 54 } gre; member in union:nf_conntrack_man_proto 58 struct nf_conntrack_man struct 60 union nf_inet_addr u3; member in struct:nf_conntrack_man 61 union nf_conntrack_man_proto u; member in struct:nf_conntrack_man 63 u_int16_t l3num; member in struct:nf_conntrack_man 67 struct nf_conntrack_tuple struct 69 struct nf_conntrack_man src; member in struct:nf_conntrack_tuple 73 union nf_inet_addr u3; member in struct:nf_conntrack_tuple::__anon1338 76 __be16 all; member in union:nf_conntrack_tuple::__anon1338::__anon1339 79 __be16 port; member in struct:nf_conntrack_tuple::__anon1338::__anon1339::__anon1340 80 } tcp; member in union:nf_conntrack_tuple::__anon1338::__anon1339 82 __be16 port; member in struct:nf_conntrack_tuple::__anon1338::__anon1339::__anon1341 83 } udp; member in union:nf_conntrack_tuple::__anon1338::__anon1339 85 u_int8_t type, code; member in struct:nf_conntrack_tuple::__anon1338::__anon1339::__anon1342 86 } icmp; member in union:nf_conntrack_tuple::__anon1338::__anon1339 88 __be16 port; member in struct:nf_conntrack_tuple::__anon1338::__anon1339::__anon1343 89 } dccp; member in union:nf_conntrack_tuple::__anon1338::__anon1339 91 __be16 port; member in struct:nf_conntrack_tuple::__anon1338::__anon1339::__anon1344 92 } sctp; member in union:nf_conntrack_tuple::__anon1338::__anon1339 94 __be16 key; member in struct:nf_conntrack_tuple::__anon1338::__anon1339::__anon1345 95 } gre; member in union:nf_conntrack_tuple::__anon1338::__anon1339 96 } u; member in struct:nf_conntrack_tuple::__anon1338 99 u_int8_t protonum; member in struct:nf_conntrack_tuple::__anon1338 102 u_int8_t dir; member in struct:nf_conntrack_tuple::__anon1338 103 } dst; member in struct:nf_conntrack_tuple 106 struct nf_conntrack_tuple_mask struct 109 union nf_inet_addr u3; member in struct:nf_conntrack_tuple_mask::__anon1346 110 union nf_conntrack_man_proto u; member in struct:nf_conntrack_tuple_mask::__anon1346 111 } src; member in struct:nf_conntrack_tuple_mask [all...] |
H A D | nf_nat.h | 2 #define _NF_NAT_H macro 6 #define NF_NAT_MAPPING_TYPE_MAX_NAMELEN macro 8 enum nf_nat_manip_type enum 10 IP_NAT_MANIP_SRC, enumerator in enum:nf_nat_manip_type 11 IP_NAT_MANIP_DST enumerator in enum:nf_nat_manip_type 15 #define HOOK2MANIP macro 18 #define IP_NAT_RANGE_MAP_IPS macro 19 #define IP_NAT_RANGE_PROTO_SPECIFIED macro 20 #define IP_NAT_RANGE_PROTO_RANDOM macro 21 #define IP_NAT_RANGE_PERSISTENT macro 24 struct nf_nat_seq { struct 26 u_int32_t correction_pos; member in struct:nf_nat_seq 29 int16_t offset_before, offset_after; member in struct:nf_nat_seq 33 struct nf_nat_range struct 36 unsigned int flags; member in struct:nf_nat_range 39 __be32 min_ip, max_ip; member in struct:nf_nat_range 42 union nf_conntrack_man_proto min, max; member in struct:nf_nat_range 46 struct nf_nat_multi_range_compat struct 48 unsigned int rangesize; /* Must be 1. */ member in struct:nf_nat_multi_range_compat 51 struct nf_nat_range range[1]; member in struct:nf_nat_multi_range_compat 54 #define nf_nat_multi_range macro [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/include/ |
H A D | xtables.h | 2 #define _XTABLES_H macro 22 #define IPPROTO_SCTP macro 25 #define IPPROTO_DCCP macro 28 # define IPPROTO_MH macro 31 #define IPPROTO_UDPLITE macro 34 #define XTABLES_VERSION macro 35 #define XTABLES_VERSION_CODE macro 43 #define XTOPT_POINTER macro 46 #define XTOPT_TABLEEND macro 74 enum xt_option_type { enum 75 XTTYPE_NONE, enumerator in enum:xt_option_type 76 XTTYPE_UINT8, enumerator in enum:xt_option_type 77 XTTYPE_UINT16, enumerator in enum:xt_option_type 78 XTTYPE_UINT32, enumerator in enum:xt_option_type 79 XTTYPE_UINT64, enumerator in enum:xt_option_type 80 XTTYPE_UINT8RC, enumerator in enum:xt_option_type 81 XTTYPE_UINT16RC, enumerator in enum:xt_option_type 82 XTTYPE_UINT32RC, enumerator in enum:xt_option_type 83 XTTYPE_UINT64RC, enumerator in enum:xt_option_type 84 XTTYPE_DOUBLE, enumerator in enum:xt_option_type 85 XTTYPE_STRING, enumerator in enum:xt_option_type 86 XTTYPE_TOSMASK, enumerator in enum:xt_option_type 87 XTTYPE_MARKMASK32, enumerator in enum:xt_option_type 88 XTTYPE_SYSLOGLEVEL, enumerator in enum:xt_option_type 89 XTTYPE_HOST, enumerator in enum:xt_option_type 90 XTTYPE_HOSTMASK, enumerator in enum:xt_option_type 91 XTTYPE_PROTOCOL, enumerator in enum:xt_option_type 92 XTTYPE_PORT, enumerator in enum:xt_option_type 93 XTTYPE_PORTRC, enumerator in enum:xt_option_type 94 XTTYPE_PLEN, enumerator in enum:xt_option_type 95 XTTYPE_PLENMASK, enumerator in enum:xt_option_type 96 XTTYPE_ETHERMAC, enumerator in enum:xt_option_type 107 enum xt_option_flags { enum 108 XTOPT_INVERT = 1 << 0, enumerator in enum:xt_option_flags 109 XTOPT_MAND = 1 << 1, enumerator in enum:xt_option_flags 110 XTOPT_MULTI = 1 << 2, enumerator in enum:xt_option_flags 111 XTOPT_PUT = 1 << 3, enumerator in enum:xt_option_flags 112 XTOPT_NBO = 1 << 4, enumerator in enum:xt_option_flags 127 struct xt_option_entry { struct 128 const char *name; member in struct:xt_option_entry 129 enum xt_option_type type; member in struct:xt_option_entry 130 unsigned int id, excl, also, flags; member in struct:xt_option_entry 131 unsigned int ptroff; member in struct:xt_option_entry 132 size_t size; member in struct:xt_option_entry 133 unsigned int min, max; member in struct:xt_option_entry 148 struct xt_option_call { struct 149 const char *arg, *ext_name; member in struct:xt_option_call 150 const struct xt_option_entry *entry; member in struct:xt_option_call 151 void *data; member in struct:xt_option_call 152 unsigned int xflags; member in struct:xt_option_call 153 bool invert; member in struct:xt_option_call 154 uint8_t nvals; member in struct:xt_option_call 156 uint8_t u8, u8_range[2], syslog_level, protocol; member in union:xt_option_call::__anon1347 157 uint16_t u16, u16_range[2], port, port_range[2]; member in union:xt_option_call::__anon1347 158 uint32_t u32, u32_range[2]; member in union:xt_option_call::__anon1347 159 uint64_t u64, u64_range[2]; member in union:xt_option_call::__anon1347 160 double dbl; member in union:xt_option_call::__anon1347 162 union nf_inet_addr haddr, hmask; member in struct:xt_option_call::__anon1347::__anon1348 163 uint8_t hlen; member in struct:xt_option_call::__anon1347::__anon1348 166 uint8_t tos_value, tos_mask; member in struct:xt_option_call::__anon1347::__anon1349 169 uint32_t mark, mask; member in struct:xt_option_call::__anon1347::__anon1350 171 uint8_t ethermac[6]; member in union:xt_option_call::__anon1347 172 } val; member in struct:xt_option_call 175 struct xt_entry_match **match; member in union:xt_option_call::__anon1351 176 struct xt_entry_target **target; member in union:xt_option_call::__anon1351 178 void *xt_entry; member in struct:xt_option_call 179 void *udata; member in struct:xt_option_call 189 struct xt_fcheck_call { struct 190 const char *ext_name; member in struct:xt_fcheck_call 191 void *data, *udata; member in struct:xt_fcheck_call 192 unsigned int xflags; member in struct:xt_fcheck_call 199 struct xtables_lmap { struct 200 char *name; member in struct:xtables_lmap 201 int id; member in struct:xtables_lmap 202 struct xtables_lmap *next; member in struct:xtables_lmap 206 struct xtables_match struct 212 const char *version; member in struct:xtables_match 214 struct xtables_match *next; member in struct:xtables_match 216 const char *name; member in struct:xtables_match 219 u_int8_t revision; member in struct:xtables_match 221 u_int16_t family; member in struct:xtables_match 224 size_t size; member in struct:xtables_match 227 size_t userspacesize; member in struct:xtables_match 230 void (*help)(void); member in struct:xtables_match 233 void (*init)(struct xt_entry_match *m); member in struct:xtables_match 238 int (*parse)(int c, char **argv, int invert, unsigned int *flags, member in struct:xtables_match 243 void (*final_check)(unsigned int flags); member in struct:xtables_match 247 void (*print)(const void *ip, member in struct:xtables_match 252 void (*save)(const void *ip, const struct xt_entry_match *match); member in struct:xtables_match 255 const struct option *extra_opts; member in struct:xtables_match 258 void (*x6_parse)(struct xt_option_call *); member in struct:xtables_match 259 void (*x6_fcheck)(struct xt_fcheck_call *); member in struct:xtables_match 260 const struct xt_option_entry *x6_options; member in struct:xtables_match 263 size_t udata_size; member in struct:xtables_match 266 void *udata; member in struct:xtables_match 267 unsigned int option_offset; member in struct:xtables_match 268 struct xt_entry_match *m; member in struct:xtables_match 269 unsigned int mflags; member in struct:xtables_match 270 unsigned int loaded; /* simulate loading so options are merged properly */ member in struct:xtables_match 273 struct xtables_target struct 279 const char *version; member in struct:xtables_target 281 struct xtables_target *next; member in struct:xtables_target 284 const char *name; member in struct:xtables_target 287 u_int8_t revision; member in struct:xtables_target 289 u_int16_t family; member in struct:xtables_target 293 size_t size; member in struct:xtables_target 296 size_t userspacesize; member in struct:xtables_target 299 void (*help)(void); member in struct:xtables_target 302 void (*init)(struct xt_entry_target *t); member in struct:xtables_target 307 int (*parse)(int c, char **argv, int invert, unsigned int *flags, member in struct:xtables_target 312 void (*final_check)(unsigned int flags); member in struct:xtables_target 315 void (*print)(const void *ip, member in struct:xtables_target 319 void (*save)(const void *ip, member in struct:xtables_target 323 const struct option *extra_opts; member in struct:xtables_target 326 void (*x6_parse)(struct xt_option_call *); member in struct:xtables_target 327 void (*x6_fcheck)(struct xt_fcheck_call *); member in struct:xtables_target 328 const struct xt_option_entry *x6_options; member in struct:xtables_target 330 size_t udata_size; member in struct:xtables_target 333 void *udata; member in struct:xtables_target 334 unsigned int option_offset; member in struct:xtables_target 335 struct xt_entry_target *t; member in struct:xtables_target 336 unsigned int tflags; member in struct:xtables_target 337 unsigned int used; member in struct:xtables_target 338 unsigned int loaded; /* simulate loading so options are merged properly */ member in struct:xtables_target 341 struct xtables_rule_match { struct 342 struct xtables_rule_match *next; member in struct:xtables_rule_match 343 struct xtables_match *match; member in struct:xtables_rule_match 346 bool completed; member in struct:xtables_rule_match 355 struct xtables_pprot { struct 356 const char *name; member in struct:xtables_pprot 357 u_int8_t num; member in struct:xtables_pprot 360 enum xtables_tryload { enum 361 XTF_DONT_LOAD, enumerator in enum:xtables_tryload 362 XTF_DURING_LOAD, enumerator in enum:xtables_tryload 363 XTF_TRY_LOAD, enumerator in enum:xtables_tryload 364 XTF_LOAD_MUST_SUCCEED, enumerator in enum:xtables_tryload 367 enum xtables_exittype { enum 368 OTHER_PROBLEM = 1, enumerator in enum:xtables_exittype 369 PARAMETER_PROBLEM, enumerator in enum:xtables_exittype 370 VERSION_PROBLEM, enumerator in enum:xtables_exittype 371 RESOURCE_PROBLEM, enumerator in enum:xtables_exittype 372 XTF_ONLY_ONCE, enumerator in enum:xtables_exittype 373 XTF_NO_INVERT, enumerator in enum:xtables_exittype 374 XTF_BAD_VALUE, enumerator in enum:xtables_exittype 375 XTF_ONE_ACTION, enumerator in enum:xtables_exittype 378 struct xtables_globals struct 380 unsigned int option_offset; member in struct:xtables_globals 381 const char *program_name, *program_version; member in struct:xtables_globals 382 struct option *orig_opts; member in struct:xtables_globals 383 struct option *opts; member in struct:xtables_globals 384 void (*exit_err)(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3))); member in struct:xtables_globals 387 #define XT_GETOPT_TABLEEND macro 433 #define aligned_u64 macro 436 #define xtables_error macro 467 # undef _init macro 468 # define _init macro 474 # define _init macro 506 # define ARRAY_SIZE macro [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/iptables/ |
H A D | Makefile | 23 pkgincludedir = $(includedir)/iptables macro 24 pkglibdir = $(libdir)/iptables macro 25 pkglibexecdir = $(libexecdir)/iptables macro 26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd macro 27 install_sh_DATA = $(install_sh) -c -m 644 macro 28 install_sh_PROGRAM = $(install_sh) -c macro 29 install_sh_SCRIPT = $(install_sh) -c macro 30 INSTALL_HEADER = $(INSTALL_DATA) macro 31 transform = $(program_transform_name) macro 32 NORMAL_INSTALL = : macro 33 PRE_INSTALL = : macro 34 POST_INSTALL = : macro 35 NORMAL_UNINSTALL = : macro 36 PRE_UNINSTALL = : macro 37 POST_UNINSTALL = : macro 38 build_triplet = i686-pc-linux-gnu macro 39 host_triplet = mipsel-unknown-linux-gnu macro 40 am__append_1 = -DALL_INCLUSIVE macro 41 am__append_2 = iptables-save.c iptables-restore.c \\ macro 44 am__append_3 = -DENABLE_IPV4 macro 45 am__append_4 = ../libiptc/libip4tc.la ../extensions/libext4.a macro 46 am__append_5 = ip6tables-save.c ip6tables-restore.c \\ macro 49 am__append_6 = -DENABLE_IPV6 macro 50 am__append_7 = ../libiptc/libip6tc.la ../extensions/libext6.a macro 51 sbin_PROGRAMS = xtables-multi$(EXEEXT) macro 52 subdir = iptables macro 53 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \\ macro 55 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 macro 56 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_linker_flags.m4 \\ macro 60 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\ macro 62 mkinstalldirs = $(install_sh) -d macro 63 CONFIG_HEADER = $(top_builddir)/config.h macro 64 CONFIG_CLEAN_FILES = xtables.pc macro 65 CONFIG_CLEAN_VPATH_FILES = macro 66 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; macro 67 am__vpath_adj = case $$p in \\ macro 71 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; macro 72 am__install_max = 40 macro 73 am__nobase_strip_setup = \\ macro 75 am__nobase_strip = \\ macro 77 am__nobase_list = $(am__nobase_strip_setup); \\ macro 84 am__base_list = \\ macro 87 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sbindir)" \\ macro 90 LTLIBRARIES = $(lib_LTLIBRARIES) macro 91 libxtables_la_DEPENDENCIES = macro 92 am_libxtables_la_OBJECTS = libxtables_la-xtables.lo \\ macro 94 libxtables_la_OBJECTS = $(am_libxtables_la_OBJECTS) macro 95 libxtables_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro 98 PROGRAMS = $(sbin_PROGRAMS) macro 99 am__xtables_multi_SOURCES_DIST = xtables-multi.c iptables-xml.c \\ macro 103 am__objects_1 = \\ macro 108 am__objects_2 = \\ macro 113 am_xtables_multi_OBJECTS = xtables_multi-xtables-multi.$(OBJEXT) \\ macro 116 xtables_multi_OBJECTS = $(am_xtables_multi_OBJECTS) macro 117 xtables_multi_DEPENDENCIES = ../extensions/libext.a $(am__append_4) \\ macro 119 xtables_multi_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro 122 DEFAULT_INCLUDES = -I. -I$(top_builddir) macro 123 depcomp = $(SHELL) $(top_srcdir)/depcomp macro 124 am__depfiles_maybe = depfiles macro 125 am__mv = mv -f macro 126 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \\ macro 128 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \\ macro 131 CCLD = $(CC) macro 132 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \\ macro 135 SOURCES = $(libxtables_la_SOURCES) $(xtables_multi_SOURCES) macro 136 DIST_SOURCES = $(libxtables_la_SOURCES) \\ macro 138 man1dir = $(mandir)/man1 macro 139 man8dir = $(mandir)/man8 macro 140 NROFF = nroff macro 141 MANS = $(man_MANS) macro 142 DATA = $(pkgconfig_DATA) macro 143 ETAGS = etags macro 144 CTAGS = ctags macro 145 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) macro 146 pkgdatadir = ${datadir}/xtables macro 147 ACLOCAL = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run aclocal-1.11 macro 148 AMTAR = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run tar macro 149 AR = mipsel-uclibc-linux26-ar macro 150 AUTOCONF = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run autoconf macro 151 AUTOHEADER = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run autoheader macro 152 AUTOMAKE = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run automake-1.11 macro 153 AWK = gawk macro 154 CC = mipsel-uclibc-linux26-gcc macro 155 CCDEPMODE = depmode=gcc3 macro 156 CFLAGS = -g -O2 macro 157 CPP = mipsel-uclibc-linux26-gcc -E macro 158 CPPFLAGS = macro 159 CYGPATH_W = echo macro 160 DEFS = -DHAVE_CONFIG_H macro 161 DEPDIR = .deps macro 162 DSYMUTIL = macro 163 DUMPBIN = macro 164 ECHO_C = macro 165 ECHO_N = -n macro 166 ECHO_T = macro 167 EGREP = /bin/grep -E macro 168 EXEEXT = macro 169 FGREP = /bin/grep -F macro 170 GREP = /bin/grep macro 171 INSTALL = /usr/bin/install -c macro 172 INSTALL_DATA = ${INSTALL} -m 644 macro 173 INSTALL_PROGRAM = ${INSTALL} macro 174 INSTALL_SCRIPT = ${INSTALL} macro 175 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s macro 176 LD = mipsel-uclibc-linux26-ld macro 177 LDFLAGS = macro 178 LIBOBJS = macro 179 LIBS = macro 180 LIBTOOL = $(SHELL) $(top_builddir)/libtool macro 181 LIPO = macro 182 LN_S = ln -s macro 183 LTLIBOBJS = macro 184 MAKEINFO = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run makeinfo macro 185 MKDIR_P = /bin/mkdir -p macro 186 NM = mipsel-uclibc-linux26-nm macro 187 NMEDIT = macro 188 OBJDUMP = mipsel-linux-objdump macro 189 OBJEXT = o macro 190 OTOOL = macro 191 OTOOL64 = macro 192 PACKAGE = iptables macro 193 PACKAGE_BUGREPORT = macro 194 PACKAGE_NAME = iptables macro 195 PACKAGE_STRING = iptables 1.4.12.1 macro 196 PACKAGE_TARNAME = iptables macro 197 PACKAGE_URL = macro 198 PACKAGE_VERSION = 1.4.12.1 macro 199 PATH_SEPARATOR = : macro 200 PKG_CONFIG = /usr/bin/pkg-config macro 201 PKG_CONFIG_LIBDIR = macro 202 PKG_CONFIG_PATH = macro 203 RANLIB = mipsel-uclibc-linux26-ranlib macro 204 SED = /bin/sed macro 205 SET_MAKE = macro 206 SHELL = /bin/sh macro 207 STRIP = mipsel-linux-strip macro 208 VERSION = 1.4.12.1 macro 209 abs_builddir = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/iptables macro 210 abs_srcdir = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/iptables macro 211 abs_top_builddir = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1 macro 212 abs_top_srcdir = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1 macro 213 ac_ct_CC = macro 214 ac_ct_DUMPBIN = macro 215 am__include = include macro 216 am__leading_dot = . macro 217 am__quote = macro 218 am__tar = ${AMTAR} chof - "$$tardir" macro 219 am__untar = ${AMTAR} xf - macro 220 bindir = ${exec_prefix}/bin macro 221 blacklist_modules = ipvs macro 222 build = i686-pc-linux-gnu macro 223 build_alias = macro 224 build_cpu = i686 macro 225 build_os = linux-gnu macro 226 build_vendor = pc macro 227 builddir = . macro 228 datadir = ${datarootdir} macro 229 datarootdir = ${prefix}/share macro 230 docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} macro 231 dvidir = ${docdir} macro 232 exec_prefix = ${prefix} macro 233 host = mipsel-unknown-linux-gnu macro 234 host_alias = mipsel-linux macro 235 host_cpu = mipsel macro 236 host_os = linux-gnu macro 237 host_vendor = unknown macro 238 htmldir = ${docdir} macro 239 includedir = ${prefix}/include macro 240 infodir = ${datarootdir}/info macro 241 install_sh = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/install-sh macro 242 kbuilddir = macro 243 kinclude_CPPFLAGS = -I../../../src/linux/linux-2.6/include macro 244 ksourcedir = ../../../src/linux/linux-2.6 macro 245 libdir = ${exec_prefix}/lib macro 246 libexecdir = ${exec_prefix}/libexec macro 247 libiptc_LDFLAGS2 = -Wl,--no-as-needed macro 248 libnfnetlink_CFLAGS = macro 249 libnfnetlink_LIBS = macro 250 libxtables_vage = 0 macro 251 libxtables_vcurrent = 7 macro 252 libxtables_vmajor = 7 macro 253 localedir = ${datarootdir}/locale macro 254 localstatedir = ${prefix}/var macro 255 lt_ECHO = echo macro 256 mandir = ${datarootdir}/man macro 257 mkdir_p = /bin/mkdir -p macro 258 oldincludedir = /usr/include macro 259 pdfdir = ${docdir} macro 260 pkgconfigdir = ${libdir}/pkgconfig macro 261 prefix = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/tmp macro 262 program_transform_name = s,x,x, macro 263 psdir = ${docdir} macro 264 regular_CFLAGS = -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe macro 265 regular_CPPFLAGS = -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\\"${xtlibdir}\\" -DXTABLES_INTERNAL macro 266 sbindir = ${TARGETDIR}/sbin macro 267 sharedstatedir = ${prefix}/com macro 268 srcdir = . macro 269 sysconfdir = ${prefix}/etc macro 270 target_alias = macro 271 top_build_prefix = ../ macro 272 top_builddir = .. macro 273 top_srcdir = .. macro 274 xtlibdir = ${exec_prefix}/lib/xtables macro 275 AM_CFLAGS = ${regular_CFLAGS} macro 276 AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include ${kinclude_CPPFLAGS} macro 277 lib_LTLIBRARIES = libxtables.la macro 278 libxtables_la_SOURCES = xtables.c xtoptions.c macro 279 libxtables_la_LDFLAGS = -version-info ${libxtables_vcurrent}:0:${libxtables_vage} macro 280 libxtables_la_CFLAGS = ${AM_CFLAGS} -DNO_SHARED_LIBS=1 macro 282 libxtables_la_LIBADD = macro 284 xtables_multi_SOURCES = xtables-multi.c iptables-xml.c $(am__append_2) \\ macro 286 xtables_multi_CFLAGS = ${AM_CFLAGS} $(am__append_1) $(am__append_3) \\ macro 288 xtables_multi_LDFLAGS = -rdynamic macro 289 xtables_multi_LDADD = ../extensions/libext.a $(am__append_4) \\ macro 291 man_MANS = iptables.8 iptables-restore.8 iptables-save.8 \\ macro 295 CLEANFILES = iptables.8 ip6tables.8 macro 296 vx_bin_links = iptables-xml macro 297 v4_sbin_links = iptables iptables-restore iptables-save macro 298 v6_sbin_links = ip6tables ip6tables-restore ip6tables-save macro 299 pkgconfig_DATA = xtables.pc macro [all...] |
H A D | ip6tables-multi.h | 2 #define _IP6TABLES_MULTI_H 1 macro [all...] |
H A D | ip6tables-restore.c | 23 #define DEBUGP macro 25 #define DEBUGP macro 28 static int binary = 0, counters = 0, verbose = 0, noflush = 0; variable 31 static const struct option options[] = { variable in typeref:struct:option 44 print_usage(const char *name, const char *version) argument 58 create_handle(const char *tablename) argument 60 struct ip6tc_handle *handle; local 79 parse_counters(char *string, struct ip6t_counters *ctr) argument 81 unsigned long long pcnt, bcnt; local 82 int ret; local 91 static char *newargv[255]; variable 92 static int newargc; variable 96 add_argv(char *what) argument 109 static void free_argv(void) { function 110 int i; local 116 ip6tables_restore_main(int argc, char *argv[]) argument 118 struct ip6tc_handle *handle = NULL; local 119 char buffer[10240]; local 120 int c; local 121 char curtable[IP6T_TABLE_MAXNAMELEN + 1]; local 122 FILE *in; local 123 int in_table = 0, testing = 0; local 183 int ret = 0; local 205 char *table; local 240 char *policy, *chain; local 287 struct ip6t_counters count; local 290 char *ctrs; local 318 int a; local 319 char *ptr = buffer; local 320 char *pcnt = NULL; local 321 char *bcnt = NULL; local 322 char *parsestart; local 325 char *curchar; local 326 int quote_open, escaped; local 327 size_t param_len; local 378 char param_buffer[1024]; local [all...] |
H A D | ip6tables-save.c | 25 static int show_binary = 0, show_counters = 0; variable 27 static const struct option options[] = { variable in typeref:struct:option 38 for_each_table(int (*func)(const char *tablename)) argument 40 int ret = 1; local 41 FILE *procfile = NULL; local 42 char tablename[IP6T_TABLE_MAXNAMELEN+1]; local 62 do_output(const char *tablename) argument 64 struct ip6tc_handle *h; local 65 const char *chain = NULL; local 80 time_t now = time(NULL); local 94 struct ip6t_counters count; local 107 const struct ip6t_entry *e; local 134 ip6tables_save_main(int argc, char *argv[]) argument 136 const char *tablename = NULL; local 137 int c; local [all...] |
H A D | ip6tables-standalone.c | 41 ip6tables_main(int argc, char *argv[]) argument 43 int ret; local 44 char *table = "filter"; local 45 struct ip6tc_handle *handle = NULL; local [all...] |
H A D | ip6tables.c | 49 #define TRUE macro 52 #define FALSE macro 55 #define FMT_NUMERIC macro 56 #define FMT_NOCOUNTS macro 57 #define FMT_KILOMEGAGIGA macro 58 #define FMT_OPTIONS macro 59 #define FMT_NOTABLE macro 60 #define FMT_NOTARGET macro 61 #define FMT_VIA macro 62 #define FMT_NONEWLINE macro 63 #define FMT_LINENUMBERS macro 65 #define FMT_PRINT_RULE macro 67 #define FMT macro 70 #define CMD_NONE macro 71 #define CMD_INSERT macro 72 #define CMD_DELETE macro 73 #define CMD_DELETE_NUM macro 74 #define CMD_REPLACE macro 75 #define CMD_APPEND macro 76 #define CMD_LIST macro 77 #define CMD_FLUSH macro 78 #define CMD_ZERO macro 79 #define CMD_NEW_CHAIN macro 80 #define CMD_DELETE_CHAIN macro 81 #define CMD_SET_POLICY macro 82 #define CMD_RENAME_CHAIN macro 83 #define CMD_LIST_RULES macro 84 #define CMD_ZERO_NUM macro 85 #define CMD_CHECK macro 86 #define NUMBER_OF_CMD macro 87 static const char cmdflags[] = { 'I', 'D', 'D', 'R', 'A', 'L', 'F', 'Z', variable 90 #define NUMBER_OF_OPT macro 91 static const char optflags[] variable 94 static struct option original_opts[] = { variable in typeref:struct:option 133 struct xtables_globals ip6tables_globals = { variable in typeref:struct:xtables_globals 149 static const char commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] = variable 170 static const unsigned int inverse_for_options[NUMBER_OF_OPT] = variable 185 #define opts macro 186 #define prog_name macro 187 #define prog_vers macro 190 struct pprot { struct 191 const char *name; member in struct:pprot 192 uint8_t num; member in struct:pprot 196 exit_tryhelp(int status) argument 207 exit_printhelp(const struct xtables_rule_match *matches) argument 287 ip6tables_exit_error(enum xtables_exittype status, const char *msg, ...) argument 289 va_list args; local 307 generic_opt_check(int command, int options) argument 309 int i, j, legal = 0; local 343 opt2char(int option) argument 345 const char *ptr; local 352 cmd2char(int option) argument 354 const char *ptr; local 361 add_command(unsigned int *cmd, const int newcmd, const int othercmds, int invert) argument 382 is_exthdr(uint16_t proto) argument 392 parse_rulenumber(const char *rule) argument 394 unsigned int rulenum; local 404 parse_target(const char *targetname) argument 406 const char *ptr; local 425 set_option(unsigned int *options, unsigned int option, uint8_t *invflg, int invert) argument 434 unsigned int i; local 446 print_num(uint64_t number, unsigned int format) argument 472 print_header(unsigned int format, const char *chain, struct ip6tc_handle *handle) argument 474 struct ip6t_counters counters; local 475 const char *pol = ip6tc_get_policy(chain, &counters, handle); local 488 unsigned int refs; local 522 print_match(const struct ip6t_entry_match *m, const struct ip6t_ip6 *ip, int numeric) argument 526 const struct xtables_match *match = local 544 print_firewall(const struct ip6t_entry *fw, const char *targname, unsigned int num, unsigned int format, struct ip6tc_handle *const handle) argument 550 const struct xtables_target *target = NULL; local 551 const struct ip6t_entry_target *t; local 552 char buf[BUFSIZ]; local 575 const char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC); local 591 char iface[IFNAMSIZ+2]; local 669 print_firewall_line(const struct ip6t_entry *fw, struct ip6tc_handle *const h) argument 672 struct ip6t_entry_target *t; local 679 append_entry(const ip6t_chainlabel chain, struct ip6t_entry *fw, unsigned int nsaddrs, const struct in6_addr saddrs[], const struct in6_addr smasks[], unsigned int ndaddrs, const struct in6_addr daddrs[], const struct in6_addr dmasks[], int verbose, struct ip6tc_handle *handle) argument 690 unsigned int i, j; local 691 int ret = 1; local 709 replace_entry(const ip6t_chainlabel chain, struct ip6t_entry *fw, unsigned int rulenum, const struct in6_addr *saddr, const struct in6_addr *smask, const struct in6_addr *daddr, const struct in6_addr *dmask, int verbose, struct ip6tc_handle *handle) argument 728 insert_entry(const ip6t_chainlabel chain, struct ip6t_entry *fw, unsigned int rulenum, unsigned int nsaddrs, const struct in6_addr saddrs[], const struct in6_addr smasks[], unsigned int ndaddrs, const struct in6_addr daddrs[], const struct in6_addr dmasks[], int verbose, struct ip6tc_handle *handle) argument 740 unsigned int i, j; local 741 int ret = 1; local 759 make_delete_mask(const struct xtables_rule_match *matches, const struct xtables_target *target) argument 763 unsigned int size; local 764 const struct xtables_rule_match *matchp; local 765 unsigned char *mask, *mptr; local 793 delete_entry(const ip6t_chainlabel chain, struct ip6t_entry *fw, unsigned int nsaddrs, const struct in6_addr saddrs[], const struct in6_addr smasks[], unsigned int ndaddrs, const struct in6_addr daddrs[], const struct in6_addr dmasks[], int verbose, struct ip6tc_handle *handle, struct xtables_rule_match *matches, const struct xtables_target *target) argument 806 unsigned int i, j; local 807 int ret = 1; local 808 unsigned char *mask; local 828 check_entry(const ip6t_chainlabel chain, struct ip6t_entry *fw, unsigned int nsaddrs, const struct in6_addr *saddrs, const struct in6_addr *smasks, unsigned int ndaddrs, const struct in6_addr *daddrs, const struct in6_addr *dmasks, bool verbose, struct ip6tc_handle *handle, struct xtables_rule_match *matches, const struct xtables_target *target) argument 836 unsigned int i, j; local 837 int ret = 1; local 838 unsigned char *mask; local 858 for_each_chain6(int (*fn)(const ip6t_chainlabel, int, struct ip6tc_handle *), int verbose, int builtinstoo, struct ip6tc_handle *handle) argument 861 int ret = 1; local 862 const char *chain; local 863 char *chains; local 864 unsigned int i, chaincount = 0; local 894 flush_entries6(const ip6t_chainlabel chain, int verbose, struct ip6tc_handle *handle) argument 906 zero_entries(const ip6t_chainlabel chain, int verbose, struct ip6tc_handle *handle) argument 918 delete_chain6(const ip6t_chainlabel chain, int verbose, struct ip6tc_handle *handle) argument 930 list_entries(const ip6t_chainlabel chain, int rulenum, int verbose, int numeric, int expanded, int linenumbers, struct ip6tc_handle *handle) argument 933 int found = 0; local 934 unsigned int format; local 935 const char *this; local 955 const struct ip6t_entry *i; local 956 unsigned int num; local 987 print_iface(char letter, const char *iface, const unsigned char *mask, int invert) argument 990 unsigned int i; local 1012 print_proto(uint16_t proto, int invert) argument 1015 unsigned int i; local 1016 const char *invertstr = invert ? " !" : ""; local 1018 const struct protoent *pent = getprotobynumber(proto); local 1036 print_match_save(const struct ip6t_entry_match *e, const struct ip6t_ip6 *ip) argument 1039 const struct xtables_match *match = local 1060 print_ip(const char *prefix, const struct in6_addr *ip, const struct in6_addr *mask, int invert) argument 1063 char buf[51]; local 1064 int l = ipv6_prefix_length(mask); local 1082 print_rule6(const struct ip6t_entry *e, struct ip6tc_handle *h, const char *chain, int counters) argument 1085 const struct ip6t_entry_target *t; local 1086 const char *target_name; local 1144 struct xtables_target *target = local 1172 list_rules(const ip6t_chainlabel chain, int rulenum, int counters, struct ip6tc_handle *handle) argument 1175 const char *this = NULL; local 1176 int found = 0; local 1190 struct ip6t_counters count; local 1203 const struct ip6t_entry *e; local 1204 int num = 0; local 1225 generate_entry(const struct ip6t_entry *fw, struct xtables_rule_match *matches, struct ip6t_entry_target *target) argument 1229 unsigned int size; local 1230 struct xtables_rule_match *matchp; local 1231 struct ip6t_entry *e; local 1252 clear_rule_matches(struct xtables_rule_match **matches) argument 1254 struct xtables_rule_match *matchp, *tmp; local 1273 command_jump(struct iptables_command_state *cs) argument 1275 size_t size; local 1304 command_match(struct iptables_command_state *cs) argument 1306 struct xtables_match *m; local 1307 size_t size; local 1331 do_command6(int argc, char *argv[], char **table, struct ip6tc_handle **handle) argument 1333 struct iptables_command_state cs; local 1334 struct ip6t_entry *e = NULL; local 1335 unsigned int nsaddrs = 0, ndaddrs = 0; local 1336 struct in6_addr *saddrs = NULL, *daddrs = NULL; local 1337 struct in6_addr *smasks = NULL, *dmasks = NULL; local 1339 int verbose = 0; local 1340 const char *chain = NULL; local 1341 const char *shostnetworkmask = NULL, *dhostnetworkmask = NULL; local 1342 const char *policy = NULL, *newname = NULL; local 1343 unsigned int rulenum = 0, command = 0; local 1344 const char *pcnt = NULL, *bcnt = NULL; local 1345 int ret = 1; local 1346 struct xtables_match *m; local 1347 struct xtables_rule_match *matchp; local 1348 struct xtables_target *t; local 1349 unsigned long long cnt; local 1825 size_t size; local [all...] |
H A D | iptables-apply | 15 function blurb() function 22 function copyright() function 31 function about() function 38 function usage() function [all...] |
H A D | iptables-multi.h | 2 #define _IPTABLES_MULTI_H 1 macro [all...] |