summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-llc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - (void)printf() -> printf(); the cast adds clutter for little value.procter2020-01-241-26/+26
| | | | | | | | | | - fprintf(stdout, ...) -> printf() - fputs(x, stdout) -> printf(); for consistency. fputs is twice as fast on atom x5-Z8300@1.44GHz but Amdahl sees a pure printf tcpdump only 2% slower than a pure fputs (for constant strings) tcpdump to /dev/null across a 20MB/~170k packet pcap file. ok dlg@ for fputs and ok tedu@ krw@ deraadt@ a2k19 for the rest
* support printing cdp over gre and pppdlg2019-04-051-2/+2
| | | | ok deraadt@ mpi@ sthen@
* 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)
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-6/+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
* trash $Header goo which is just annoying; 5595deraadt2007-10-071-2/+2
|
* Add proper bounds checks for the CDP and SSDP protocols bymoritz2006-05-291-20/+19
| | | | | | | | grouping all LLCSAP_SNAP handling in one block. Also make sure, that enough of "struct llc" was captured, before accessing it. ok canacar@
* Check that a complete struct llc was captured (not only 3 bytes),moritz2006-05-281-3/+3
| | | | | | because it is accessed later on. ok deraadt@
* Add support for displaying Shared Spanning Tree Protocol frames, a minorpascoe2004-12-201-2/+10
| | | | | | variation on 802.1d/STP. ok otto@ mcbride@
* disable smb decoder, as there seems to be fewer bound checks than neededitojun2001-06-251-2/+8
|
* add support for printing cdp (Cisco Discovery Protocol), from tcpdump.orgjakob2001-04-081-2/+11
|
* smb printing; from Andrew Tridgell; via tcpdump.orgmickey2000-12-071-2/+48
|
* code for printing bridge spanning tree packetsjason2000-10-191-5/+7
| | | | also fix a bug where llc encoded frames are hex dumped twice when -x is used
* Add $OpenBSD$. (jakob@ ok)ho2000-10-031-1/+3
|
* bring more inline with tcpdump 3.4brad1999-09-161-2/+2
|
* do not go past end of packet; abs@netbsdderaadt1999-02-121-1/+5
|
* Better handling for AppleTalk, and netatalk in particular.denny1997-07-231-2/+20
| | | | Handle native Ethertalk phase 1 & 2 as well as the localtalk encapsulation a la Kinetics FastPath previously handled.
* *** empty log message ***bitblt1996-12-121-11/+6
|
* it is 3.2 now.mickey1996-07-131-7/+6
|
* 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/+198