aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ospf.c
AgeCommit message (Collapse)AuthorFilesLines
2000-03-14Fix some errors discovered by making GCC do format string/argumentGuy Harris1-4/+4
cross-checking, and by replacing "proto_tree_add_item_format()" by multiple routines to add items of various types. Make the arguments of "proto_tree_add_bytes_format()" and "proto_tree_add_string_format()" that specify the bytes or the string be "const" pointers, so that one can pass a "const" pointer without complaints from the compiler. Squelch a (bogus, but the compiler isn't in a position to know that) complaint about an uninitialized variable. svn path=/trunk/; revision=1716
2000-03-09Support for MultiProtocol Label Switching (MPLS). The following supportAshok Narayanan1-4/+259
is being added - MPLS Traffic Engineering extensions for RSVP - MPLS-encapsulated IP packets on Ethernet - OSPF Extensions for MPLS (including generic opaque LSA support for OSPF) THe following features will be committed at a later date (if I get around to writing them :-) - Label Distribution Protocol (LDP) - IS-IS Extensions for MPLS svn path=/trunk/; revision=1707
2000-03-07Fix some "proto_tree_add_text()" calls.Guy Harris1-3/+3
svn path=/trunk/; revision=1696
2000-02-11Fix from Nick Amato for a typo - "Link", in "Link State", shouldn't haveGuy Harris1-2/+2
an "e" in it. svn path=/trunk/; revision=1618
1999-11-17Typo fixes, and fix to bug wherein when Ethereal sees a Network-LSA itGuy Harris1-4/+6
does not stop dissecting the LSA until it hits the end of the packet, from Heikki Vatiainen. svn path=/trunk/; revision=1049
1999-11-16Replace the ETT_ "enum" members, declared in "packet.h", withGuy Harris1-8/+26
dynamically-assigned "ett_" integer values, assigned by "proto_register_subtree_array()"; this: obviates the need to update "packet.h" whenever you add a new subtree type - you only have to add a call to "proto_register_subtree_array()" to a "register" routine and an array of pointers to "ett_", if they're not already there, and add a pointer to the new "ett_" variable to the array, if they are there; would allow run-time-loaded dissectors to allocate subtree types when they're loaded. svn path=/trunk/; revision=1043
1999-10-27Get rid of a presumed debugging "printf()".Guy Harris1-2/+1
svn path=/trunk/; revision=934
1999-10-19Added Tony Hart's <thart@avici.com> patch to dissect MD5 authenticationGilbert Ramirez1-3/+28
data in OSPF. (corrected copy) svn path=/trunk/; revision=889
1999-08-26Convert a bunch of uses of "fd->cap_len" to use "pi.captured_len" (or toGuy Harris1-11/+11
use END_OF_FRAME), so that they don't look at stuff in an IP datagram past the end of the IP datagram (i.e., frame padding). svn path=/trunk/; revision=584
1999-07-29Made the protocol (but not the fields) use the new proto_tree routine,Gilbert Ramirez1-2/+15
allowing users to filter on the existence of these protocols. I also added packet-clip.c to the Nmake makefile. svn path=/trunk/; revision=402
1999-07-07Created a new protocol tree implementation and a new display filterGilbert Ramirez1-85/+78
mechanism that is built into ethereal. Wiretap is now used to read all file formats. Libpcap is used only for capturing. svn path=/trunk/; revision=342
1999-03-23Removed all references to gtk objects from packet*.[ch] files. They nowGilbert Ramirez1-113/+117
reference the protocol tree with struct proto_tree and struct proto_item objects. That way, the packet decoding source code file can be used with non-gtk packet decoders, like a curses-based ethereal, e.g. I also re-arranged some of the information in packet.h to more appropriate places (like other packet-*.[ch] files). svn path=/trunk/; revision=223
1999-01-17Clean up some output lines, and show the checksum value on the line forGuy Harris1-5/+6
the packet checksum. svn path=/trunk/; revision=170
1998-11-17* Added column formatting functionality.Gerald Combs1-5/+6
* Added check_col(), add_col_str() and add_col_fmt() to replace references to ft->win_info. * Added column prefs handling code. svn path=/trunk/; revision=97
1998-10-20 Add a "val_to_str()" routine that calls "match_strval()" and, ifGuy Harris1-24/+16
it returns NULL, formats the value with the format passed in as an argument, and returns a pointer to that static buffer. Change several "match_strval()" calls to use "val_to_str()". In "dissect_ospf()", use "match_strval()" to look up the packet type, and use "Unknown" if it doesn't find a match. svn path=/trunk/; revision=66
1998-10-13Squelch a number of "-Wall" errors by:Guy Harris1-2/+2
1) renaming "snprintf.h" to "snprintf-imp.h" (it contains stuff used by the "snprintf()" *implementation*, but not stuff it *exports*); 2) creating a new "snprintf.h" to declare "vsnprintf()" and "snprintf()"; 3) removing an unused variable; 4) fixing a call to "add_item_to_tree()" to handle the possibility of "ntohl()" returning a "long" rather than an "int". svn path=/trunk/; revision=47
1998-10-10* OSPF alignment fixes (Gerald)Gerald Combs1-100/+101
* FDDI support (Laurent, Guy) svn path=/trunk/; revision=36
1998-09-29Support for AS-external LSAs added.hannes1-3/+34
svn path=/trunk/; revision=33
1998-09-27Merged in a _huge_ patch from Guy Harris. It adds a time stap column,Gerald Combs1-26/+25
generalizes the column printing code, adds a "frame" tree item to the tree view, and fixes a bunch of miscellaneous coding bugs. svn path=/trunk/; revision=31
1998-09-16Added ID tags to the beginning of each source file.Gerald Combs1-0/+2
svn path=/trunk/; revision=7
1998-09-16Initial revisionGerald Combs1-0/+550
svn path=/trunk/; revision=2