summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-ospf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - (void)printf() -> printf(); the cast adds clutter for little value.procter2020-01-241-5/+5
| | | | | | | | | | - 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
* md5 auth has useful information on the wire that helps when fixing issuesdlg2019-04-141-3/+15
| | | | | | | print at least the key-id, and seq when -v is set, and the offset and len when -vv is set. ok sthen@ bluhm@
* Remove remaining instances of the register keyword.mmcc2015-11-161-36/+33
| | | | 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
|
* Tcpdump did not show the OSPF router id of hello packets if it wasbluhm2014-07-041-4/+2
| | | | | | equal to the source ip address. This is confusing and inconsistent with IPv6. So always print the rtrid. OK stsp@
* Don't be to strict when checking the length of an ospf packet.claudio2011-03-221-4/+8
| | | | | | Allow for padding bytes in the IP packet (length > ntohs(op->ospf_len)) but report both length in that case. OK sthen@, deraadt@
* Print the MTU in OSPF dd packets. Borrowed from the ospf6 printer.sthen2010-08-041-2/+3
| | | | ok claudio@ deraadt@
* 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
|
* The External Route Tag for AS-External-LSAs can be an arbitrary 32bitreyk2007-06-141-5/+5
| | | | | | | value and doesn't need to be an IPv4 address. It is more like a vendor-specific field. as discussed with claudio after looking into rfc2328
* Add comments to please lint. No code changes. OK deraadtcloder2006-04-211-4/+4
|
* remove extra space in output of router LSA; ok claudio@stevesk2005-12-171-3/+3
|
* print ip_{src,dst} again; ok henning@markus2003-07-081-4/+2
|
* Add $OpenBSD$. (jakob@ ok)ho2000-10-031-1/+3
|
* INET6jakob2000-04-261-1/+3
| | | | | | DHCP/BOOTP tcp & udp checksum detection numerous bugfixes
* - Merge some changes from tcpdump 3.4jakob1999-07-281-8/+16
| | | | | | | | | | | | | | | -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@
* *** empty log message ***bitblt1996-12-121-442/+452
|
* it is 3.2 now.mickey1996-07-131-40/+29
|
* 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/+580