From 6f531302736fa22264dce423234deeb4d5a4fed6 Mon Sep 17 00:00:00 2001 From: Partha Ghosh Date: Thu, 13 Dec 2018 22:28:36 -0800 Subject: 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 --- tcpdump.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcpdump.c') diff --git a/tcpdump.c b/tcpdump.c index 1a15d3c5..a44baa29 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -1782,6 +1782,8 @@ main(int argc, char **argv) ndo->ndo_packettype = PT_LMP; else if (ascii_strcasecmp(optarg, "resp") == 0) ndo->ndo_packettype = PT_RESP; + else if (ascii_strcasecmp(optarg, "ptp") == 0) + ndo->ndo_packettype = PT_PTP; else error("unknown packet type `%s'", optarg); break; -- cgit v1.2.1