summaryrefslogtreecommitdiff
path: root/print-isoclns.c
Commit message (Collapse)AuthorAgeFilesLines
...
* code cosmetics:hannes2005-07-111-23/+23
| | | | | | | at places where the entity to print / or increment shares the semantics of an IPv4 or IPv6 address use sizeof(in_addr) and sizeof(in6_addr), rather than a hardcoded 4 or 16
* add boundary check for CLNP segment headerhannes2005-07-111-1/+2
|
* Add some additional length checking, and fix up some other length checks.guy2005-06-161-6/+30
|
* We've already subtracted the fixed 36 bytes from subl, no need to do itguy2005-06-161-2/+2
| | | | again.
* update the graceful restart TLV printer as per rfc3847hannes2005-06-131-2/+13
|
* typo: the codepoint for complete source routing in the sr clnp option is 0x1 ↵hannes2005-06-081-2/+2
| | | | and not 0x0
* And add checks of the NSAP offset.guy2005-05-251-2/+11
|
* Add some more length checking.guy2005-05-251-7/+13
|
* add support for the CLNP Security,RR,SR and Padding Optionshannes2005-05-251-4/+88
|
* Don't print ", " before the length if we're printing the link-layerguy2005-04-261-8/+10
| | | | | | | header, as the ", " isn't necessary, and looks ugly, in that case. Use TCHECK() and TCHECK2() for bounds checking, and do more bounds checking.
* Add a bunch of error checking.guy2005-04-251-25/+97
|
* check against min. TLV length / get if logic righthannes2005-04-251-2/+2
|
* bugfix: do not attempt to decode zero-length TLVs, only attempt to decode ↵hannes2005-04-251-2/+5
| | | | IS-REACH (varlength) TLVs if the TLV length indicates that there is at least a single byte on the wire
* Don't exit just because an NSAP had a length of 0 or a too-long length;guy2005-04-251-2/+10
| | | | | | just report it as an illegal length. Check for some zero-length or too-short TLVs not already checked for.
* refactored ip_print() so that chained header parser (ESP/AH) canmcr2005-04-061-2/+10
| | | | more easily call the inner parts.
* only attempt to print non-header data if there is something to printhannes2005-04-021-4/+5
|
* print the optional (payload) CLNP header in ERPDUshannes2005-03-221-3/+3
|
* add support for the CLNP 'Reason for Discard' Optionhannes2005-03-211-3/+89
|
* - bugfix: start CLNP checksumming at the packet starthannes2005-03-091-6/+13
| | | | - display the reqesting packet header of the Echo response payload
* code cleanup:hannes2005-03-081-56/+23
| | | | | | | | - remove the private print_nsap() and use isonsap_string() instead - pass on a length indicator to isonsap_string as CLNP and ES-IS,IS-IS TLVs and options store the length differently (semioctets vs. octets) - make the isonsap_string() output equal to the now abandoned print_nsap() printer which reflects representation of contemporary router software
* CLNP updates:hannes2005-03-071-11/+120
| | | | | | -add segment header support -add options processing -add some basic header sanity checking
* -export the q933 printer and call it from the OSI printerhannes2005-01-271-8/+17
| | | | | | | -display cosmetics: make the comma settings eflag compatible place a colon after printing the OSI proto-ID to indicate that we are crossing a layer boundary
* display cosmetics: fix the darn comma setting for all combination of v and e ↵hannes2005-01-251-15/+19
| | | | flag
* add PPP to the ISO nlpid printerhannes2004-10-191-1/+5
|
* -extend the OSI NLPID dissector for printing IP and IP6 packetshannes2004-10-181-18/+40
| | | | | | | - do some display (comma) cosmetics (output will remain the same); one day we need to move the nlpid dissector from print-isoclns to (new) print-nlpid.c
* -move the nlpid definitions and tokens to a dedicated file(s)hannes2004-10-071-21/+5
| | | | -make use of it in the ISO, Frame-relay and CDP printers
* bugfix: changed format for diffserv-TE subTLVs, add tok2str() for decoding ↵hannes2004-09-151-9/+8
| | | | BC models
* bugfix: print 7 (node-id) bytes rather than 6 (system-id) for CSNPs in non ↵hannes2004-09-091-3/+3
| | | | verbose mode
* Add length checks.guy2004-03-241-26/+40
|
* display cosmetics: hide OSI indication under the eflaghannes2004-03-181-2/+2
|
* copy & paste error: replace priority_level by bandwidth_constrainthannes2004-01-271-4/+4
|
* add support for Difserv TE per draft-ietf-tewg-diff-te-proto-06hannes2004-01-271-1/+18
|
* update references for the experimental TLV, remove ES-IS specific #defines ↵hannes2004-01-021-3/+2
| | | | from the IS-IS tok table
* - initial checkin for OSI CLNP supporthannes2003-12-221-7/+121
| | | | | | (TODO header sanity and lots of boundary checking) - verify NLPID for ES-IS - remove bogon TLV #1 from ES-IS printer
* rework the print_esis() printerhannes2003-12-201-404/+475
| | | | | | | update option processing add ES-IS ESH printing change the IS-IS related TLV #defines into ISIS_TLV_ change the IS-IS related SUBTLV #defines into ISIS_SUBTLV_
* Get rid of a set-but-not-used variable.guy2003-12-151-3/+1
|
* When checking to make sure the LSP ID is all present, check the lastguy2003-12-151-2/+2
| | | | byte of the LSP ID, not the first byte past the LSP ID.
* add Vendor OUI resolutionhannes2003-11-301-3/+7
|
* add Management Prefix Color subTLV, plus some references to Internet Draftshannes2003-11-261-3/+6
|
* Have the configure script arrange that the Makefile define _U_guy2003-11-161-4/+4
| | | | | | | | | | appropriately, and that GNUmakefile and the MSVC++ project file define it apppriately, as we do with libpcap, rather than defining it in "interface.h". Undo the rcsid-shuffling and addition of extra #includes, as we no longer need to arrange that "interface.h" be included before using _U_ in an RCS ID or copyright.
* From Neil Spring:guy2003-11-151-4/+4
| | | | | | | | | | | use "_U_" in the definitions of "rcsid[]", to eliminate complaints about those variables being unused; move the definitions after the include of "interface.h", or add an include of "interface.h", so that "_U_" is defined. Include "config.h" before including "tcpdump-stdinc.h" in "missing/datalinks.c".
* do not attempt to verify the TLV #12 checksum if it is zero - change the way ↵hannes2003-11-051-7/+13
| | | | how the authentication start offset for LSPs is determined
* streamline variables and defines# to a common schemehannes2003-11-051-41/+41
|
* do not attempt to checksum if the LSP has been purgedhannes2003-10-301-13/+19
|
* misc. cleanup & display cosmetics [last for today i promise ;-)]hannes2003-10-281-26/+23
|
* display the DIS lan-id of an IIH in non-verbose modehannes2003-10-281-5/+8
|
* display SNPAs rather than IS-Neighbors in TLV #6, addition of Flag field for ↵hannes2003-10-261-3/+3
| | | | the shared risk link group GMPLS TLV
* display cosmetics: align the p2p IIH output to the LAN IIH outputhannes2003-10-251-4/+6
|
* print PDU length for PSNPshannes2003-10-221-3/+4
|
* misc. cosmetic changes to stay compliant to other multi-line decodershannes2003-10-211-2/+2
|