summaryrefslogtreecommitdiff
path: root/print-isoclns.c
Commit message (Collapse)AuthorAgeFilesLines
...
* From Hannes Gredler: support the IS-IS buffersize TLV #14, and clean upguy2002-05-161-11/+16
| | | | | | some names. Fix a misspelling.
* From Hannes Gredler: support for the IP-Reach-subTLV #2 andguy2002-04-301-25/+60
| | | | IDRP-info-TLV #131.
* Make some "u_char *"s "char *"s, to eliminate signed vs. unsignedguy2002-04-251-4/+4
| | | | complaints from some compilers.
* From Hannes Gredler:guy2002-04-121-75/+86
| | | | | | there was a bug in the way i calculated the checksum over LSPs; additionally the TLV parser recognizes [decoder is still left] the IS Alias TLV #24
* From Hannes Gredler:guy2002-04-091-261/+267
| | | | | | | | i have cleaned up most of the print-isoclns.c code and made heavy use of tok2str to display ascii strings - i also cleaned up the TLV parsing routines to use consitently while(tmp>0) loops when decoding a TLV;
* From Hannes Gredler: much of the subTLVs of the IS-reach and IP-reachguy2002-03-231-263/+404
| | | | | | | | | decoders can be re-used in several parts of the code; - the subTLV decoder can now be called from various places - plus added support for checking the checksum in the LSP PDU - plus misc cleanups [use tok2str() for displaying strings rather than switch/case chains]
* From Hannes Gredler: update to the previous patch, plus miscellaneousguy2002-03-201-32/+44
| | | | | cleanups and a bug fix for a nasty bug in the EXT_IS_REACH subTLV decoder.
* From Hannes Gredler: dump unknown TLV and subTLV data in hex.guy2002-03-191-32/+77
|
* make sure of evaluation ordering. (gcc3 spotted this)itojun2002-03-141-8/+12
| | | | From: Simon Burge <simonb@wasabisystems.com>
* From Hannes Gredler: support for decoding of GMPLS related TLVs andguy2002-03-141-21/+195
| | | | subTLVs for IS-IS.
* Make the bitmasks unsigned "int"s, so that Sun's C compiler doesn'tguy2002-02-251-3/+4
| | | | complain.
* Fixes to IS_REACH TLV #2 dissection, from Hannes Gredlerguy2002-01-101-19/+25
| | | | <hannes@juniper.net>.
* From Hannes Gredler: properly assert the checksum TLV #12 forguy2001-12-181-11/+21
| | | | artifically long, and hence stripped frames.
* From Hannes Gredler: stop TLV processing at the boundary indicated inguy2001-12-131-11/+38
| | | | | | the pdu_len field in the IS-IS header; this stops tcpdump from printing a lot of bogus TLVs when the interface driver does not correctly report the frame-length.
* Support for the IS-IS restart signaling TLV #211, from Hannes Gredlerguy2001-12-091-4/+25
| | | | <hannes@juniper.net>.
* IPv6 TLV support and some bug fixes and cleanups, from Hannes Gredlerguy2001-12-031-7/+100
| | | | <hannes@juniper.net>.
* Bug fix from Hannes Gredler.guy2001-11-101-1/+3
|
* Bug fix from Hannes Gredler.guy2001-10-291-4/+5
|
* Some style cleanups.guy2001-10-161-274/+403
| | | | Add a pile of boundary checks.
* style cleanupitojun2001-10-041-103/+102
|
* fix weak boundary check on esis.itojun2001-10-041-5/+7
|
* Eliminate some unused parameters.fenner2001-09-171-56/+35
| | | | | | | | | | | Use const more. Use EXTRACT_* macros more. Use TCHECK* more. Use tok2str() to replace some home-grown workalikes. smb: - Get rid of private types, use tcpdump-defined types - Rename fdata and fdata1 to smb_fdata and smb_fdata1 to avoid conflict with IRIX library function.
* Fix some problems found by compiling on an LP64 platform.guy2001-09-111-12/+13
|
* More complete IS-IS support, from Hannes Gredler (hannes@juniper.net).guy2001-09-091-209/+847
|
* In the PPP dissector, pass NULL, rather than bogus strings, toguy2001-09-091-7/+7
| | | | | | | "isoclns_print()", for the MAC source and destination addresses, and have "isoclns_print()" print the MAC addresses only if they're both non-null, rather than having the PPP print routine tweak "eflag" to suppress the printing.
* Clean up some problems that Sun C found (casting a "u_char *" pointer toguy2000-10-111-5/+7
| | | | | | "char *" before assigning it to a "u_char *", assigning "const u_char *" pointers to "u_char *" variables, putting a cast on the LHS of an assignment).
* Pick up FreeBSD "print-isoclns.c".guy2000-10-101-47/+404
|
* Get rid of some includes of <net/route.h>, and empty declarations ofguy2000-10-061-4/+1
| | | | | | "struct mbuf" and "struct rtentry" - they shouldn't be necessary (and weren't on the platforms on which I tested, both with GCC and the native compiler if it isn't GCC).
* Get rid of unneeded includes of <net/if.h>.guy2000-09-281-2/+1
|
* Add definitions of Ethernet types fromguy2000-09-231-2/+1
| | | | | | | | | | | | | | | | "linux-includes/netinet/if_ether.h" to "ethertype.h". Move other stuff used by dissectors from <netinet/if_ether.h> to "ether.h", along the lines of "fddi.h" and "token.h". Move ARP declarations from BSD include files to "print-arp.c". Remove from dissectors includes of <netinet/if_ether.h>, and add includes of "ethertype.h" and/or "ether.h" as necessary. Get rid of configuration options that test declarations now made in "ether.h" or "print-arp.c", as those declarations are now under our control, not the OS's control.
* remove non-STDC codeassar2000-07-011-3/+1
|
* Switch to config.h instead of passing defines in DEFS.fenner1999-11-211-1/+5
|
* Initial revisionmcr1999-10-071-0/+317