History log of /openbsd-src/lib/libpcap/inet.c (Results 1 – 25 of 28)
Revision Date Author Comments
# 99d1c811 28-Aug-2024 op <op@openbsd.org>

libpcap: replace atoi() usage with strtonum()

ok/improvements beck@


# 19fef815 05-Apr-2024 deraadt <deraadt@openbsd.org>

ANSI functions; ok tb


# 426b943d 01-Dec-2021 deraadt <deraadt@openbsd.org>

we do not need 'struct mbuf; struct rtentry;' to satisfy some ancient unix
variant that made a header file mistake.
ok jsg


# df69c215 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
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.

show more ...


# 526dd6c5 22-Dec-2015 mmcc <mmcc@openbsd.org>

remove NULL-checks before free()


# d0438536 17-Nov-2015 mmcc <mmcc@openbsd.org>

Remove register keyword.

ok deraadt@


# 3a9b5ec4 17-Nov-2015 mmcc <mmcc@openbsd.org>

memory.h -> string.h

ok deraadt@


# 404d8ac4 24-Oct-2015 mmcc <mmcc@openbsd.org>

Cast ctype function arguments to unsigned char.

ok guenther@


# aea60bee 16-Jan-2015 deraadt <deraadt@openbsd.org>

Move to the <limits.h> universe.
review by millert, binary checking process with doug, concept with guenther


# c1bf1209 26-Mar-2006 djm <djm@openbsd.org>

add remaining tcpdump.org libpcap 0.9 APIs, most notably
pcap_setdirection() (which depends on the kernel-side bpf changes
committed yesterday); ok canacar@


# 22f31d87 25-Nov-2005 krw <krw@openbsd.org>

Fix syntax error (missing ')') in #ifdef'ed out code. Spotted by lint.

ok deraadt@


# a878b819 18-Nov-2005 djm <djm@openbsd.org>

pull in the good bits of libpcap-0.9.4's API without the cross-platform
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a

nb. this will break tcpdump unless it updated too


# 8b37c96a 27-Jan-2004 tedu <tedu@openbsd.org>

remove $Header, it was messing up cvs for me. ok deraadt@


# f9ba639d 21-Jan-2004 jfb <jfb@openbsd.org>

Replace some strncpy() calls with strlcpy()

tested by jose@, ok canacar@ and otto@


# e7beb4a7 19-Feb-2002 millert <millert@openbsd.org>

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


# a9b0695f 26-Apr-2000 jakob <jakob@openbsd.org>

sync with libpcap v0.5
add support for INET6 (kame)


# b85261ab 13-Apr-2000 itojun <itojun@openbsd.org>

use getifaddrs, to avoid copmlicated align constraint in SIOCGIFCONF.


# 01efc7ef 20-Jul-1999 deraadt <deraadt@openbsd.org>

changes brought in from v0.4; started by brad, more by me, being tested by mts


# d76584f2 27-Aug-1998 mickey <mickey@openbsd.org>

fix premature free() calling


# 6ca17669 14-Aug-1998 deraadt <deraadt@openbsd.org>

realloc repair


# 13c7aa11 14-Jul-1998 deraadt <deraadt@openbsd.org>

buf oflows


# b7113356 25-Jul-1997 mickey <mickey@openbsd.org>

#if __STDC__ --> #ifdef __STDC__


# 665d6cf7 24-Jan-1997 deraadt <deraadt@openbsd.org>

SIOCGIFCONF nicely


# 71dc5593 19-Jul-1996 deraadt <deraadt@openbsd.org>

eschew use of HAVE_SOCKADDR_SA_LEN for now


# 9b113833 12-Jul-1996 mickey <mickey@openbsd.org>

bring it to the latest 0.2 LBL release.


12