summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-gre.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cap the GRE packet len to tcpdump's snap len, fixes a segfault.jca2015-11-051-1/+4
| | | | From Kevin Reay, ok sthen@
* When fetching the GRE version, use GRE_VERS and not a naked "7" as mask.jca2015-11-051-2/+2
| | | | From Kevin Reay
* 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
|
* last bit of clause 3 & 4 nuking for me.jason2003-06-031-6/+1
|
* o for gre version 1, correctly check if kp (key present) is unset.fgsch2002-10-301-13/+13
| | | | | | | | o remove trailing spaces for better output. o print sequence, acknowledge and callid as unsigned, and remove key from version 1 since it's actually the payload length (not including the gre header). jason@ ok.
* Handle RFC2637 (PPTP defines an enhanced GRE... *sigh*)jason2002-09-181-9/+118
|
* Fully decode source routing elements defined in rfc1702jason2002-09-181-1/+102
|
* Rewrite from scratch: same basic functionality, but better license andjason2002-09-181-102/+115
| | | | knows how to skip routing info and process the rest of the packet.
* Add $OpenBSD$. (jakob@ ok)ho2000-10-031-1/+3
|
* *** empty log message ***bitblt1996-12-121-0/+141