summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/inet.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-7/+7
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* remove NULL-checks before free()mmcc2015-12-221-11/+6
|
* Remove register keyword.mmcc2015-11-171-5/+5
| | | | ok deraadt@
* memory.h -> string.hmmcc2015-11-171-2/+1
| | | | ok deraadt@
* Cast ctype function arguments to unsigned char.mmcc2015-10-241-3/+3
| | | | ok guenther@
* Move to the <limits.h> universe.deraadt2015-01-161-2/+1
| | | | review by millert, binary checking process with doug, concept with guenther
* add remaining tcpdump.org libpcap 0.9 APIs, most notablydjm2006-03-261-7/+5
| | | | | pcap_setdirection() (which depends on the kernel-side bpf changes committed yesterday); ok canacar@
* Fix syntax error (missing ')') in #ifdef'ed out code. Spotted by lint.krw2005-11-251-2/+2
| | | | ok deraadt@
* pull in the good bits of libpcap-0.9.4's API without the cross-platformdjm2005-11-181-18/+50
| | | | | | cruft. help from deraadt@, mpf@, jmc@; ok mpf@a nb. this will break tcpdump unless it updated too
* remove $Header, it was messing up cvs for me. ok deraadt@tedu2004-01-271-5/+1
|
* Replace some strncpy() calls with strlcpy()jfb2004-01-211-9/+8
| | | | tested by jose@, ok canacar@ and otto@
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-4/+2
|
* sync with libpcap v0.5jakob2000-04-261-33/+26
| | | | add support for INET6 (kame)
* use getifaddrs, to avoid copmlicated align constraint in SIOCGIFCONF.itojun2000-04-131-2/+53
|
* changes brought in from v0.4; started by brad, more by me, being tested by mtsderaadt1999-07-201-10/+16
|
* fix premature free() callingmickey1998-08-271-2/+3
|
* realloc repairderaadt1998-08-141-4/+7
|
* buf oflowsderaadt1998-07-141-9/+11
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-2/+2
|
* SIOCGIFCONF nicelyderaadt1997-01-241-12/+23
|
* eschew use of HAVE_SOCKADDR_SA_LEN for nowderaadt1996-07-191-2/+2
|
* bring it to the latest 0.2 LBL release.mickey1996-07-121-7/+23
|
* merge to latest libpcapderaadt1996-06-101-3/+3
|
* Update to the latest LBL release.mickey1996-03-041-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+198