summaryrefslogtreecommitdiff
path: root/print-ip.c
Commit message (Expand)AuthorAgeFilesLines
* Include <string.h> only if required.Denis Ovsienko2020-10-171-2/+0
* Remove useless 'return' at end of void functions (style)Francois-Xavier Le Bail2020-09-281-1/+0
* IP: Revert the commit 38b7ae42 and partially the commit aad6ac30Francois-Xavier Le Bail2020-09-201-3/+9
* IP: Update ip_printroute() to a void functionFrancois-Xavier Le Bail2020-09-201-5/+3
* IP: Replace a magic number in the timestamp option processingFrancois-Xavier Le Bail2020-09-201-10/+1
* Remove some now redundant ND_TCHECK_4() callsFrancois-Xavier Le Bail2020-09-081-4/+0
* Remove many (762) now redundant ND_TCHECK_n() callsFrancois-Xavier Le Bail2020-09-061-14/+0
* IPv4/IPv6 demux: Rename a printerFrancois-Xavier Le Bail2020-03-081-1/+1
* More bounds checking when fetching addresses and converting to strings.Guy Harris2020-01-191-8/+8
* raw IP: Assign ndo_protocol in lowercases like in most similar casesFrancois-Xavier Le Bail2019-06-111-1/+1
* Don't pop packet info if we haven't pushed it.Guy Harris2019-04-281-2/+3
* Treat the length field in an Ethernet header as such.Guy Harris2019-04-221-5/+6
* Squelch more warnings.Guy Harris2019-04-171-1/+1
* Clean up types to squelch narrowing warnings.Guy Harris2019-04-171-3/+3
* Put IPv4/IPv6 protocol demultiplexing into a common routine.Guy Harris2019-03-271-238/+45
* No need to print the source and destination IP addresses twice on the same line.Guy Harris2019-03-271-8/+0
* Use the new GET_ macros instead of the EXTRACT_ onesFrancois-Xavier Le Bail2019-03-261-34/+34
* Have all Internet-checksum computing routines return a uint16_t.Guy Harris2018-12-111-1/+1
* IP: Simplify an expressionFrancois-Xavier Le Bail2018-09-221-1/+1
* Add a nd_print_trunc() callFrancois-Xavier Le Bail2018-09-131-1/+2
* Add the nd_print_invalid() functionFrancois-Xavier Le Bail2018-09-111-1/+1
* IP: Stop decoding when truncation occurs in optionsFrancois-Xavier Le Bail2018-06-051-7/+19
* IP: Print clearer when the version is invalidFrancois-Xavier Le Bail2018-06-031-0/+1
* Remove some spaces (style)Francois-Xavier Le Bail2018-05-101-2/+2
* Print truncations with nd_print_trunc() instead of tstr[] stringsFrancois-Xavier Le Bail2018-05-041-4/+3
* Remove useless commentsFrancois-Xavier Le Bail2018-03-191-9/+0
* Add the ndo_protocol field in the netdissect_options structureFrancois-Xavier Le Bail2018-03-161-0/+2
* Remove a trailing spaceFrancois-Xavier Le Bail2018-03-091-1/+1
* Rename some printer functions to *_printFrancois-Xavier Le Bail2018-02-221-1/+1
* Have ip{6}addr_string take a u_char * as the second argument.Guy Harris2018-01-311-8/+8
* 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
* Clean up signed vs. unsigned.Guy Harris2018-01-111-12/+17
* Remove unneeded '&' when getting a pointer to an nd_uintN_t typeFrancois-Xavier Le Bail2018-01-081-3/+3
* IP: Remove space printing at end of lineFrancois-Xavier Le Bail2018-01-071-2/+2
* IP: Use more ND_TCHECK_n() macrosFrancois-Xavier Le Bail2018-01-071-1/+1
* Update ND_PRINT() as a variadic macroFrancois-Xavier Le Bail2018-01-071-69/+69
* Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (2/n)Francois-Xavier Le Bail2018-01-031-1/+1
* Add EXTRACT_ macros/functions for IPv4 addresses, get rid of structure wrappers.Guy Harris2017-12-201-7/+4
* Use more the ND_TTEST_1() macroFrancois-Xavier Le Bail2017-12-151-1/+1
* Remove all storage class specifier 'register'Francois-Xavier Le Bail2017-12-131-9/+9
* Replace ND_TTEST2()/ND_TCHECK2() macros by macros using pointers (1/n)Francois-Xavier Le Bail2017-12-111-3/+3
* Make nd_uint8_t and nd_int8_t arrays, to catch direct references.Guy Harris2017-12-101-16/+22
* Use more the EXTRACT_U_1() macro (53/n)Francois-Xavier Le Bail2017-12-101-3/+4
* Use more the EXTRACT_U_1() macro (52/n)Francois-Xavier Le Bail2017-12-091-2/+2
* Use more the EXTRACT_U_1() macro (50/n)Francois-Xavier Le Bail2017-12-091-1/+1
* Use more the EXTRACT_U_1() macro (49/n)Francois-Xavier Le Bail2017-12-091-3/+3
* Use more the ND_TCHECK_1() macroFrancois-Xavier Le Bail2017-12-041-3/+3
* Use more the ND_TCHECK_1() macroFrancois-Xavier Le Bail2017-12-041-6/+6
* Use more the EXTRACT_U_1() macro (46/n)Francois-Xavier Le Bail2017-12-031-1/+1