summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2011-06-14 12:06:38 +0000
committerae <ae@FreeBSD.org>2011-06-14 12:06:38 +0000
commit1717f18181654d5b073cff9521c0b635459cfe39 (patch)
treecf533c02310435b8f7927b980c23133548e0b653 /sys/netinet/libalias
parente36755fe133b1ed57ad69802b5757c30aaac9f4d (diff)
downloadFreeBSD-src-1717f18181654d5b073cff9521c0b635459cfe39.zip
FreeBSD-src-1717f18181654d5b073cff9521c0b635459cfe39.tar.gz
Sort alias mode flags in the increasing order.
Diffstat (limited to 'sys/netinet/libalias')
-rw-r--r--sys/netinet/libalias/alias.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/netinet/libalias/alias.h b/sys/netinet/libalias/alias.h
index 2aed829..6fe40ed 100644
--- a/sys/netinet/libalias/alias.h
+++ b/sys/netinet/libalias/alias.h
@@ -197,17 +197,6 @@ struct mbuf *m_megapullup(struct mbuf *, int);
*/
#define PKT_ALIAS_RESET_ON_ADDR_CHANGE 0x20
-#ifndef NO_FW_PUNCH
-/*
- * If PKT_ALIAS_PUNCH_FW is set, active FTP and IRC DCC connections will
- * create a 'hole' in the firewall to allow the transfers to work. The
- * ipfw rule number that the hole is created with is controlled by
- * PacketAliasSetFWBase(). The hole will be attached to that
- * particular alias_link, so when the link goes away the hole is deleted.
- */
-#define PKT_ALIAS_PUNCH_FW 0x100
-#endif
-
/*
* If PKT_ALIAS_PROXY_ONLY is set, then NAT will be disabled and only
* transparent proxying is performed.
@@ -220,6 +209,17 @@ struct mbuf *m_megapullup(struct mbuf *, int);
*/
#define PKT_ALIAS_REVERSE 0x80
+#ifndef NO_FW_PUNCH
+/*
+ * If PKT_ALIAS_PUNCH_FW is set, active FTP and IRC DCC connections will
+ * create a 'hole' in the firewall to allow the transfers to work. The
+ * ipfw rule number that the hole is created with is controlled by
+ * PacketAliasSetFWBase(). The hole will be attached to that
+ * particular alias_link, so when the link goes away the hole is deleted.
+ */
+#define PKT_ALIAS_PUNCH_FW 0x100
+#endif
+
/* Function return codes. */
#define PKT_ALIAS_ERROR -1
#define PKT_ALIAS_OK 1
OpenPOWER on IntegriCloud