summaryrefslogtreecommitdiff
path: root/udp.h
Commit message (Collapse)AuthorAgeFilesLines
* add support for Broadcom LI headerHannes Gredler2020-04-021-0/+3
| | | | | | | | | | | | | | | | (pull request #843) fix build break for Broadcom LI printer on BSD platforms incorporate review comments: make bcm_li_print() void, add a sample capture incorporate review comments: remove trailing tabs add BCM LI outputs to testset incorporate review comment: return after printing update verbose output for bcm-li
* Autosar SOME/IP protocol supportFrancesco Fondelli2020-02-191-0/+3
|
* Print MPLS-over-UDP.simonov-d2020-02-091-0/+3
|
* The ptp (precision time protocol) with UDP as the transport protocol.Partha Ghosh2019-11-221-0/+6
| | | | | | | | | - the print routines for ptp different ptp messages - test completed for sync message, announce message, delay request message, delay response message and follow up message. - integration of the ptp v2 code with the tcpdump code. Signed-off-by: Partha S. Ghosh <psglinux@gmail.com>
* Use more HTTPS in URLsFrancois-Xavier Le Bail2019-08-191-1/+1
| | | | [skip ci]
* Remove unused UDP portsFrancois-Xavier Le Bail2019-06-091-6/+0
|
* Add BFD multihop and lag decodingBill Fenner2019-04-261-0/+6
| | | | | | | Put back the bfd_port_values, and use it to distinguish between destination ports for RFC5883 multihop and RFC7310 lag sessions. (The destination port is the only difference between these messages.)
* Updated 802.15.4 codeTero Kivinen2018-11-181-88/+4
|\
| * Remove unused UDP portsFrancois-Xavier Le Bail2018-10-021-84/+0
| |
| * More nd_ification of structures.Guy Harris2017-12-111-4/+4
| | | | | | | | | | We don't need to use & to get a pointer to an nd_uintN_t/nd_intN_t type, as they're arrays.
* | IEEE 802.15.4 printer which understands frame version 2 frames, and also ↵Tero Kivinen2017-03-261-0/+3
|/ | | | knows how to print some mac commands and IE contents. Also includes the zep printer to decode ZigBee Encapsulation Protocol frames
* BFD: Update to print optional authentication fieldFrancois-Xavier Le Bail2016-08-171-2/+2
| | | | | | | | | Moreover: Add test files with 'Simple Password', 'Keyed MD5' and 'Meticulous Keyed SHA1' authentications. Update specification from draft to RFC 5881 for BFD_CONTROL_PORT and BFD_ECHO_PORT in udp.h. Add specification RFC 5881 in print-bfd.c.
* Printer for HNCP (RFCs 7787 and 7788).Jean-Raphaël GAGLIONE2016-07-281-0/+3
| | | | This is joint work with Antonin Décimo.
* Add printing function for Generic Protocol Extension for VXLANbugyo2016-03-221-0/+3
| | | | | | | | | and Network Service Header. This code stands for following internet drafts: - VXLAN GPE: draft-ietf-nvo3-vxlan-gpe-01 - NSH: draft-ietf-sfc-nsh-01
* Translate UDP/1700 as RADIUSHerwin Weststrate2015-12-151-0/+3
| | | | Used for Cisco CoA/Disconnect, as shown on https://supportforums.cisco.com/discussion/11719766/ise-112-change-authorization-avaya-switches-5520. The RFC says port 3799, but Cisco does this otherwise, which means this is not an officially reserved port for RADIUS.
* Fix a trailing tabFrancois-Xavier Le Bail2015-10-051-1/+1
|
* Initial commit for support of Type 3 and Type 4 LISP packets.ritsz2015-10-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing Travis CI build for LISP commit Adding testcases for lisp notify and register Fixing build warnings Added ND_TCHECK for relevant headers Fixing ND_TCHECK2 issues Adding support for multiple LOC records for same EID entry Fixing review issues, adding detailed tests Adding support for verbose outputs Adding RFC information for UDP PORT defination Removing Spaces in type names Print EID record related flags in verbose mode Using tok2str Fixing -Wpedantic issues Negative testcases, Packet structure comments, verbose mode flag printing Printing Map Version Print auth_data, decouple type and xtr_present extraction, handle malformed packets correctly Tests for latest code changes Printing useful info incase not built with IPv6 support
* update reference for UDP port 3799Denis Ovsienko2015-07-241-1/+1
|
* Clean up the port definitions.Guy Harris2015-07-141-58/+257
| | | | | | | | | From Bill Parker: sort the port definitions, add some additional ports, and use #ifndef/#endif around all definitions. From me: use consistent indentation, add the RFCs for NetBIOS-over-TCP to the #defines for the NBT ports, and don't keep the IPv6 ports separate.
* refine use of nameser.hDenis Ovsienko2015-07-131-0/+2
| | | | | | Move the port number #define's to the TCP and UDP files such that they don't require nameser.h anymore. Update the TCP printer to disregard the multicast DNS port as it is UDP-only.
* add/update some references in commentsDenis Ovsienko2015-03-051-6/+6
|
* Add support for Generic Network Virtualization Encapsulation (Geneve).Jesse Gross2014-11-051-0/+1
| | | | Defined in http://tools.ietf.org/html/draft-gross-geneve-02
* Added support for RADIUS Change of Authorization messagesHerwin Weststrate2014-10-101-0/+1
| | | | Defined in RFC 5176
* merge bootp.h into print-bootp.cDenis Ovsienko2014-08-131-0/+2
|
* More getting rid of old u_intN_t.Guy Harris2014-04-231-4/+4
|
* remove tcpdump's own CVS keywordsDenis Ovsienko2014-01-031-1/+0
| | | | | | 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.
* 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.