diff options
| author | Brian Somers <brian@FreeBSD.org> | 1998-04-19 21:42:07 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1998-04-19 21:42:07 +0000 |
| commit | 9feab75ab752da3e38e1ae81c8d5e6641302f906 (patch) | |
| tree | 739f5b8da68c9339fe0e2cb9dec3aefa6a2c651f /sys/netinet/libalias/alias.h | |
| parent | 6493d9f3bb70f2dca5abb4b50391c90b53c4316e (diff) | |
Notes
Diffstat (limited to 'sys/netinet/libalias/alias.h')
| -rw-r--r-- | sys/netinet/libalias/alias.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/libalias/alias.h b/sys/netinet/libalias/alias.h index 5bec4c9c1025..010db9885a5a 100644 --- a/sys/netinet/libalias/alias.h +++ b/sys/netinet/libalias/alias.h @@ -7,7 +7,7 @@ This software is placed into the public domain with no restrictions on its distribution. - $Id$ + $Id: alias.h,v 1.7 1998/01/16 12:56:07 bde Exp $ */ @@ -36,8 +36,10 @@ struct alias_link; extern unsigned int PacketAliasSetMode(unsigned int, unsigned int); +#ifndef NO_FW_PUNCH extern void PacketAliasSetFWBase(unsigned int, unsigned int); +#endif /* Packet Handling */ extern int @@ -150,6 +152,7 @@ extern u_short InternetChecksum(u_short *, int); bit is set after a call to PacketAliasInit(). */ #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. Where (IPFW "line-numbers") the hole is created is @@ -157,6 +160,7 @@ extern u_short InternetChecksum(u_short *, int); attached to that particular alias_link, so when the link goes away so do the hole. */ #define PKT_ALIAS_PUNCH_FW 0x40 +#endif /* Return Codes */ #define PKT_ALIAS_ERROR -1 |
