OpenBSD CVS

CVS log for src/lib/libpcap/nametoaddr.c


[BACK] Up to [local] / src / lib / libpcap

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 5 18:01:56 2024 UTC (2 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

ANSI functions; ok tb

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 1 18:28:45 2021 UTC (2 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.23: +1 -4 lines
Diff to previous 1.23 (colored)

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

Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 10 00:01:13 2021 UTC (2 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)

nothing from sys/param.h is used

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jul 19 04:51:31 2019 UTC (4 years, 10 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

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

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

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 2 02:37:30 2016 UTC (7 years, 6 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

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@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 29 18:37:02 2016 UTC (7 years, 6 months ago) by jca
Branch: MAIN
Changes since 1.19: +7 -5 lines
Diff to previous 1.19 (colored)

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@

Revision 1.19 / (download) - annotate - [select for diffs], Tue Nov 17 21:39:23 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.18: +7 -7 lines
Diff to previous 1.18 (colored)

Remove register keyword.

ok deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Tue Nov 17 18:19:45 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

memory.h -> string.h

ok deraadt@

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 24 06:07:43 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Cast isxdigit()'s argument to unsigned char.

ok guenther@

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 16 03:19:57 2015 UTC (9 years, 4 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Sat Dec 6 23:20:17 2014 UTC (9 years, 6 months ago) by krw
Branch: MAIN
Changes since 1.14: +1 -5 lines
Diff to previous 1.14 (colored)

A few last 'easy' #include dedups.

ok tedu@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Mar 21 02:55:29 2014 UTC (10 years, 2 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.13: +1 -11 lines
Diff to previous 1.13 (colored)

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@

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 11 07:31:46 2006 UTC (18 years, 5 months ago) by jaredy
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

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

sent upstream where applicable

ok djm moritz

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 7 19:32:39 2005 UTC (18 years, 8 months ago) by mpf
Branch: MAIN
Changes since 1.11: +22 -1 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 28 06:19:58 2005 UTC (19 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.10: +2 -6 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 27 06:58:03 2004 UTC (20 years, 4 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.9: +1 -6 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 19 19:39:37 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.8: +2 -4 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 26 21:25:53 2000 UTC (24 years, 1 month ago) by jakob
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.7: +37 -4 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 20 04:49:55 1999 UTC (24 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.6: +26 -21 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 25 20:30:20 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

#if __STDC__ --> #ifdef __STDC__

Revision 1.5 / (download) - annotate - [select for diffs], Mon Sep 16 02:33:06 1996 UTC (27 years, 9 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +6 -3 lines
Diff to previous 1.4 (colored)

Use __inline

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 12 13:19:09 1996 UTC (27 years, 11 months ago) by mickey
Branch: MAIN
Changes since 1.3: +34 -30 lines
Diff to previous 1.3 (colored)

bring it to the latest 0.2 LBL release.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 10 07:23:28 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.2: +8 -8 lines
Diff to previous 1.2 (colored)

merge to latest libpcap

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 4 15:47:22 1996 UTC (28 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

Update to the latest LBL release.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:02 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:43:02 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.