summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-nfs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - (void)printf() -> printf(); the cast adds clutter for little value.procter2020-01-241-8/+8
| | | | | | | | | | - 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
* Remove #ifdef INET6kn2018-10-221-18/+2
| | | | | | | | | | | | There's not reason to build without IPv6 support, `-U INET6' builds were broken anyway. Fix an empty redefine for IPPROTO_IPV6 in print-ip.c while here. No object change on amd64 and sparc64 with clang, gcc compiles differently but behaviour stays the same. OK denis deraadt
* Remove preprocessor conditions (checking for ancient OSs) that try tommcc2016-01-151-2/+2
| | | | | | | divine whether a file handle was generated on the current host. More simplifications to come. supported by deraadt@
* Remove remaining instances of the register keyword.mmcc2015-11-161-21/+19
| | | | ok deraadt@
* Fix a crash that occurs when printing the filename in a malformed NFSlteo2015-10-151-3/+5
| | | | | | | | | request packet. From Kevin Reay who obtained the fix from the tcpdump.org repo (part of commit 6191f36146f5d286304e9b6e893477fe509d83ab). ok canacar@ sthen@
* 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
|
* Don't segfault on IPv6 NFS traffic; found the hard why by matthieu@.florian2014-02-051-4/+43
| | | | | | Fix inspired by what upstream is doing. Tested by me and matthieu@. Input^WHand holding and OK guenther@
* 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
* make it easy to spot wich nfs version the traffic is.thib2007-06-291-5/+18
| | | | input & OK canacar@
* more missing bounds checks. ok marius@ deraadt@moritz2005-05-241-2/+13
|
* add some missing bounds checks. ok marius@moritz2005-05-231-2/+5
|
* nfs v3 support from tcpdump.org/netbsd; tests with pedro, mariusmarkus2004-09-161-245/+1040
|
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-3/+1
|
* simplify buffer handling; ok hoderaadt2001-11-071-2/+2
|
* tcpdump incorrectly print port numbers when parsing NFS (PR#1540)jakob2000-12-051-32/+5
| | | | fix submitted by Grigoriy Orlov <gluk@ptci.ru>
* Add $OpenBSD$. (jakob@ ok)ho2000-10-031-0/+2
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-1/+1
|
* signed int fix from leres@ee.lbl.govderaadt1997-06-301-12/+13
|
* *** empty log message ***bitblt1996-12-121-159/+166
|
* it is 3.2 now.mickey1996-07-131-969/+283
|
* sync to latestderaadt1996-06-101-207/+897
|
* Updating to the latest LBL release.mickey1996-03-041-0/+1
| | | | Sun's SKIP support added.
* initial import of NetBSD treederaadt1995-10-181-0/+856