aboutsummaryrefslogtreecommitdiff
path: root/print-ip.c
AgeCommit message (Expand)Author
2022-04-01Fail if nd_push_buffer() or nd_push_snaplen() fails.Guy Harris
2022-04-01Have routines that set the snapend take a buffer pointer and length as args.Guy Harris
2021-04-12IP: Add a bounds check before calling ip_demux_print()Francois-Xavier Le Bail
2020-10-17Include <string.h> only if required.Denis Ovsienko
2020-09-28Remove useless 'return' at end of void functions (style)Francois-Xavier Le Bail
2020-09-20IP: Revert the commit 38b7ae42 and partially the commit aad6ac30Francois-Xavier Le Bail
2020-09-20IP: Update ip_printroute() to a void functionFrancois-Xavier Le Bail
2020-09-20IP: Replace a magic number in the timestamp option processingFrancois-Xavier Le Bail
2020-09-08Remove some now redundant ND_TCHECK_4() callsFrancois-Xavier Le Bail
2020-09-06Remove many (762) now redundant ND_TCHECK_n() callsFrancois-Xavier Le Bail
2020-03-08IPv4/IPv6 demux: Rename a printerFrancois-Xavier Le Bail
2020-01-19More bounds checking when fetching addresses and converting to strings.Guy Harris
2019-06-11raw IP: Assign ndo_protocol in lowercases like in most similar casesFrancois-Xavier Le Bail
2019-04-28Don't pop packet info if we haven't pushed it.Guy Harris
2019-04-22Treat the length field in an Ethernet header as such.Guy Harris
2019-04-17Squelch more warnings.Guy Harris
2019-04-17Clean up types to squelch narrowing warnings.Guy Harris
2019-03-27Put IPv4/IPv6 protocol demultiplexing into a common routine.Guy Harris
2019-03-27No need to print the source and destination IP addresses twice on the same line.Guy Harris
2019-03-26Use the new GET_ macros instead of the EXTRACT_ onesFrancois-Xavier Le Bail
2018-12-11Have all Internet-checksum computing routines return a uint16_t.Guy Harris
2018-09-22IP: Simplify an expressionFrancois-Xavier Le Bail
2018-09-13Add a nd_print_trunc() callFrancois-Xavier Le Bail
2018-09-11Add the nd_print_invalid() functionFrancois-Xavier Le Bail
2018-06-05IP: Stop decoding when truncation occurs in optionsFrancois-Xavier Le Bail
2018-06-03IP: Print clearer when the version is invalidFrancois-Xavier Le Bail
2018-05-10Remove some spaces (style)Francois-Xavier Le Bail
2018-05-04Print truncations with nd_print_trunc() instead of tstr[] stringsFrancois-Xavier Le Bail
2018-03-19Remove useless commentsFrancois-Xavier Le Bail
2018-03-16Add the ndo_protocol field in the netdissect_options structureFrancois-Xavier Le Bail
2018-03-09Remove a trailing spaceFrancois-Xavier Le Bail
2018-02-22Rename some printer functions to *_printFrancois-Xavier Le Bail
2018-01-31Have ip{6}addr_string take a u_char * as the second argument.Guy Harris
2018-01-21Always include <config.h> rather than "config.h".Guy Harris
2018-01-21Use quoted include netdissect-stdinc.h instead of angle-bracketed oneFrancois-Xavier Le Bail
2018-01-11Clean up signed vs. unsigned.Guy Harris
2018-01-08Remove unneeded '&' when getting a pointer to an nd_uintN_t typeFrancois-Xavier Le Bail
2018-01-07IP: Remove space printing at end of lineFrancois-Xavier Le Bail
2018-01-07IP: Use more ND_TCHECK_n() macrosFrancois-Xavier Le Bail
2018-01-07Update ND_PRINT() as a variadic macroFrancois-Xavier Le Bail
2018-01-03Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (2/n)Francois-Xavier Le Bail
2017-12-20Add EXTRACT_ macros/functions for IPv4 addresses, get rid of structure wrappers.Guy Harris
2017-12-15Use more the ND_TTEST_1() macroFrancois-Xavier Le Bail
2017-12-13Remove all storage class specifier 'register'Francois-Xavier Le Bail
2017-12-11Replace ND_TTEST2()/ND_TCHECK2() macros by macros using pointers (1/n)Francois-Xavier Le Bail
2017-12-10Make nd_uint8_t and nd_int8_t arrays, to catch direct references.Guy Harris
2017-12-10Use more the EXTRACT_U_1() macro (53/n)Francois-Xavier Le Bail
2017-12-09Use more the EXTRACT_U_1() macro (52/n)Francois-Xavier Le Bail
2017-12-09Use more the EXTRACT_U_1() macro (50/n)Francois-Xavier Le Bail
2017-12-09Use more the EXTRACT_U_1() macro (49/n)Francois-Xavier Le Bail