Commit Graph

24 Commits

Author SHA1 Message Date
Francois-Xavier Le Bail
fd4738e245 BFD: Update specification from draft to RFC 5880
This is for version 1.  The version 0 remain "draft".

Moreover:
Update a flag string ("Reserved" -> "Multipoint").
2016-08-16 15:55:24 +02:00
Francois-Xavier Le Bail
b38f324af9 Add a summary comment in all other printers
Moreover:
Remove some redundant comments
Update some summary comments
Update the specification URL for ATA over Ethernet (AoE) protocol
2016-08-15 22:42:38 +02:00
Francois-Xavier Le Bail
99c91c3aec Rename 'tcpdump-stdinc.h' to 'netdissect-stdinc.h'
Get the full log via: git log --follow netdissect-stdinc.h
2015-09-10 08:50:40 +02:00
Francois-Xavier Le Bail
c1c3c77463 Printers must include 'netdissect.h', not 'interface.h' 2015-09-05 23:35:58 +02:00
Denis Ovsienko
38700c7f24 dismiss NETDISSECT_REWORKED macro
The purpose of this macro was to enable the file-by-file switch to NDO,
after which only tcpdump.c had a use of it and the definitions guarded
by it. Update tcpdump.c not to require them any more and dismiss the
unused definitions.
2015-03-22 10:06:15 +00:00
Guy Harris
ed85e20e4d u_intN_t is dead, long live uintN_t.
And, as we require at least autoconf 2.61, and as autoconf 2.61 and
later have AC_TYPE_UINTn_T and AC_TYPE_INTn_T macros, we use them to
define the uintN_t and intN_t macros if the system doesn't define them
for us.

This lets us get rid of bitypes.h as well.
2014-04-23 00:20:40 -07:00
Denis Ovsienko
1fe6e66ece make use of NETDISSECT_REWORKED
Update the already converted decoders to define the macro and to include
interface.h instead of netdissect.h. Fix incurred compile errors.
2014-03-15 14:19:49 +04:00
Denis Ovsienko
83bec9d56c refine some past NDO conversions
Don't include unneeded headers and replace a few remaining printf's.
2014-03-12 18:11:23 +04:00
Denis Ovsienko
cf90fd1a84 NDOize ARCNET, BFD and GRE decoders 2014-03-11 17:36:46 +04:00
Denis Ovsienko
69f6f4392a don't include addrtoname.h needlessly 2014-02-25 17:53:08 +04:00
Denis Ovsienko
fe3253b9b8 remove tcpdump's own CVS keywords
Remove lots of $Header's and a few $Id's that all belong to the former
CVS repository of tcpdump itself. These keywords have been frozen since
the migration to git in late 2008.
2014-01-03 00:59:08 +04:00
Michael Richardson
ac910c086e ndo-ize print-ascii: hex_print_with_offset() 2014-01-01 21:31:18 -05:00
Michael Richardson
a97fb2f3ae whitespace changes 2014-01-01 21:31:18 -05:00
Guy Harris
3e49644114 Based on a patch from Marc Binderberger, fix the handling of non-control
packets.
2009-03-27 01:25:39 -07:00
hannes
921ffddf12 shift the state field in the bfdv1 printer correct 2006-02-02 06:35:52 +00:00
hannes
a370efc5ca authentication present flag is 0x04 and not 0x40 2005-04-28 09:27:35 +00:00
hannes
a8c89731f0 do proper masking and shifting of the flag bits 2005-04-28 07:29:13 +00:00
hannes
620d5f1579 boundary check for authentication header 2005-04-27 23:14:02 +00:00
hannes
fe99fbf3b5 add support for BFDv1 as per draft-ietf-bfd-base-02 2005-04-27 23:00:53 +00:00
guy
bbc1cfa669 Have the configure script arrange that the Makefile define _U_
appropriately, and that GNUmakefile and the MSVC++ project file define
it apppriately, as we do with libpcap, rather than defining it in
"interface.h".

Undo the rcsid-shuffling and addition of extra #includes, as we no
longer need to arrange that "interface.h" be included before using _U_
in an RCS ID or copyright.
2003-11-16 09:36:07 +00:00
guy
3824a6c041 From Neil Spring:
use "_U_" in the definitions of "rcsid[]", to eliminate
	complaints about those variables being unused;

	move the definitions after the include of "interface.h", or add
	an include of "interface.h", so that "_U_" is defined.

Include "config.h" before including "tcpdump-stdinc.h" in
"missing/datalinks.c".
2003-11-15 00:39:12 +00:00
hannes
00a6f199f0 - move UDP port numbers to udp.h
- then the number defines# are acessible from outside

- make a differentiation between BFD_ECHO_PORT and BFD_CONTROL_PORT
2003-10-27 22:44:37 +00:00
hannes
4b32b1020e display cosmetics: stay inline to other decoders for vflag handling 2003-10-27 17:21:32 +00:00
hannes
1899f7d7d1 support for bi-directional fault detection (BFD) Control packets
as per draft-katz-ward-bfd-01.txt
2003-10-27 10:13:44 +00:00