summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias/alias_irc.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce inline {ip,udp,tcp}_next() functions which take a pointer to andes2004-07-061-1/+1
| | | | | | | {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-14/+14
| | | | | | | | | 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.
* Mechanical whitespace cleanup.des2004-07-051-4/+4
|
* Run through indent(1) so I can read the code without getting a headache.des2004-03-161-259/+287
| | | | | 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-2/+3
| | | | | | | | | | | | 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.
* Remove trailing whitespacebrian2002-07-011-8/+8
|
* 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
|
* Close the "IRC DCC" security breach reported recently on Bugtraq.ru2001-08-211-0/+6
| | | | Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
* Make the copyright consistent.brian2001-08-201-3/+0
| | | | Previously approved by: Charles Mott <cmott@scientech.com>
* Handle snprintf() returning -1brian2001-08-201-3/+13
| | | | MFC after: 2 weeks
* Add BSD-style copyright headersbrian2001-06-041-2/+28
| | | | Approved by: Charles Mott <cmott@scientech.com>
* Added boolean argument to link searching functions, indicatingru2000-10-301-4/+3
| | | | whether they should create a link if lookup has failed or not.
* Add $FreeBSD$ and spell Eklund properly.billf1999-08-291-0/+2
| | | | Approved by: brian (well, he approved adding $Id$)
* Don't call PunchFWHole() ifdef NO_FW_PUNCHbrian1998-06-061-0/+2
| | | | Pointed out by: "Steve Sims" <SimsS@IBM.Net>
* o Support a compile-time -DNO_FW_PUNCH for portabilitybrian1998-04-191-1/+1
| | | | | | (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>
* Teach libalias to work with IPFW firewalls (controlled by a flag).eivind1998-01-091-0/+3
| | | | | Obtained from: Yes development tree (+ 10 lines of patches from Charles Mott, original libalias author)
* Create the alias library. This is currently only used bybrian1997-05-231-0/+311
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