]> The Tcpdump Group git mirrors - tcpdump/commit
NTP: Print extension fields
authorMiroslav Lichvar <[email protected]>
Mon, 15 Aug 2022 13:58:07 +0000 (15:58 +0200)
committerfxlb <[email protected]>
Sat, 23 Sep 2023 21:12:36 +0000 (21:12 +0000)
commit9b4e47a35b4825ff27b29c7231229db83435c3d8
tree93080317e2e071666e68ee9f8fcd13f85777f6d1
parent2a3bc5716d3afda22c7cab56651c8a03061301b7
NTP: Print extension fields

Print types, known names and length of extension fields in NTPv4 packets
following RFC 7822. With -vvv dump also their bodies in hex.

Add a test file.
print-ntp.c
tests/TESTLIST
tests/ntp-time-ef--v.out [new file with mode: 0644]
tests/ntp-time-ef--vvv.out [new file with mode: 0644]
tests/ntp-time-ef.out [new file with mode: 0644]
tests/ntp-time-ef.pcap [new file with mode: 0644]