summaryrefslogtreecommitdiff
path: root/print-ntp.c
Commit message (Expand)AuthorAgeFilesLines
* Fix spaces before tabs in indentationFrancois-Xavier Le Bail2023-02-151-4/+4
* Include <time.h> from netdissect.h.Denis Ovsienko2023-02-151-2/+0
* configure, CMakeLists.txt: don't check for snprintf().Guy Harris2023-01-301-2/+0
* NTP: Modernize packet parsing style. [skip ci]Denis Ovsienko2021-01-191-19/+3
* Remove many (762) now redundant ND_TCHECK_n() callsFrancois-Xavier Le Bail2020-09-061-17/+0
* Extract NTP printingHerwin Weststrate2020-04-211-89/+1
* More bounds checking when fetching addresses and converting to strings.Guy Harris2020-01-191-2/+2
* Use the new GET_ macros instead of the EXTRACT_ onesFrancois-Xavier Le Bail2019-03-261-32/+32
* Add the nd_print_invalid() functionFrancois-Xavier Le Bail2018-09-111-2/+2
* Fix spacesFrancois-Xavier Le Bail2018-09-031-19/+19
* NTP: Fix UTC/GMT timestamps printing according to RFC3339Francois-Xavier Le Bail2018-08-141-1/+1
* NTP: Fix extracting the poll valueFrancois-Xavier Le Bail2018-05-201-1/+1
* Fix space printing with istr[]Francois-Xavier Le Bail2018-05-181-2/+2
* Print truncations with nd_print_trunc() instead of tstr[] stringsFrancois-Xavier Le Bail2018-05-041-4/+3
* Rename the fn_printX() functions to nd_printX()Francois-Xavier Le Bail2018-04-301-1/+1
* Add the ndo_protocol field in the netdissect_options structureFrancois-Xavier Le Bail2018-03-161-0/+1
* Do time stamp deltas with unsigned arithmetic.Guy Harris2018-02-021-10/+10
* Have ip{6}addr_string take a u_char * as the second argument.Guy Harris2018-01-311-2/+2
* NTP: Replace ND_TCHECK calls by ND_TCHECK_SIZE callsFrancois-Xavier Le Bail2018-01-221-6/+6
* Always include <config.h> rather than "config.h".Guy Harris2018-01-211-1/+1
* Use quoted include netdissect-stdinc.h instead of angle-bracketed oneFrancois-Xavier Le Bail2018-01-211-1/+1
* Check against various modes explicitly.Guy Harris2018-01-141-4/+16
* Clean up signed vs. unsigned.Guy Harris2018-01-111-2/+2
* Remove unneeded '&' when getting a pointer to an nd_uintN_t typeFrancois-Xavier Le Bail2018-01-081-9/+9
* NTP: Use more ND_TCHECK_n() macrosFrancois-Xavier Le Bail2018-01-071-2/+2
* Update ND_PRINT() as a variadic macroFrancois-Xavier Le Bail2018-01-071-53/+53
* NTP: Replace ND_TCHECK2 calls by ND_TCHECK_LEN callsFrancois-Xavier Le Bail2017-12-141-3/+3
* Remove all storage class specifier 'register'Francois-Xavier Le Bail2017-12-131-22/+22
* C99 type, not BSD type; use uint8_t.Guy Harris2017-12-131-1/+1
* Replace ND_TTEST2()/ND_TCHECK2() macros by macros using pointers (1/n)Francois-Xavier Le Bail2017-12-111-2/+2
* Make nd_uint8_t and nd_int8_t arrays, to catch direct references.Guy Harris2017-12-101-36/+50
* Rename EXTRACT_ macrosFrancois-Xavier Le Bail2017-11-221-26/+26
* Rename EXTRACT_nBITS() macros to EXTRACT_BE_nBITS()Francois-Xavier Le Bail2017-11-181-26/+26
* Make the delta between 1970 and 1900 a 64-bit signed integral constant.Guy Harris2017-09-211-1/+1
* Fix handling of NTP time stamps.Guy Harris2017-09-201-7/+26
* Actually, the UNALIGNED might not be necessary.Guy Harris2017-09-201-4/+4
* NTP: Remove some duplicate output.Denis Ovsienko2017-09-201-24/+0
* Try marking structures as UNALIGNED.Guy Harris2017-09-201-4/+4
* NTP: Add missing bounds checks.Denis Ovsienko2017-09-041-1/+9
* NTP: Update length checks after the recent commit.Denis Ovsienko2017-09-041-12/+24
* NTP: Use nd_XXXXX integer types in the structures.Denis Ovsienko2017-09-041-23/+21
* NTP: Use tstr for truncation indicator.Denis Ovsienko2017-09-041-3/+5
* print-ntp.c: Handle NTP Control MessagesUlrich Windl2017-09-041-9/+132
* Squelch a warning.Guy Harris2017-09-041-5/+5
* NTP: Improve length checks.Denis Ovsienko2017-08-301-4/+23
* Print NTP MAC with 160-bit digest.Miroslav Lichvar2017-08-301-4/+14
* Print NTP timestamps as UTC, not local timeUlrich Windl2017-08-291-3/+4
* Prepare print-ntp.c for NTP Control MessagesUlrich Windl2017-08-291-2/+4
* print-ntp.c: Add and use VERSIONSHIFTUlrich Windl2017-08-291-1/+2
* NTP: For clarity use 0x with hexadecimal format.Denis Ovsienko2017-08-291-1/+1