History log of /openbsd-src/lib/libpcap/nametoaddr.c (Results 1 – 25 of 25)
Revision Date Author Comments
# 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


# d91622c2 10-Sep-2021 deraadt <deraadt@openbsd.org>

nothing from sys/param.h is used


# cc70cfc7 19-Jul-2019 dlg <dlg@openbsd.org>

add "slow" to the list of ethernet protocol names.

this allows "tcpdump ether proto slow", which makes looking at lacp
frames a bit easier.


# 257a27b7 02-Dec-2016 dlg <dlg@openbsd.org>

add "lldp" to the ether protocol name db.

this lets me go "tcpdump ether proto lldp" to easily read lldp packets
off the wire without other noise getting in the way.

ok deraadt@ jca@ sthen@


# 6b22954c 29-Nov-2016 jca <jca@openbsd.org>

Stop exporting the eproto_db array, export a pointer to it instead.

tcpdump directly uses eproto_db even though it is not part of the
libpcap API. This means that we can't freely add members to thi

Stop exporting the eproto_db array, export a pointer to it instead.

tcpdump directly uses eproto_db even though it is not part of the
libpcap API. This means that we can't freely add members to this array,
else ld.so complains about size mismatches. Keep the data in a static
array instead and make it usable by tcpdump through a pointer whose size
won't change in the future. A minor bump is enough here for ld.so to
stop complaining.

While here, mark _eproto_db and llc_db as const, as they are meant to
be.

Suggested by and ok deraadt@

show more ...


# 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@


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

Cast isxdigit()'s argument to unsigned char.

ok guenther@


# 1b8dcd42 16-Jan-2015 lteo <lteo@openbsd.org>

Remove pointless casts for several malloc/calloc/free calls. No object
file change.


# 51dfd5d7 06-Dec-2014 krw <krw@openbsd.org>

A few last 'easy' #include dedups.

ok tedu@


# 8d8330a6 21-Mar-2014 lteo <lteo@openbsd.org>

Remove #ifdef lint block, since lint is gone. This #ifdef block was a
local addition that has never been part of upstream. No binary change.

feedback from guenther@


# 1492bed3 11-Jan-2006 jaredy <jaredy@openbsd.org>

- check for malloc failure
- plug some memleaks
- avoid close(-1) when open() fails in pcap_open_live()

sent upstream where applicable

ok djm moritz


# f562933e 07-Oct-2005 mpf <mpf@openbsd.org>

Add Spanning Tree Protocol support.
Bump version to 3.1.
OK brad@


# 9f33d8a6 28-Mar-2005 tedu <tedu@openbsd.org>

add some const to ether_*. remove bonus prototypes this brought out.
ok deraadt@


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

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


# 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)


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

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


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

#if __STDC__ --> #ifdef __STDC__


# 8df16311 16-Sep-1996 tholo <tholo@openbsd.org>

Use __inline


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

bring it to the latest 0.2 LBL release.


# 8a71272b 10-Jun-1996 deraadt <deraadt@openbsd.org>

merge to latest libpcap


# 5262edaf 04-Mar-1996 mickey <mickey@openbsd.org>

Update to the latest LBL release.


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree