summaryrefslogtreecommitdiff
path: root/udp.h
Commit message (Collapse)AuthorAgeFilesLines
* AHCP: add version 1 decoderDenis Ovsienko2013-11-131-0/+1
| | | | | | | Add new decoder for UDP port 5359 and a sample packet capture produced on a couple of Linux hosts (a server and a client). Besides that, an existing Babel capture contained AHCP packets and the current AHCP tests cover 0, 1 and 2 "-v" flags.
* Merge pull request #310 from ffatghub/masterDenis Ovsienko2013-05-101-0/+1
|\ | | | | vxlan: use IANA assigned port
| * IANA (www.iana.org/assignments/service-names-port-numbers/fra2013-05-091-0/+1
| | | | | | | | | | | | service-names-port-numbers.txt) has assigned an official port for VXLAN (4789). tcpdump uses this by default but we keep the -T vxlan option as well (e.g. Linux is allowing different ports).
* | use macros for VAT and WB port numbersDenis Ovsienko2013-04-141-0/+2
|/
* - Add support for OTV (draft-hasmit-otv-04).Francesco Fondelli2013-02-261-1/+1
| | | | - Use the packettype infrastructure (-T vxlan) for VXLAN parsing (waiting for a well known dest port)
* Add support for VXLAN (draft-mahalingam-dutt-dcops-vxlan-03)Francesco Fondelli2013-02-251-0/+1
|
* For Babel, recognise both UDP/6696 and UDP/6697.Juliusz Chroboczek2011-08-271-1/+2
| | | | | IANA has reallocated the Babel port; it is now 6696. This patch makes tcpdump recognise both the old and the new Babel ports.
* Add printer for the Babel routing protocol (RFC 6126).Juliusz Chroboczek2011-04-271-0/+1
| | | | This version includes a couple of fixes from Wireshark.
* from Carles Kishimoto <carles.kishimoto@gmail.com>: add support for the ↵hannes2007-08-081-1/+2
| | | | SFLOW protocol
* From Carles Kishimoto <carles.kishimoto@gmail.com>:hannes2007-07-241-1/+3
| | | | | add initial support for the Light Weight Access Point Protocol as per draft-ohara-capwap-lwapp-04
* add basic skeleton for printing olsr packets as per rfc3626hannes2007-03-271-1/+2
| | | | add a line break in verbose mode fro the ip printer.
* from Carles Kishimoto <Carles.Kishimoto@bsc.es>:hannes2006-03-031-1/+2
| | | | basic support for Ciscos prop. VQP protocol
* use the offical LMP port number as per rfc4204hannes2006-02-091-2/+2
|
* added ESP-in-UDP printer from RFC3948.mcr2005-04-061-1/+2
|
* add basic support for the SIP protocolhannes2004-07-271-1/+3
|
* add support for the Link Management Protocol (LMP) as perhannes2004-04-191-1/+2
| | | | draft-ietf-ccamp-lmp-10
* - move UDP port numbers to udp.hhannes2003-10-271-1/+39
| | | | | | - then the number defines# are acessible from outside - make a differentiation between BFD_ECHO_PORT and BFD_CONTROL_PORT
* The "__attribute__((packed))" tag on structures causes some files not toguy2002-12-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | compile with Sun C, as "interface.h" isn't being included before the structures are being declared. Furthermore, in the files that Sun C *can* compile, it doesn't cause Sun C to generate code that's safe with unaligned accesses, as "__attribute__" is defined as a do-nothing macro with compilers that don't support it. Therefore, we get rid of that tag on the structures to which it was added, and instead use "EXTRACT_16BIT()" and "EXTRACT_32BIT()" to fetch 16-bit and 32-bit big-endian quantities from packets. We also fix some other references to multi-byte quantities to get rid of code that tries to do unaligned loads on platforms that don't support them. We also throw in a hack that makes those macros use "__attribute__((packed))" on structures containing only one 16-bit or 32-bit integer to get the compiler to generate unaligned-safe code rather than doing it by hand. (GCC on SPARC produces the same code that doing it by hand does; I don't know if GCC on any other big-endian strict-alignment processor generates better code for that case. On little-endian processors, as "ntohs()" and "ntohl()" might be functions, that might actually produce worse code.) Fix some places to use "%u" rather than "%d" to print unsigned quantities.
* put __attribute__((packed)) to packet headers. s/u_short/u_int16_t/ and soitojun2002-11-091-2/+2
| | | | forth while i'm here
* always use u_intXX_t for protocol format declaration. char/short/int may notitojun2000-10-031-5/+5
| | | | | | come with exact size. while at it, correct signedness of ip/udp header field. nuke most of the use of bitfield. TODO: bitfield in namser.h
* Add "tcp.h" and "udp.h" headers, to declare the TCP and UDP stuff neededguy2000-09-231-0/+46
by dissectors, and have dissectors include them rather than <netinet/udp.h>, <netinet/udp_var.h>, or <netinet/tcp.h>, if they actually need that stuff. Remove all unnecessary includes of <netinet/udp*.h> or <netinet/tcp*.h> files.