summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libip6t_LOG.c4
-rw-r--r--extensions/libip6t_MARK.c4
-rw-r--r--extensions/libip6t_REJECT.c2
-rw-r--r--extensions/libip6t_ah.c4
-rw-r--r--extensions/libip6t_dst.c4
-rw-r--r--extensions/libip6t_esp.c4
-rw-r--r--extensions/libip6t_eui64.c4
-rw-r--r--extensions/libip6t_frag.c4
-rw-r--r--extensions/libip6t_hbh.c4
-rw-r--r--extensions/libip6t_icmpv6.c4
-rw-r--r--extensions/libip6t_ipv6header.c4
-rw-r--r--extensions/libip6t_length.c4
-rw-r--r--extensions/libip6t_limit.c4
-rw-r--r--extensions/libip6t_mac.c4
-rw-r--r--extensions/libip6t_mark.c4
-rw-r--r--extensions/libip6t_multiport.c4
-rw-r--r--extensions/libip6t_owner.c4
-rw-r--r--extensions/libip6t_rt.c4
-rw-r--r--extensions/libip6t_standard.c4
-rw-r--r--extensions/libip6t_tcp.c4
-rw-r--r--extensions/libip6t_udp.c4
-rw-r--r--extensions/libipt_BALANCE.c4
-rw-r--r--extensions/libipt_CONNMARK.c4
-rw-r--r--extensions/libipt_DNAT.c4
-rw-r--r--extensions/libipt_DSCP.c2
-rw-r--r--extensions/libipt_ECN.c6
-rw-r--r--extensions/libipt_FTOS.c2
-rw-r--r--extensions/libipt_IPV4OPTSSTRIP.c4
-rw-r--r--extensions/libipt_LOG.c4
-rw-r--r--extensions/libipt_MARK.c4
-rw-r--r--extensions/libipt_MASQUERADE.c4
-rw-r--r--extensions/libipt_MIRROR.c4
-rw-r--r--extensions/libipt_NETLINK.c4
-rw-r--r--extensions/libipt_NETMAP.c4
-rw-r--r--extensions/libipt_POOL.c4
-rw-r--r--extensions/libipt_REDIRECT.c4
-rw-r--r--extensions/libipt_REJECT.c2
-rw-r--r--extensions/libipt_SAME.c4
-rw-r--r--extensions/libipt_SNAT.c4
-rw-r--r--extensions/libipt_TCPMSS.c4
-rw-r--r--extensions/libipt_TOS.c4
-rw-r--r--extensions/libipt_TTL.c6
-rw-r--r--extensions/libipt_ULOG.c4
-rw-r--r--extensions/libipt_ah.c4
-rw-r--r--extensions/libipt_connlimit.c4
-rw-r--r--extensions/libipt_connmark.c4
-rw-r--r--extensions/libipt_conntrack.c4
-rw-r--r--extensions/libipt_dscp.c4
-rw-r--r--extensions/libipt_esp.c4
-rw-r--r--extensions/libipt_helper.c4
-rw-r--r--extensions/libipt_icmp.c4
-rw-r--r--extensions/libipt_ipv4options.c4
-rw-r--r--extensions/libipt_length.c4
-rw-r--r--extensions/libipt_limit.c4
-rw-r--r--extensions/libipt_mac.c4
-rw-r--r--extensions/libipt_mark.c4
-rw-r--r--extensions/libipt_mport.c4
-rw-r--r--extensions/libipt_multiport.c4
-rw-r--r--extensions/libipt_nth.c4
-rw-r--r--extensions/libipt_owner.c6
-rw-r--r--extensions/libipt_pkttype.c2
-rw-r--r--extensions/libipt_pool.c4
-rw-r--r--extensions/libipt_psd.c4
-rw-r--r--extensions/libipt_quota.c2
-rw-r--r--extensions/libipt_random.c4
-rw-r--r--extensions/libipt_realm.c4
-rw-r--r--extensions/libipt_recent.c4
-rw-r--r--extensions/libipt_record_rpc.c4
-rw-r--r--extensions/libipt_standard.c4
-rw-r--r--extensions/libipt_state.c4
-rw-r--r--extensions/libipt_string.c4
-rw-r--r--extensions/libipt_tcp.c4
-rw-r--r--extensions/libipt_tcpmss.c4
-rw-r--r--extensions/libipt_time.c4
-rw-r--r--extensions/libipt_tos.c4
-rw-r--r--extensions/libipt_ttl.c6
-rw-r--r--extensions/libipt_udp.c4
-rw-r--r--extensions/libipt_unclean.c4
78 files changed, 154 insertions, 154 deletions
diff --git a/extensions/libip6t_LOG.c b/extensions/libip6t_LOG.c
index 529720f8..f4d87aac 100644
--- a/extensions/libip6t_LOG.c
+++ b/extensions/libip6t_LOG.c
@@ -22,7 +22,7 @@ help(void)
" --log-tcp-sequence Log TCP sequence numbers.\n\n"
" --log-tcp-options Log TCP options.\n\n"
" --log-ip-options Log IP options.\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -244,7 +244,7 @@ static
struct ip6tables_target log
= { NULL,
"LOG",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_log_info)),
IP6T_ALIGN(sizeof(struct ip6t_log_info)),
&help,
diff --git a/extensions/libip6t_MARK.c b/extensions/libip6t_MARK.c
index 6d2b1031..6062a391 100644
--- a/extensions/libip6t_MARK.c
+++ b/extensions/libip6t_MARK.c
@@ -21,7 +21,7 @@ help(void)
"MARK target v%s options:\n"
" --set-mark value Set nfmark value\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -104,7 +104,7 @@ static
struct ip6tables_target mark
= { NULL,
"MARK",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_mark_target_info)),
IP6T_ALIGN(sizeof(struct ip6t_mark_target_info)),
&help,
diff --git a/extensions/libip6t_REJECT.c b/extensions/libip6t_REJECT.c
index a145f449..b8b97324 100644
--- a/extensions/libip6t_REJECT.c
+++ b/extensions/libip6t_REJECT.c
@@ -154,7 +154,7 @@ static void save(const struct ip6t_ip6 *ip,
struct ip6tables_target reject
= { NULL,
"REJECT",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_reject_info)),
IP6T_ALIGN(sizeof(struct ip6t_reject_info)),
&help,
diff --git a/extensions/libip6t_ah.c b/extensions/libip6t_ah.c
index e778557c..aced51bb 100644
--- a/extensions/libip6t_ah.c
+++ b/extensions/libip6t_ah.c
@@ -17,7 +17,7 @@ help(void)
" --ahspi [!] spi[:spi] match spi (range)\n"
" --ahlen [!] length total length of this header\n"
" --ahres check the reserved filed, too\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -219,7 +219,7 @@ static
struct ip6tables_match ah
= { NULL,
"ah",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_ah)),
IP6T_ALIGN(sizeof(struct ip6t_ah)),
&help,
diff --git a/extensions/libip6t_dst.c b/extensions/libip6t_dst.c
index cd1f23b5..8ec39120 100644
--- a/extensions/libip6t_dst.c
+++ b/extensions/libip6t_dst.c
@@ -26,7 +26,7 @@ help(void)
" --%s-len [!] length total length of this header\n"
" --%s-opts TYPE[:LEN][,TYPE[:LEN]...] \n"
" Options and its length (list, max: %d)\n",
-UNAME , NETFILTER_VERSION, LNAME, LNAME, IP6T_OPTS_OPTSNR);
+UNAME , IPTABLES_VERSION, LNAME, LNAME, IP6T_OPTS_OPTSNR);
}
#if HOPBYHOP
@@ -266,7 +266,7 @@ struct ip6tables_match optstruct
#else
"dst",
#endif
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_opts)),
IP6T_ALIGN(sizeof(struct ip6t_opts)),
&help,
diff --git a/extensions/libip6t_esp.c b/extensions/libip6t_esp.c
index 973338f8..3b471026 100644
--- a/extensions/libip6t_esp.c
+++ b/extensions/libip6t_esp.c
@@ -15,7 +15,7 @@ help(void)
printf(
"ESP v%s options:\n"
" --espspi [!] spi[:spi] match spi (range)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -171,7 +171,7 @@ static
struct ip6tables_match esp
= { NULL,
"esp",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_esp)),
IP6T_ALIGN(sizeof(struct ip6t_esp)),
&help,
diff --git a/extensions/libip6t_eui64.c b/extensions/libip6t_eui64.c
index 97717980..56dca06c 100644
--- a/extensions/libip6t_eui64.c
+++ b/extensions/libip6t_eui64.c
@@ -19,7 +19,7 @@ help(void)
"eui64 v%s options:\n"
" This module hasn't got any option\n"
" This module checks for EUI64 IPv6 addresses\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -69,7 +69,7 @@ static
struct ip6tables_match eui64
= { NULL,
"eui64",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(int)),
IP6T_ALIGN(sizeof(int)),
&help,
diff --git a/extensions/libip6t_frag.c b/extensions/libip6t_frag.c
index f3882018..2cc8a371 100644
--- a/extensions/libip6t_frag.c
+++ b/extensions/libip6t_frag.c
@@ -20,7 +20,7 @@ help(void)
" --fragfirst matches on the first fragment\n"
" [--fragmore|--fraglast] there are more fragments or this\n"
" is the last one\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -245,7 +245,7 @@ static
struct ip6tables_match frag
= { NULL,
"frag",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_frag)),
IP6T_ALIGN(sizeof(struct ip6t_frag)),
&help,
diff --git a/extensions/libip6t_hbh.c b/extensions/libip6t_hbh.c
index a10d6a4b..43b43163 100644
--- a/extensions/libip6t_hbh.c
+++ b/extensions/libip6t_hbh.c
@@ -26,7 +26,7 @@ help(void)
" --%s-len [!] length total length of this header\n"
" --%s-opts TYPE[:LEN][,TYPE[:LEN]...] \n"
" Options and its length (list, max: %d)\n",
-UNAME , NETFILTER_VERSION, LNAME, LNAME, IP6T_OPTS_OPTSNR);
+UNAME , IPTABLES_VERSION, LNAME, LNAME, IP6T_OPTS_OPTSNR);
}
#if HOPBYHOP
@@ -266,7 +266,7 @@ struct ip6tables_match optstruct
#else
"dst",
#endif
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_opts)),
IP6T_ALIGN(sizeof(struct ip6t_opts)),
&help,
diff --git a/extensions/libip6t_icmpv6.c b/extensions/libip6t_icmpv6.c
index 97027da1..52d7871a 100644
--- a/extensions/libip6t_icmpv6.c
+++ b/extensions/libip6t_icmpv6.c
@@ -81,7 +81,7 @@ help(void)
"ICMPv6 v%s options:\n"
" --icmpv6-type [!] typename match icmpv6 type\n"
" (or numeric type or type/code)\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
print_icmpv6types();
}
@@ -260,7 +260,7 @@ static void final_check(unsigned int flags)
static struct ip6tables_match icmpv6
= { NULL,
"icmp6",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_icmp)),
IP6T_ALIGN(sizeof(struct ip6t_icmp)),
&help,
diff --git a/extensions/libip6t_ipv6header.c b/extensions/libip6t_ipv6header.c
index 6e4986de..3437e228 100644
--- a/extensions/libip6t_ipv6header.c
+++ b/extensions/libip6t_ipv6header.c
@@ -145,7 +145,7 @@ help(void)
" ipv6-frag,ah,esp,ipv6-nonxt,protocol\n"
" numbers: 0,60,43,44,51,50,59\n"
"--soft The header CONTAINS the specified extensions\n",
- NETFILTER_VERSION);
+ IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -301,7 +301,7 @@ static
struct ip6tables_match ipv6header
= { NULL,
"ipv6header",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_ipv6header_info)),
IP6T_ALIGN(sizeof(struct ip6t_ipv6header_info)),
&help,
diff --git a/extensions/libip6t_length.c b/extensions/libip6t_length.c
index fe65115f..7cb5da76 100644
--- a/extensions/libip6t_length.c
+++ b/extensions/libip6t_length.c
@@ -17,7 +17,7 @@ help(void)
"length v%s options:\n"
"[!] --length length[:length] Match packet length against value or range\n"
" of values (inclusive)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
@@ -143,7 +143,7 @@ save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match)
struct ip6tables_match length
= { NULL,
"length",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_length_info)),
IP6T_ALIGN(sizeof(struct ip6t_length_info)),
&help,
diff --git a/extensions/libip6t_limit.c b/extensions/libip6t_limit.c
index 4a0dc08c..9516252b 100644
--- a/extensions/libip6t_limit.c
+++ b/extensions/libip6t_limit.c
@@ -26,7 +26,7 @@ help(void)
" [Packets per second unless followed by \n"
" /sec /minute /hour /day postfixes]\n"
"--limit-burst number number to match in a burst, default %u\n"
-"\n", NETFILTER_VERSION, IP6T_LIMIT_BURST);
+"\n", IPTABLES_VERSION, IP6T_LIMIT_BURST);
}
static struct option opts[] = {
@@ -181,7 +181,7 @@ static
struct ip6tables_match limit
= { NULL,
"limit",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_rateinfo)),
offsetof(struct ip6t_rateinfo, prev),
&help,
diff --git a/extensions/libip6t_mac.c b/extensions/libip6t_mac.c
index 64c62f23..8fbb8190 100644
--- a/extensions/libip6t_mac.c
+++ b/extensions/libip6t_mac.c
@@ -20,7 +20,7 @@ help(void)
"MAC v%s options:\n"
" --mac-source [!] XX:XX:XX:XX:XX:XX\n"
" Match source MAC address\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -127,7 +127,7 @@ static
struct ip6tables_match mac
= { NULL,
"mac",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_mac_info)),
IP6T_ALIGN(sizeof(struct ip6t_mac_info)),
&help,
diff --git a/extensions/libip6t_mark.c b/extensions/libip6t_mark.c
index 7a05d038..4aa606e3 100644
--- a/extensions/libip6t_mark.c
+++ b/extensions/libip6t_mark.c
@@ -16,7 +16,7 @@ help(void)
"MARK match v%s options:\n"
"[!] --mark value[/mask] Match nfmark value with optional mask\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -111,7 +111,7 @@ static
struct ip6tables_match mark
= { NULL,
"mark",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_mark_info)),
IP6T_ALIGN(sizeof(struct ip6t_mark_info)),
&help,
diff --git a/extensions/libip6t_multiport.c b/extensions/libip6t_multiport.c
index 16bbcf8e..4847a9df 100644
--- a/extensions/libip6t_multiport.c
+++ b/extensions/libip6t_multiport.c
@@ -21,7 +21,7 @@ help(void)
" match destination port(s)\n"
" --ports port[,port,port]\n"
" match both source and destination port(s)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -246,7 +246,7 @@ static
struct ip6tables_match multiport
= { NULL,
"multiport",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_multiport)),
IP6T_ALIGN(sizeof(struct ip6t_multiport)),
&help,
diff --git a/extensions/libip6t_owner.c b/extensions/libip6t_owner.c
index 8b511d9e..ce343589 100644
--- a/extensions/libip6t_owner.c
+++ b/extensions/libip6t_owner.c
@@ -21,7 +21,7 @@ help(void)
"[!] --pid-owner processid Match local pid\n"
"[!] --sid-owner sessionid Match local sid\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -199,7 +199,7 @@ static
struct ip6tables_match owner
= { NULL,
"owner",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_owner_info)),
IP6T_ALIGN(sizeof(struct ip6t_owner_info)),
&help,
diff --git a/extensions/libip6t_rt.c b/extensions/libip6t_rt.c
index a12270ee..b407be13 100644
--- a/extensions/libip6t_rt.c
+++ b/extensions/libip6t_rt.c
@@ -26,7 +26,7 @@ help(void)
" --rt-0-res check the reserved filed, too (type 0)\n"
" --rt-0-addrs ADDR[,ADDR...] Type=0 addresses (list, max: %d)\n"
" --rt-0-not-strict List of Type=0 addresses not a strict list\n",
-NETFILTER_VERSION, IP6T_RT_HOPS);
+IPTABLES_VERSION, IP6T_RT_HOPS);
}
static struct option opts[] = {
@@ -345,7 +345,7 @@ static
struct ip6tables_match rt
= { NULL,
"rt",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_rt)),
IP6T_ALIGN(sizeof(struct ip6t_rt)),
&help,
diff --git a/extensions/libip6t_standard.c b/extensions/libip6t_standard.c
index 79414483..b8a0ce79 100644
--- a/extensions/libip6t_standard.c
+++ b/extensions/libip6t_standard.c
@@ -13,7 +13,7 @@ help(void)
{
printf(
"Standard v%s options:\n"
-"(If target is DROP, ACCEPT, RETURN or nothing)\n", NETFILTER_VERSION);
+"(If target is DROP, ACCEPT, RETURN or nothing)\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -51,7 +51,7 @@ static
struct ip6tables_target standard
= { NULL,
"standard",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(int)),
IP6T_ALIGN(sizeof(int)),
&help,
diff --git a/extensions/libip6t_tcp.c b/extensions/libip6t_tcp.c
index 367a29f1..2eb33dd0 100644
--- a/extensions/libip6t_tcp.c
+++ b/extensions/libip6t_tcp.c
@@ -24,7 +24,7 @@ help(void)
" --dport ...\n"
" match destination port(s)\n"
" --tcp-option [!] number match if TCP option set\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -424,7 +424,7 @@ static
struct ip6tables_match tcp
= { NULL,
"tcp",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_tcp)),
IP6T_ALIGN(sizeof(struct ip6t_tcp)),
&help,
diff --git a/extensions/libip6t_udp.c b/extensions/libip6t_udp.c
index 5378e592..fb0505e8 100644
--- a/extensions/libip6t_udp.c
+++ b/extensions/libip6t_udp.c
@@ -19,7 +19,7 @@ help(void)
" --destination-port [!] port[:port]\n"
" --dport ...\n"
" match destination port(s)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -233,7 +233,7 @@ static
struct ip6tables_match udp
= { NULL,
"udp",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IP6T_ALIGN(sizeof(struct ip6t_udp)),
IP6T_ALIGN(sizeof(struct ip6t_udp)),
&help,
diff --git a/extensions/libipt_BALANCE.c b/extensions/libipt_BALANCE.c
index 78d5d2d7..7f0b9169 100644
--- a/extensions/libipt_BALANCE.c
+++ b/extensions/libipt_BALANCE.c
@@ -18,7 +18,7 @@ help(void)
"BALANCE v%s options:\n"
" --to-destination <ipaddr>-<ipaddr>\n"
" Addresses to map destination to.\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -135,7 +135,7 @@ static
struct iptables_target balance
= { NULL,
"BALANCE",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
&help,
diff --git a/extensions/libipt_CONNMARK.c b/extensions/libipt_CONNMARK.c
index 824c1de0..2e06dda0 100644
--- a/extensions/libipt_CONNMARK.c
+++ b/extensions/libipt_CONNMARK.c
@@ -25,7 +25,7 @@ help(void)
" --save-mark Save the packet nfmark on the connection\n"
" --restore-mark Restore saved nfmark value\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -149,7 +149,7 @@ save(const struct ipt_ip *ip, const struct ipt_entry_target *target)
struct iptables_target mark
= { NULL,
"CONNMARK",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_connmark_target_info)),
IPT_ALIGN(sizeof(struct ipt_connmark_target_info)),
&help,
diff --git a/extensions/libipt_DNAT.c b/extensions/libipt_DNAT.c
index 279f76e8..9b826758 100644
--- a/extensions/libipt_DNAT.c
+++ b/extensions/libipt_DNAT.c
@@ -25,7 +25,7 @@ help(void)
" --to-destination <ipaddr>[-<ipaddr>][:port-port]\n"
" Address to map destination to.\n"
" (You can use this more than once)\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -228,7 +228,7 @@ static
struct iptables_target dnat
= { NULL,
"DNAT",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
&help,
diff --git a/extensions/libipt_DSCP.c b/extensions/libipt_DSCP.c
index 19b765ee..e06c7361 100644
--- a/extensions/libipt_DSCP.c
+++ b/extensions/libipt_DSCP.c
@@ -184,7 +184,7 @@ static
struct iptables_target dscp
= { NULL,
"DSCP",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_DSCP_info)),
IPT_ALIGN(sizeof(struct ipt_DSCP_info)),
&help,
diff --git a/extensions/libipt_ECN.c b/extensions/libipt_ECN.c
index ddab35c3..a883b3fb 100644
--- a/extensions/libipt_ECN.c
+++ b/extensions/libipt_ECN.c
@@ -6,7 +6,7 @@
*
* libipt_ECN.c borrowed heavily from libipt_DSCP.c
*
- * $Id: libipt_ECN.c,v 1.3 2002/04/10 13:12:53 laforge Exp $
+ * $Id: libipt_ECN.c,v 1.5 2002/05/29 12:43:34 laforge Exp $
*/
#include <stdio.h>
#include <string.h>
@@ -30,7 +30,7 @@ static void help(void)
" --ecn-ip-ect Set the IPv4 ECT codepoint (0 to 3)\n"
" --ecn-tcp-cwr Set the IPv4 CWR bit (0 or 1)\n"
" --ecn-tcp-ece Set the IPv4 CWR bit (0 or 1)\n",
- NETFILTER_VERSION, NETFILTER_VERSION
+ IPTABLES_VERSION, IPTABLES_VERSION
);
}
@@ -157,7 +157,7 @@ static
struct iptables_target ecn
= { NULL,
"ECN",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_ECN_info)),
IPT_ALIGN(sizeof(struct ipt_ECN_info)),
&help,
diff --git a/extensions/libipt_FTOS.c b/extensions/libipt_FTOS.c
index 2e3771b8..3ff2d5aa 100644
--- a/extensions/libipt_FTOS.c
+++ b/extensions/libipt_FTOS.c
@@ -116,7 +116,7 @@ static
struct iptables_target ftos
= { NULL,
"FTOS",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_FTOS_info)),
IPT_ALIGN(sizeof(struct ipt_FTOS_info)),
&help,
diff --git a/extensions/libipt_IPV4OPTSSTRIP.c b/extensions/libipt_IPV4OPTSSTRIP.c
index 59cbf190..92452f9c 100644
--- a/extensions/libipt_IPV4OPTSSTRIP.c
+++ b/extensions/libipt_IPV4OPTSSTRIP.c
@@ -21,7 +21,7 @@ static void init(struct ipt_entry_target *t, unsigned int *nfcache)
static void help(void)
{
printf("IPV4OPTSSTRIP v%s target takes no option !! Make sure you use it in the mangle table.\n",
- NETFILTER_VERSION);
+ IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -63,7 +63,7 @@ static
struct iptables_target IPV4OPTSSTRIP
= { NULL,
"IPV4OPTSSTRIP",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(0),
IPT_ALIGN(0),
&help,
diff --git a/extensions/libipt_LOG.c b/extensions/libipt_LOG.c
index 1445f08a..66028a64 100644
--- a/extensions/libipt_LOG.c
+++ b/extensions/libipt_LOG.c
@@ -22,7 +22,7 @@ help(void)
" --log-tcp-sequence Log TCP sequence numbers.\n\n"
" --log-tcp-options Log TCP options.\n\n"
" --log-ip-options Log IP options.\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -244,7 +244,7 @@ static
struct iptables_target log
= { NULL,
"LOG",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_log_info)),
IPT_ALIGN(sizeof(struct ipt_log_info)),
&help,
diff --git a/extensions/libipt_MARK.c b/extensions/libipt_MARK.c
index 6d4c41ea..93570d67 100644
--- a/extensions/libipt_MARK.c
+++ b/extensions/libipt_MARK.c
@@ -21,7 +21,7 @@ help(void)
"MARK target v%s options:\n"
" --set-mark value Set nfmark value\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -104,7 +104,7 @@ static
struct iptables_target mark
= { NULL,
"MARK",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_mark_target_info)),
IPT_ALIGN(sizeof(struct ipt_mark_target_info)),
&help,
diff --git a/extensions/libipt_MASQUERADE.c b/extensions/libipt_MASQUERADE.c
index cbf5ba1a..2d4ee99d 100644
--- a/extensions/libipt_MASQUERADE.c
+++ b/extensions/libipt_MASQUERADE.c
@@ -16,7 +16,7 @@ help(void)
"MASQUERADE v%s options:\n"
" --to-ports <port>[-<port>]\n"
" Port (range) to map to.\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -150,7 +150,7 @@ static
struct iptables_target masq
= { NULL,
"MASQUERADE",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
&help,
diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c
index 632e9548..b5996fa7 100644
--- a/extensions/libipt_MIRROR.c
+++ b/extensions/libipt_MIRROR.c
@@ -13,7 +13,7 @@ help(void)
{
printf(
"MIRROR target v%s takes no options\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -45,7 +45,7 @@ static
struct iptables_target mirror
= { NULL,
"MIRROR",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(0),
IPT_ALIGN(0),
&help,
diff --git a/extensions/libipt_NETLINK.c b/extensions/libipt_NETLINK.c
index 7855d997..9e719903 100644
--- a/extensions/libipt_NETLINK.c
+++ b/extensions/libipt_NETLINK.c
@@ -16,7 +16,7 @@ static void help(void)
" --nldrop Drop the packet too\n"
" --nlmark <number> Mark the packet\n"
" --nlsize <bytes> Limit packet size\n",
- NETFILTER_VERSION);
+ IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -139,7 +139,7 @@ print(const struct ipt_ip *ip,
static
struct iptables_target netlink = { NULL,
"NETLINK",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_nldata)),
IPT_ALIGN(sizeof(struct ipt_nldata)),
&help,
diff --git a/extensions/libipt_NETMAP.c b/extensions/libipt_NETMAP.c
index 91241574..a45acb90 100644
--- a/extensions/libipt_NETMAP.c
+++ b/extensions/libipt_NETMAP.c
@@ -25,7 +25,7 @@ help(void)
printf(MODULENAME" v%s options:\n"
" --%s address[/mask]\n"
" Network address to map to.\n\n",
- NETFILTER_VERSION, opts[0].name);
+ IPTABLES_VERSION, opts[0].name);
}
static u_int32_t
@@ -183,7 +183,7 @@ static
struct iptables_target target_module
= { NULL,
MODULENAME,
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
&help,
diff --git a/extensions/libipt_POOL.c b/extensions/libipt_POOL.c
index 62697710..1fef3cb9 100644
--- a/extensions/libipt_POOL.c
+++ b/extensions/libipt_POOL.c
@@ -28,7 +28,7 @@ help(void)
" --add-dstip <pool>\n"
" --del-dstip <pool>\n"
" add/del src/dst IP from pool.\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -134,7 +134,7 @@ static
struct iptables_target ipt_pool_target
= { NULL,
"POOL",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_pool_info)),
IPT_ALIGN(sizeof(struct ipt_pool_info)),
&help,
diff --git a/extensions/libipt_REDIRECT.c b/extensions/libipt_REDIRECT.c
index ca029c86..052b533c 100644
--- a/extensions/libipt_REDIRECT.c
+++ b/extensions/libipt_REDIRECT.c
@@ -16,7 +16,7 @@ help(void)
"REDIRECT v%s options:\n"
" --to-ports <port>[-<port>]\n"
" Port (range) to map to.\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -151,7 +151,7 @@ static
struct iptables_target redir
= { NULL,
"REDIRECT",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
&help,
diff --git a/extensions/libipt_REJECT.c b/extensions/libipt_REJECT.c
index 2403befc..ba63a0aa 100644
--- a/extensions/libipt_REJECT.c
+++ b/extensions/libipt_REJECT.c
@@ -160,7 +160,7 @@ static
struct iptables_target reject
= { NULL,
"REJECT",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_reject_info)),
IPT_ALIGN(sizeof(struct ipt_reject_info)),
&help,
diff --git a/extensions/libipt_SAME.c b/extensions/libipt_SAME.c
index 37c75d89..e9c42a80 100644
--- a/extensions/libipt_SAME.c
+++ b/extensions/libipt_SAME.c
@@ -22,7 +22,7 @@ help(void)
" --nodst\n"
" Don't use destination-ip in\n"
" source selection\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -192,7 +192,7 @@ static
struct iptables_target same
= { NULL,
"SAME",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_same_info)),
IPT_ALIGN(sizeof(struct ipt_same_info)),
&help,
diff --git a/extensions/libipt_SNAT.c b/extensions/libipt_SNAT.c
index 9493a149..d909c2a1 100644
--- a/extensions/libipt_SNAT.c
+++ b/extensions/libipt_SNAT.c
@@ -25,7 +25,7 @@ help(void)
" --to-source <ipaddr>[-<ipaddr>][:port-port]\n"
" Address to map source to.\n"
" (You can use this more than once)\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -228,7 +228,7 @@ static
struct iptables_target snat
= { NULL,
"SNAT",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
&help,
diff --git a/extensions/libipt_TCPMSS.c b/extensions/libipt_TCPMSS.c
index ebc10a79..6892b526 100644
--- a/extensions/libipt_TCPMSS.c
+++ b/extensions/libipt_TCPMSS.c
@@ -24,7 +24,7 @@ help(void)
"TCPMSS target v%s mutually-exclusive options:\n"
" --set-mss value explicitly set MSS option to specified value\n"
" --clamp-mss-to-pmtu automatically clamp MSS value to (path_MTU - 40)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -117,7 +117,7 @@ static
struct iptables_target mss
= { NULL,
"TCPMSS",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_tcpmss_info)),
IPT_ALIGN(sizeof(struct ipt_tcpmss_info)),
&help,
diff --git a/extensions/libipt_TOS.c b/extensions/libipt_TOS.c
index bc3cf760..87c38161 100644
--- a/extensions/libipt_TOS.c
+++ b/extensions/libipt_TOS.c
@@ -37,7 +37,7 @@ help(void)
"TOS target v%s options:\n"
" --set-tos value Set Type of Service field to one of the\n"
" following numeric or descriptive values:\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
for (i = 0; i < sizeof(TOS_values)/sizeof(struct TOS_value);i++)
printf(" %s %u (0x%02x)\n",
@@ -157,7 +157,7 @@ static
struct iptables_target tos
= { NULL,
"TOS",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_tos_target_info)),
IPT_ALIGN(sizeof(struct ipt_tos_target_info)),
&help,
diff --git a/extensions/libipt_TTL.c b/extensions/libipt_TTL.c
index e4d56b36..e6f8a0c3 100644
--- a/extensions/libipt_TTL.c
+++ b/extensions/libipt_TTL.c
@@ -1,7 +1,7 @@
/* Shared library add-on to iptables for the TTL target
* (C) 2000 by Harald Welte <laforge@gnumonks.org>
*
- * $Id: libipt_TTL.c,v 1.4 2002/02/25 11:25:41 laforge Exp $
+ * $Id: libipt_TTL.c,v 1.5 2002/03/14 11:35:58 laforge Exp $
*
* This program is distributed under the terms of GNU GPL
*/
@@ -27,7 +27,7 @@ static void help(void)
" --ttl-set value Set TTL to <value>\n"
" --ttl-dec value Decrement TTL by <value>\n"
" --ttl-inc value Increment TTL by <value>\n"
-, NETFILTER_VERSION);
+, IPTABLES_VERSION);
}
static int parse(int c, char **argv, int invert, unsigned int *flags,
@@ -146,7 +146,7 @@ static struct option opts[] = {
static
struct iptables_target TTL = { NULL,
"TTL",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_TTL_info)),
IPT_ALIGN(sizeof(struct ipt_TTL_info)),
&help,
diff --git a/extensions/libipt_ULOG.c b/extensions/libipt_ULOG.c
index 6a9c3420..ddcc59d1 100644
--- a/extensions/libipt_ULOG.c
+++ b/extensions/libipt_ULOG.c
@@ -43,7 +43,7 @@ static void help(void)
" --ulog-cprange size Bytes of each packet to be passed\n"
" --ulog-qthreshold Threshold of in-kernel queue\n"
" --ulog-prefix prefix Prefix log messages with this prefix.\n\n",
- NETFILTER_VERSION);
+ IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -190,7 +190,7 @@ print(const struct ipt_ip *ip,
static
struct iptables_target ulog = { NULL,
"ULOG",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_ulog_info)),
IPT_ALIGN(sizeof(struct ipt_ulog_info)),
&help,
diff --git a/extensions/libipt_ah.c b/extensions/libipt_ah.c
index 1b139c27..1e583989 100644
--- a/extensions/libipt_ah.c
+++ b/extensions/libipt_ah.c
@@ -16,7 +16,7 @@ help(void)
"AH v%s options:\n"
" --ahspi [!] spi[:spi]\n"
" match spi (range)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -172,7 +172,7 @@ static
struct iptables_match ah
= { NULL,
"ah",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_ah)),
IPT_ALIGN(sizeof(struct ipt_ah)),
&help,
diff --git a/extensions/libipt_connlimit.c b/extensions/libipt_connlimit.c
index a9a0f378..f0df4538 100644
--- a/extensions/libipt_connlimit.c
+++ b/extensions/libipt_connlimit.c
@@ -17,7 +17,7 @@ help(void)
"iplimit v%s options:\n"
"[!] --iplimit-above n match if the number of existing tcp connections is (not) above n\n"
" --iplimit-mask n group hosts using mask\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -114,7 +114,7 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
static struct iptables_match iplimit = {
name: "iplimit",
- version: NETFILTER_VERSION,
+ version: IPTABLES_VERSION,
size: IPT_ALIGN(sizeof(struct ipt_iplimit_info)),
userspacesize: offsetof(struct ipt_iplimit_info,data),
help: help,
diff --git a/extensions/libipt_connmark.c b/extensions/libipt_connmark.c
index 005050fa..6371b4eb 100644
--- a/extensions/libipt_connmark.c
+++ b/extensions/libipt_connmark.c
@@ -16,7 +16,7 @@ help(void)
"CONNMARK match v%s options:\n"
"[!] --mark value[/mask] Match nfmark value with optional mask\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -110,7 +110,7 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
struct iptables_match mark
= { NULL,
"connmark",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_connmark_info)),
IPT_ALIGN(sizeof(struct ipt_connmark_info)),
&help,
diff --git a/extensions/libipt_conntrack.c b/extensions/libipt_conntrack.c
index 859d3688..f190a3be 100644
--- a/extensions/libipt_conntrack.c
+++ b/extensions/libipt_conntrack.c
@@ -34,7 +34,7 @@ help(void)
" Status(es) to match\n"
" [!] --ctexpire time[:time] Match remaining lifetime in seconds against\n"
" value or range of values (inclusive)\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
@@ -491,7 +491,7 @@ static
struct iptables_match conntrack
= { NULL,
"conntrack",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_conntrack_info)),
IPT_ALIGN(sizeof(struct ipt_conntrack_info)),
&help,
diff --git a/extensions/libipt_dscp.c b/extensions/libipt_dscp.c
index db380cea..83788154 100644
--- a/extensions/libipt_dscp.c
+++ b/extensions/libipt_dscp.c
@@ -30,7 +30,7 @@ static void help(void)
"DSCP match v%s options\n"
"[!] --dscp value Match DSCP codepoint with numerical value\n"
" This value can be in decimal (ex: 32)\n"
-" or in hex (ex: 0x20)\n", NETFILTER_VERSION
+" or in hex (ex: 0x20)\n", IPTABLES_VERSION
);
}
@@ -128,7 +128,7 @@ static
struct iptables_match dscp
= { NULL,
"dscp",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_dscp_info)),
IPT_ALIGN(sizeof(struct ipt_dscp_info)),
&help,
diff --git a/extensions/libipt_esp.c b/extensions/libipt_esp.c
index 8804495a..531fdd11 100644
--- a/extensions/libipt_esp.c
+++ b/extensions/libipt_esp.c
@@ -16,7 +16,7 @@ help(void)
"ESP v%s options:\n"
" --espspi [!] spi[:spi]\n"
" match spi (range)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -172,7 +172,7 @@ static
struct iptables_match esp
= { NULL,
"esp",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_esp)),
IPT_ALIGN(sizeof(struct ipt_esp)),
&help,
diff --git a/extensions/libipt_helper.c b/extensions/libipt_helper.c
index 92ade933..8c59e2a6 100644
--- a/extensions/libipt_helper.c
+++ b/extensions/libipt_helper.c
@@ -16,7 +16,7 @@ help(void)
"helper match v%s options:\n"
"[!] --helper value Match helper value\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -90,7 +90,7 @@ static
struct iptables_match helper
= { NULL,
"helper",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_helper_info)),
IPT_ALIGN(sizeof(struct ipt_helper_info)),
&help,
diff --git a/extensions/libipt_icmp.c b/extensions/libipt_icmp.c
index 98098fa4..1cfcb5b4 100644
--- a/extensions/libipt_icmp.c
+++ b/extensions/libipt_icmp.c
@@ -96,7 +96,7 @@ help(void)
"ICMP v%s options:\n"
" --icmp-type [!] typename match icmp type\n"
" (or numeric type or type/code)\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
print_icmptypes();
}
@@ -276,7 +276,7 @@ static
struct iptables_match icmp
= { NULL,
"icmp",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_icmp)),
IPT_ALIGN(sizeof(struct ipt_icmp)),
&help,
diff --git a/extensions/libipt_ipv4options.c b/extensions/libipt_ipv4options.c
index c7bd8768..2aec10be 100644
--- a/extensions/libipt_ipv4options.c
+++ b/extensions/libipt_ipv4options.c
@@ -21,7 +21,7 @@ help(void)
" [!] --ts (match timestamp flag)\n\n"
" [!] --ra (match router-alert option)\n\n"
" [!] --any-opt (match any option or no option at all if used with '!')\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -303,7 +303,7 @@ static
struct iptables_match ipv4options_struct
= { NULL,
"ipv4options",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_ipv4options_info)),
IPT_ALIGN(sizeof(struct ipt_ipv4options_info)),
&help,
diff --git a/extensions/libipt_length.c b/extensions/libipt_length.c
index cd5a6a87..a61ce672 100644
--- a/extensions/libipt_length.c
+++ b/extensions/libipt_length.c
@@ -16,7 +16,7 @@ help(void)
"length v%s options:\n"
"[!] --length length[:length] Match packet length against value or range\n"
" of values (inclusive)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
@@ -142,7 +142,7 @@ static
struct iptables_match length
= { NULL,
"length",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_length_info)),
IPT_ALIGN(sizeof(struct ipt_length_info)),
&help,
diff --git a/extensions/libipt_limit.c b/extensions/libipt_limit.c
index 28395472..af381fa3 100644
--- a/extensions/libipt_limit.c
+++ b/extensions/libipt_limit.c
@@ -26,7 +26,7 @@ help(void)
" [Packets per second unless followed by \n"
" /sec /minute /hour /day postfixes]\n"
"--limit-burst number number to match in a burst, default %u\n"
-"\n", NETFILTER_VERSION, IPT_LIMIT_BURST);
+"\n", IPTABLES_VERSION, IPT_LIMIT_BURST);
}
static struct option opts[] = {
@@ -181,7 +181,7 @@ static
struct iptables_match limit
= { NULL,
"limit",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_rateinfo)),
offsetof(struct ipt_rateinfo, prev),
&help,
diff --git a/extensions/libipt_mac.c b/extensions/libipt_mac.c
index 5779e8b6..e50a887c 100644
--- a/extensions/libipt_mac.c
+++ b/extensions/libipt_mac.c
@@ -20,7 +20,7 @@ help(void)
"MAC v%s options:\n"
" --mac-source [!] XX:XX:XX:XX:XX:XX\n"
" Match source MAC address\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -127,7 +127,7 @@ static
struct iptables_match mac
= { NULL,
"mac",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_mac_info)),
IPT_ALIGN(sizeof(struct ipt_mac_info)),
&help,
diff --git a/extensions/libipt_mark.c b/extensions/libipt_mark.c
index 1c86fd7a..82e826d5 100644
--- a/extensions/libipt_mark.c
+++ b/extensions/libipt_mark.c
@@ -16,7 +16,7 @@ help(void)
"MARK match v%s options:\n"
"[!] --mark value[/mask] Match nfmark value with optional mask\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -111,7 +111,7 @@ static
struct iptables_match mark
= { NULL,
"mark",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_mark_info)),
IPT_ALIGN(sizeof(struct ipt_mark_info)),
&help,
diff --git a/extensions/libipt_mport.c b/extensions/libipt_mport.c
index 37a1a79b..df115832 100644
--- a/extensions/libipt_mport.c
+++ b/extensions/libipt_mport.c
@@ -21,7 +21,7 @@ help(void)
" match destination port(s)\n"
" --ports port[,port:port,port]\n"
" match both source and destination port(s)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -288,7 +288,7 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
struct iptables_match mport
= { NULL,
"mport",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_mport)),
IPT_ALIGN(sizeof(struct ipt_mport)),
&help,
diff --git a/extensions/libipt_multiport.c b/extensions/libipt_multiport.c
index 58cf18ca..b12f2e9a 100644
--- a/extensions/libipt_multiport.c
+++ b/extensions/libipt_multiport.c
@@ -21,7 +21,7 @@ help(void)
" match destination port(s)\n"
" --ports port[,port,port]\n"
" match both source and destination port(s)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -246,7 +246,7 @@ static
struct iptables_match multiport
= { NULL,
"multiport",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_multiport)),
IPT_ALIGN(sizeof(struct ipt_multiport)),
&help,
diff --git a/extensions/libipt_nth.c b/extensions/libipt_nth.c
index d0c4a775..7b12e80d 100644
--- a/extensions/libipt_nth.c
+++ b/extensions/libipt_nth.c
@@ -40,7 +40,7 @@ help(void)
" there must be Nth number of --packet\n"
" rules, covering all values between 0 and\n"
" Nth-1 inclusively.\n",
-NETFILTER_VERSION, IPT_NTH_NUM_COUNTERS-1);
+IPTABLES_VERSION, IPT_NTH_NUM_COUNTERS-1);
}
static struct option opts[] = {
@@ -221,7 +221,7 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
struct iptables_match nth
= { NULL,
"nth",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_nth_info)),
IPT_ALIGN(sizeof(struct ipt_nth_info)),
&help,
diff --git a/extensions/libipt_owner.c b/extensions/libipt_owner.c
index 334c3369..25e0e9f0 100644
--- a/extensions/libipt_owner.c
+++ b/extensions/libipt_owner.c
@@ -23,7 +23,7 @@ help(void)
"[!] --sid-owner sessionid Match local sid\n"
"[!] --cmd-owner name Match local command name\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
#else
printf(
"OWNER match v%s options:\n"
@@ -32,7 +32,7 @@ NETFILTER_VERSION);
"[!] --pid-owner processid Match local pid\n"
"[!] --sid-owner sessionid Match local sid\n"
"\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
#endif /* IPT_OWNER_COMM */
}
@@ -239,7 +239,7 @@ static
struct iptables_match owner
= { NULL,
"owner",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_owner_info)),
IPT_ALIGN(sizeof(struct ipt_owner_info)),
&help,
diff --git a/extensions/libipt_pkttype.c b/extensions/libipt_pkttype.c
index a0c74b8d..c60cb28b 100644
--- a/extensions/libipt_pkttype.c
+++ b/extensions/libipt_pkttype.c
@@ -156,7 +156,7 @@ static
struct iptables_match pkttype = {
NULL,
"pkttype",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_pkttype_info)),
IPT_ALIGN(sizeof(struct ipt_pkttype_info)),
&help,
diff --git a/extensions/libipt_pool.c b/extensions/libipt_pool.c
index 4e54f455..666599de 100644
--- a/extensions/libipt_pool.c
+++ b/extensions/libipt_pool.c
@@ -24,7 +24,7 @@ help(void)
" [!] --srcpool NAME|INDEX\n"
" [!] --dstpool NAME|INDEX\n"
" Pool index (or name from %s) to match\n"
-"\n", NETFILTER_VERSION, IPPOOL_CONF);
+"\n", IPTABLES_VERSION, IPPOOL_CONF);
}
static struct option opts[] = {
@@ -126,7 +126,7 @@ static
struct iptables_match pool
= { NULL,
"pool",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_pool_info)),
IPT_ALIGN(sizeof(struct ipt_pool_info)),
&help,
diff --git a/extensions/libipt_psd.c b/extensions/libipt_psd.c
index de1fc76c..201e909f 100644
--- a/extensions/libipt_psd.c
+++ b/extensions/libipt_psd.c
@@ -34,7 +34,7 @@ help(void)
" --psd-delay-threshold delay Portscan detection delay threshold\n\n"
" --psd-lo-ports-weight lo Privileged ports weight\n\n"
" --psd-hi-ports-weight hi High ports weight\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -183,7 +183,7 @@ static
struct iptables_match psd
= { NULL,
"psd",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_psd_info)),
IPT_ALIGN(sizeof(struct ipt_psd_info)),
&help,
diff --git a/extensions/libipt_quota.c b/extensions/libipt_quota.c
index d95b8a19..078f9e35 100644
--- a/extensions/libipt_quota.c
+++ b/extensions/libipt_quota.c
@@ -95,7 +95,7 @@ final_check(unsigned int flags)
struct iptables_match quota = { NULL,
"quota",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof (struct ipt_quota_info)),
IPT_ALIGN(sizeof (struct ipt_quota_info)),
&help,
diff --git a/extensions/libipt_random.c b/extensions/libipt_random.c
index 19859ebe..d195ca5c 100644
--- a/extensions/libipt_random.c
+++ b/extensions/libipt_random.c
@@ -38,7 +38,7 @@ help(void)
" [--average] percent The probability in percentage of the match\n"
" If ommited, a probability of 50%% percent is set.\n"
" Percentage must be within : 1 <= percent <= 99.\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -133,7 +133,7 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
struct iptables_match rand_match
= { NULL,
"random",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_rand_info)),
IPT_ALIGN(sizeof(struct ipt_rand_info)),
&help,
diff --git a/extensions/libipt_realm.c b/extensions/libipt_realm.c
index 77e6a3e0..60a38972 100644
--- a/extensions/libipt_realm.c
+++ b/extensions/libipt_realm.c
@@ -20,7 +20,7 @@ help(void)
"REALM v%s options:\n"
" --realm [!] value[/mask]\n"
" Match realm\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -115,7 +115,7 @@ final_check(unsigned int flags)
struct iptables_match realm
= { NULL,
"realm",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_realm_info)),
IPT_ALIGN(sizeof(struct ipt_realm_info)),
&help,
diff --git a/extensions/libipt_recent.c b/extensions/libipt_recent.c
index d796d562..5b48cd31 100644
--- a/extensions/libipt_recent.c
+++ b/extensions/libipt_recent.c
@@ -30,7 +30,7 @@ help(void)
" Useful if you have problems with people spoofing their source address in order\n"
" to DoS you via this module.\n"
" --name name Name of the recent list to be used. DEFAULT used if none given.\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
@@ -185,7 +185,7 @@ static
struct iptables_match recent
= { NULL,
"recent",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_recent_info)),
IPT_ALIGN(sizeof(struct ipt_recent_info)),
&help,
diff --git a/extensions/libipt_record_rpc.c b/extensions/libipt_record_rpc.c
index c40df402..819c8ef6 100644
--- a/extensions/libipt_record_rpc.c
+++ b/extensions/libipt_record_rpc.c
@@ -9,7 +9,7 @@ help(void)
{
printf(
"record_rpc v%s takes no options\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -56,7 +56,7 @@ static
struct iptables_match record_rpc
= { NULL,
"record_rpc",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(0),
IPT_ALIGN(0),
&help,
diff --git a/extensions/libipt_standard.c b/extensions/libipt_standard.c
index c5faf189..d79ad7cf 100644
--- a/extensions/libipt_standard.c
+++ b/extensions/libipt_standard.c
@@ -13,7 +13,7 @@ help(void)
{
printf(
"Standard v%s options:\n"
-"(If target is DROP, ACCEPT, RETURN or nothing)\n", NETFILTER_VERSION);
+"(If target is DROP, ACCEPT, RETURN or nothing)\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -51,7 +51,7 @@ static
struct iptables_target standard
= { NULL,
"standard",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(int)),
IPT_ALIGN(sizeof(int)),
&help,
diff --git a/extensions/libipt_state.c b/extensions/libipt_state.c
index 0c2b4f8e..ac3c0ba3 100644
--- a/extensions/libipt_state.c
+++ b/extensions/libipt_state.c
@@ -16,7 +16,7 @@ help(void)
"state v%s options:\n"
" [!] --state [INVALID|ESTABLISHED|NEW|RELATED][,...]\n"
" State(s) to match\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -145,7 +145,7 @@ static
struct iptables_match state
= { NULL,
"state",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_state_info)),
IPT_ALIGN(sizeof(struct ipt_state_info)),
&help,
diff --git a/extensions/libipt_string.c b/extensions/libipt_string.c
index 96801b31..20613fdc 100644
--- a/extensions/libipt_string.c
+++ b/extensions/libipt_string.c
@@ -24,7 +24,7 @@ help(void)
printf(
"STRING match v%s options:\n"
"--string [!] string Match a string in a packet\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
fputc('\n', stdout);
}
@@ -116,7 +116,7 @@ static
struct iptables_match string
= { NULL,
"string",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_string_info)),
IPT_ALIGN(sizeof(struct ipt_string_info)),
&help,
diff --git a/extensions/libipt_tcp.c b/extensions/libipt_tcp.c
index 85f6d786..acf60501 100644
--- a/extensions/libipt_tcp.c
+++ b/extensions/libipt_tcp.c
@@ -24,7 +24,7 @@ help(void)
" --dport ...\n"
" match destination port(s)\n"
" --tcp-option [!] number match if TCP option set\n\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -423,7 +423,7 @@ static
struct iptables_match tcp
= { NULL,
"tcp",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_tcp)),
IPT_ALIGN(sizeof(struct ipt_tcp)),
&help,
diff --git a/extensions/libipt_tcpmss.c b/extensions/libipt_tcpmss.c
index 87353bfe..a2a9c180 100644
--- a/extensions/libipt_tcpmss.c
+++ b/extensions/libipt_tcpmss.c
@@ -16,7 +16,7 @@ help(void)
"tcpmss match v%s options:\n"
"[!] --mss value[:value] Match TCP MSS range.\n"
" (only valid for TCP SYN or SYN/ACK packets)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -143,7 +143,7 @@ static
struct iptables_match tcpmss
= { NULL,
"tcpmss",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_tcpmss_match_info)),
IPT_ALIGN(sizeof(struct ipt_tcpmss_match_info)),
&help,
diff --git a/extensions/libipt_time.c b/extensions/libipt_time.c
index 1ad5058a..909ca81d 100644
--- a/extensions/libipt_time.c
+++ b/extensions/libipt_time.c
@@ -21,7 +21,7 @@ help(void)
" timestart value : HH:MM\n"
" timestop value : HH:MM\n"
" listofdays value: a list of days to apply -> ie. Mon,Tue,Wed,Thu,Fri. Case sensitive\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -295,7 +295,7 @@ static
struct iptables_match timestruct
= { NULL,
"time",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_time_info)),
IPT_ALIGN(sizeof(struct ipt_time_info)),
&help,
diff --git a/extensions/libipt_tos.c b/extensions/libipt_tos.c
index 3d4616f6..b0cd2e01 100644
--- a/extensions/libipt_tos.c
+++ b/extensions/libipt_tos.c
@@ -32,7 +32,7 @@ help(void)
"TOS match v%s options:\n"
"[!] --tos value Match Type of Service field from one of the\n"
" following numeric or descriptive values:\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
for (i = 0; i < sizeof(TOS_values)/sizeof(struct TOS_value);i++)
printf(" %s %u (0x%02x)\n",
@@ -155,7 +155,7 @@ static
struct iptables_match tos
= { NULL,
"tos",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_tos_info)),
IPT_ALIGN(sizeof(struct ipt_tos_info)),
&help,
diff --git a/extensions/libipt_ttl.c b/extensions/libipt_ttl.c
index 4ef97643..799cc561 100644
--- a/extensions/libipt_ttl.c
+++ b/extensions/libipt_ttl.c
@@ -1,7 +1,7 @@
/* Shared library add-on to iptables to add TTL matching support
* (C) 2000 by Harald Welte <laforge@gnumonks.org>
*
- * $Id: libipt_ttl.c,v 1.4 2002/02/25 11:25:41 laforge Exp $
+ * $Id: libipt_ttl.c,v 1.5 2002/03/14 11:35:58 laforge Exp $
*
* This program is released under the terms of GNU GPL */
@@ -21,7 +21,7 @@ static void help(void)
" --ttl-eq value Match time to live value\n"
" --ttl-lt value Match TTL < value\n"
" --ttl-gt value Match TTL > value\n"
-, NETFILTER_VERSION);
+, IPTABLES_VERSION);
}
static void init(struct ipt_entry_match *m, unsigned int *nfcache)
@@ -158,7 +158,7 @@ static
struct iptables_match ttl = {
NULL,
"ttl",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_ttl_info)),
IPT_ALIGN(sizeof(struct ipt_ttl_info)),
&help,
diff --git a/extensions/libipt_udp.c b/extensions/libipt_udp.c
index 6b6b9961..622fb436 100644
--- a/extensions/libipt_udp.c
+++ b/extensions/libipt_udp.c
@@ -19,7 +19,7 @@ help(void)
" --destination-port [!] port[:port]\n"
" --dport ...\n"
" match destination port(s)\n",
-NETFILTER_VERSION);
+IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -233,7 +233,7 @@ static
struct iptables_match udp
= { NULL,
"udp",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_udp)),
IPT_ALIGN(sizeof(struct ipt_udp)),
&help,
diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c
index 5e842e93..16cc0a51 100644
--- a/extensions/libipt_unclean.c
+++ b/extensions/libipt_unclean.c
@@ -10,7 +10,7 @@ help(void)
{
printf(
"unclean v%s takes no options\n"
-"\n", NETFILTER_VERSION);
+"\n", IPTABLES_VERSION);
}
static struct option opts[] = {
@@ -45,7 +45,7 @@ static
struct iptables_match unclean
= { NULL,
"unclean",
- NETFILTER_VERSION,
+ IPTABLES_VERSION,
IPT_ALIGN(0),
IPT_ALIGN(0),
&help,