summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias/alias.h
Commit message (Collapse)AuthorAgeFilesLines
* Make libalias WARNS?=6-clean. This mostly involves renaming variablesdes2004-07-051-6/+6
| | | | | | | | | named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing signed / unsigned comparisons, and shoving unused function arguments under the carpet. I was hoping WARNS?=6 might reveal more serious problems, and perhaps the source of the -O2 breakage, but found no smoking gun.
* Add LibAliasOutTry() which checks a packet for a hit in the tables, butphk2004-07-041-0/+1
| | | | does not create a new entry if none is found.
* Run through indent(1) so I can read the code without getting a headache.des2004-03-161-62/+64
| | | | | The result isn't quite knf, but it's knfer than the original, and far more consistent.
* Mostly mechanical rework of libalias:phk2004-01-171-8/+86
| | | | | | | | | | | | Makes it possible to have multiple packet aliasing instances in a single process by moving all static and global variables into an instance structure called "struct libalias". Redefine a new API based on s/PacketAlias/LibAlias/g Add new "instance" argument to all functions in the new API. Implement old API in terms of the new API.
* Add Cisco Skinny Station protocol support to libalias, natd, and ppp.marcus2003-09-231-0/+1
| | | | | | | | | | | | | | | Skinny is the protocol used by Cisco IP phones to talk to Cisco Call Managers. With this code, one can use a Cisco IP phone behind a FreeBSD NAT gateway. Currently, having the Call Manager behind the NAT gateway is not supported. More information on enabling Skinny support in libalias, natd, and ppp can be found in those applications' manpages. PR: 55843 Reviewed by: ru Approved by: ru MFC after: 30 days
* A new API function PacketAliasRedirectDynamic() can be usedru2003-06-011-0/+1
| | | | | to mark a fully specified static link as dynamic; i.e. make it a one-time link.
* Remove trailing whitespacebrian2002-07-011-1/+1
|
* cmott@scientech.com -> cm@linktel.netbrian2001-11-031-1/+1
| | | | Requested by: Charles Mott <cmott@scientech.com>
* Add BSD-style copyright headersbrian2001-06-041-2/+28
| | | | Approved by: Charles Mott <cmott@scientech.com>
* Make header files conform to style(9).brian2001-03-251-150/+137
| | | | | | Reviewed by (*): bde (*) alias_local.h only got a cursory glance.
* Remove (non-protected) variable names from function prototypes.brian2001-03-221-7/+5
|
* Add address translation support for RTSP/RTP used by RealPlayer andarchie2000-07-261-0/+3
| | | | | | | | Quicktime streaming media applications. Add a BUGS section to the man page. Submitted by: Erik Salander <erik@whistle.com>
* - Removed PacketAliasPptp() API function.ru2000-06-201-3/+0
| | | | - SHLIB_MAJOR++.
* Replace PacketAliasRedirectPptp() (which had nothing specificru2000-04-281-5/+4
| | | | | | | to PPTP) with more generic PacketAliasRedirectProto(). Major number is not bumped because it is believed that noone has started using PacketAliasRedirectPptp() yet.
* Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).ru2000-04-271-0/+5
| | | | | | LSNAT links are first created by either PacketAliasRedirectPort() or PacketAliasRedirectAddress() and then set up by one or more calls to PacketAliasAddServer().
* Add support for multiple PPTP sessions:ru2000-04-181-5/+10
| | | | | | | - new API function: PacketAliasRedirectPptp() - new mode bit: PKT_ALIAS_DENY_PPTP Please see manual page for details.
* - Moved NULL definition into private include file.ru2000-04-051-7/+3
| | | | - Minor spelling fixes.
* The flags PKT_ALIAS_PUNCH_FW and PKT_ALIAS_PROXY_ONLY were botharchie2000-02-021-1/+1
| | | | | | | being defined as 0x40. Change the former to be 0x100. Submitted by: Erik Salander <erik@whistle.com> Approved by: jkh
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add a ``const'' and remove some inconsistent prototype args.brian1999-03-241-2/+2
|
* Version 3.0: January 1, 1999brian1999-02-271-23/+16
| | | | | | | | - Transparent proxying support added. - PPTP redirecting support added based on patches contributed by Dru Nelson <dnelson@redwoodsoft.com>. Submitted by: Charles Mott <cmott@srv.net>
* o Support a compile-time -DNO_FW_PUNCH for portabilitybrian1998-04-191-1/+5
| | | | | | (and those of us that don't want the functionality). o Don't assume sizeof(long) == 4. Ok'd by: Charles Mott <cmott@srv.net>
* Added prototypes for functions that were documented in libalias.3bde1998-01-161-0/+8
| | | | but not prototyped here.
* Remove __libalias_version. Ppp no longer uses it.brian1998-01-141-3/+0
|
* Put back __libalias_version so ppp(8) build again.steve1998-01-101-0/+3
|
* Teach libalias to work with IPFW firewalls (controlled by a flag).eivind1998-01-091-3/+14
| | | | | Obtained from: Yes development tree (+ 10 lines of patches from Charles Mott, original libalias author)
* Upgrade to 2.4 (Fix -PKT_ALIAS_UNREGISTERED_ONLY)brian1997-09-061-0/+3
| | | | | | | Submitted by: Charles Mott <cmott@srv.net> Add __libalias_version so that ppp can derive the correct library name for dlopen()
* Update to version 2.2. Only the PacketAlias*()brian1997-08-031-34/+79
| | | | | | functions should now be used. The old 2.1 stuff is there for backwards compatability. Submitted by: Charles Mott <cmott@snake.srv.net>
* Create the alias library. This is currently only used bybrian1997-05-231-0/+102
ppp (or will be shortly). Natd can now be updated to use this library rather than carrying its own version of the code. Submitted by: Charles Mott <cmott@srv.net>
OpenPOWER on IntegriCloud