summaryrefslogtreecommitdiffstats
path: root/lib/libalias/alias_proxy.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce inline {ip,udp,tcp}_next() functions which take a pointer to andes2004-07-061-3/+3
| | | | | | | {ip,udp,tcp} header and return a void * pointing to the payload (i.e. the first byte past the end of the header and any required padding). Use them consistently throughout libalias to a) reduce code duplication, b) improve code legibility, c) get rid of a bunch of alignment warnings.
* Make libalias WARNS?=6-clean. This mostly involves renaming variablesdes2004-07-051-10/+15
| | | | | | | | | 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.
* Parenthesize return values.des2004-07-051-32/+32
|
* Mechanical whitespace cleanup.des2004-07-051-11/+11
|
* Run through indent(1) so I can read the code without getting a headache.des2004-03-161-534/+501
| | | | | 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-20/+23
| | | | | | | | | | | | 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.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Remove trailing whitespacebrian2002-07-011-5/+5
|
* cmott@scientech.com -> cm@linktel.netbrian2001-11-031-1/+1
| | | | Requested by: Charles Mott <cmott@scientech.com>
* Add __FBSDID's to libaliasdillon2001-09-301-2/+3
|
* Add BSD-style copyright headersbrian2001-06-041-2/+28
| | | | Approved by: Charles Mott <cmott@scientech.com>
* Remove an extraneous declaration.brian2001-03-251-1/+0
|
* Ignore leading witespace in the string given to PacketAliasProxyRule().brian2001-01-291-0/+1
|
* strtok -> strsep (no strtok allowed in libraries)ache2000-08-291-3/+6
| | | | add unsigned char cast to ctype macro
* Add $FreeBSD$ and spell Eklund properly.billf1999-08-291-0/+2
| | | | Approved by: brian (well, he approved adding $Id$)
* Add a ``const'' and remove some inconsistent prototype args.brian1999-03-241-1/+1
|
* Remove all diagnostics to stdout/stderr with #ifdef DEBUGbrian1999-03-091-4/+8
| | | | Statify functions in alias_nbt.c
* Version 3.0: January 1, 1999brian1999-02-271-0/+801
- 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>
OpenPOWER on IntegriCloud