summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mopd/common/pf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2018-04-261-5/+4
| | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@
* Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beennatano2017-04-191-2/+2
| | | | | | around for two releases, it should be safe to do so. ok bluhm deraadt sthen tb yasuoka
* Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).natano2016-05-281-11/+3
| | | | ok deraadt jca
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-6/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* More delint. -mojmaja2006-04-201-10/+13
|
* more cleanupderaadt2006-04-171-3/+3
|
* Userland programs should include <errno.h> not <sys/errno.h>millert2005-12-211-3/+3
| | | | OK deraadt@
* Filter bpf writes and lock descriptor. tested by hshoexer@canacar2004-05-081-2/+15
| | | | ok henning@ deraadt@
* 4000 lines worth of cleanup, KNF, Knall&Rauch elemination and suchhenning2004-04-141-89/+72
| | | | tested by hshoexer, "don't wait for me" miod@
* gcc3 doesn't like varargs, it was found that the varargs.h inclusion isdrahn2004-01-041-3/+2
| | | | unnecessary for these files, delete. ok espie@
* -Wall cleanup: trim unused vars, right format strings, constify rcsids,avsm2003-12-011-2/+2
| | | | | | braces where needed, add missing prototypes. tested and ok maja@
* more 3/4 cleanups for lazy developersderaadt2003-06-041-7/+2
|
* off by one fix from aaron@. -mojmaja2002-09-071-4/+4
|
* use snprintfderaadt2002-07-131-3/+3
|
* string manipluation paranoia changes. Most probably not exploitable.bitblt2000-02-201-4/+6
|
* #include <string.h> not <strings.h> -- Yes, I'm a weanie...millert1997-08-181-3/+3
|
* Replace $Id with $OpenBSD, 3:rd try. -mojmaja1996-09-211-1/+3
|
* Initial import of mopd-2.5.3. -mojmaja1996-09-211-0/+279