summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-ether.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Teach tcpdump to recognize MPLS pseudowire with control words. Addedrzalamena2016-07-111-15/+21
| | | | | | support to print encapsulated ethernet packets as well. "Looks good" deraadt@
* Remove remaining instances of the register keyword.mmcc2015-11-161-3/+3
| | | | ok deraadt@
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* No use for <netinet/in_systm.h> nor <netinet/tcpip.h>.mpi2014-08-141-2/+1
|
* Include the link-level header in the hex output if both the -x and -ejsing2010-01-141-6/+19
| | | | | | options are specified. ok claudio@ sthen@ deraadt@ jmc@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+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
* add ethertype and tcpdump support for VLAN stacking (QinQ) withsthen2008-12-051-3/+7
| | | | | | type number 0x88a8 specified by 802.1ad. from reyk on misc@. "ok, go for it" dlg
* Add support for IEEE "slow protocols" LACP, MARKER as per 802.3ad.mpf2008-10-161-2/+6
| | | | | | Code from tcpdump.org with cleanup and shrinkage by me. Help and ideas for extra sanity checks from canacar@ OK canacar@
* trash $Header goo which is just annoying; 5595deraadt2007-10-071-2/+2
|
* Pass the captured packet length in addition to the real packet lengthmoritz2006-06-011-7/+13
| | | | | | | to etherip_print() and do all the bounds checking with it. Also add bounds checks to ether_print(). This fixes even more crashes. ok canacar@
* Add a simple printer for IEEE 802.1AB LLDP, the Link Layer Discoveryreyk2006-03-281-2/+6
| | | | | | | | | Protocol. LLDP is used by some switch vendors as a replacement for the non-free Cizzco Discovery Protocol (CDP) due to some Cisco patentry... ok brad@
* Add a best effort mpls decoder. From Jason L. Wright.canacar2005-10-081-2/+7
| | | | | | | Since the encapsulated protocol information is not always available in the MPLS tag stack. The decoder attempts to guess the protocol. ok brad@
* 802.3X pretty printer (dead simple)jason2004-01-221-2/+36
| | | | jakob@: "seems reasonable"
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-4/+2
|
* etherip printing code... handles draft (v2) and current (v3)jason2001-02-051-4/+4
|
* Add $OpenBSD$. (jakob@ ok)ho2000-10-031-1/+3
|
* INET6jakob2000-04-261-2/+11
| | | | | | DHCP/BOOTP tcp & udp checksum detection numerous bugfixes
* Use ETHERTYPE_8021Qchris2000-03-071-2/+2
|
* Add 802.1Q from kuznet@ms2.inr.ac.ru via tcpdump.orgchris2000-03-071-4/+31
| | | | also, make extracted_ethertype not extern
* Remove bogus 802.1Q codechris2000-02-191-12/+1
| | | | ok jakob@
* Add support for dumping PPPoE Discovery and Session packetsjason2000-02-181-1/+8
|
* VLAN 802.1q supportjakob2000-01-161-1/+12
|
* #if __STDC__ --> #ifdef __STDC__brad1999-09-161-3/+3
|
* - Merge some changes from tcpdump 3.4jakob1999-07-281-2/+2
| | | | | | | | | | | | | | | -a flag; attempt to convert network and broadcast addresses to names Improved signal handling Miscellaneous fixes and typos OSPF MD5 authentication support - -X flag; emacs-hexl print (including ascii) - Add ECN bits to TCP and IP headers - IKE & IPsec (ESP & AH) support OK deraadt@
* Ethernet v2 encapsulated Appletalk packets are phase 1, w/ LLAP header.denny1997-07-271-2/+2
| | | | 802.3/SNAP encapsulated Appletalk packets are phase 2, w/ no LLAP header.
* *** empty log message ***bitblt1996-12-121-14/+8
|
* add NetBIOS printing.mickey1996-11-121-1/+5
|
* it is 3.2 now.mickey1996-07-131-4/+7
|
* sync to latestderaadt1996-06-101-1/+1
|
* Updating to the latest LBL release.mickey1996-03-041-0/+1
| | | | Sun's SKIP support added.
* initial import of NetBSD treederaadt1995-10-181-0/+194