]> The Tcpdump Group git mirrors - tcpdump/commitdiff
PTP: Replace some ' ,' with ', ' (style)
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 12 Dec 2022 13:52:07 +0000 (14:52 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 12 Dec 2022 13:53:28 +0000 (14:53 +0100)
[skip ci]

print-ptp.c

index 32f466488c62bd5c411ae0973a275adce8b4d599..a69e20623031ed66c1998e346ee8a2a3e7e79579 100644 (file)
 #define M_MANAGEMENT            0xD
 
 static const struct tok ptp_msg_type[] = {
-    { M_SYNC ,"sync msg"},
-    { M_DELAY_REQ ,"delay req msg"},
-    { M_PDELAY_REQ ,"peer delay req msg"},
-    { M_PDELAY_RESP ,"peer delay resp msg"},
+    { M_SYNC"sync msg"},
+    { M_DELAY_REQ"delay req msg"},
+    { M_PDELAY_REQ"peer delay req msg"},
+    { M_PDELAY_RESP"peer delay resp msg"},
     { M_OTHER, "Other"},
-    { M_FOLLOW_UP ,"follow up msg"},
-    { M_DELAY_RESP ,"delay resp msg"},
-    { M_PDELAY_RESP_FOLLOW_UP ,"pdelay resp fup msg"},
-    { M_ANNOUNCE ,"announce msg"},
-    { M_SIGNALLING ,"signalling msg"},
-    { M_MANAGEMENT ,"management msg"},
+    { M_FOLLOW_UP"follow up msg"},
+    { M_DELAY_RESP"delay resp msg"},
+    { M_PDELAY_RESP_FOLLOW_UP"pdelay resp fup msg"},
+    { M_ANNOUNCE"announce msg"},
+    { M_SIGNALLING"signalling msg"},
+    { M_MANAGEMENT"management msg"},
     { 0, NULL}
 };
 
@@ -236,19 +236,19 @@ static const struct tok ptp_msg_type[] = {
 #define PTP_FLAGS_UNKNOWN_MASK      0x18C0
 
 static const struct tok ptp_flag_values[] = {
-    { PTP_L161_MASK ,"l1 61"},
-    { PTP_L1_59_MASK ,"l1 59"},
-    { PTP_UTC_REASONABLE_MASK ,"utc reasonable"},
-    { PTP_TIMESCALE_MASK ,"timescale"},
-    { PTP_TIME_TRACABLE_MASK ,"time tracable"},
-    { PTP_FREQUENCY_TRACABLE_MASK ,"frequency tracable"},
-    { PTP_ALTERNATE_MASTER_MASK ,"alternate master"},
-    { PTP_TWO_STEP_MASK ,"two step"},
-    { PTP_UNICAST_MASK ,"unicast"},
-    { PTP_PROFILE_SPEC_1_MASK ,"profile specific 1"},
-    { PTP_PROFILE_SPEC_2_MASK ,"profile specific 2"},
-    { PTP_SECURITY_MASK ,"security mask"},
-    { PTP_FLAGS_UNKNOWN_MASK , "unknown"},
+    { PTP_L161_MASK"l1 61"},
+    { PTP_L1_59_MASK"l1 59"},
+    { PTP_UTC_REASONABLE_MASK"utc reasonable"},
+    { PTP_TIMESCALE_MASK"timescale"},
+    { PTP_TIME_TRACABLE_MASK"time tracable"},
+    { PTP_FREQUENCY_TRACABLE_MASK"frequency tracable"},
+    { PTP_ALTERNATE_MASTER_MASK"alternate master"},
+    { PTP_TWO_STEP_MASK"two step"},
+    { PTP_UNICAST_MASK"unicast"},
+    { PTP_PROFILE_SPEC_1_MASK"profile specific 1"},
+    { PTP_PROFILE_SPEC_2_MASK"profile specific 2"},
+    { PTP_SECURITY_MASK"security mask"},
+    { PTP_FLAGS_UNKNOWN_MASK "unknown"},
     {0, NULL}
 };