diff options
author | Partha Ghosh <psg@cumulusnetworks.com> | 2018-12-13 22:28:36 -0800 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-11-22 20:56:21 +0100 |
commit | 6f531302736fa22264dce423234deeb4d5a4fed6 (patch) | |
tree | ef61f8bfdfee74648eca5b5e5d2a515f411481c9 /udp.h | |
parent | 74e6075a69453cb64418969ae16728e3063a9bae (diff) | |
download | tcpdump-6f531302736fa22264dce423234deeb4d5a4fed6.tar.gz |
The ptp (precision time protocol) with UDP as the transport protocol.
- 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>
Diffstat (limited to 'udp.h')
-rw-r--r-- | udp.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -77,6 +77,12 @@ struct udphdr { #ifndef SNMPTRAP_PORT #define SNMPTRAP_PORT 162 /*XXX*/ #endif +#ifndef PTP_EVENT_PORT +#define PTP_EVENT_PORT 319 /* IANA */ +#endif +#ifndef PTP_GENERAL_PORT +#define PTP_GENERAL_PORT 320 /* IANA */ +#endif #ifndef CISCO_AUTORP_PORT #define CISCO_AUTORP_PORT 496 /*XXX*/ #endif |