aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipsec.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace the ETT_ "enum" members, declared in "packet.h", withGuy Harris1999-11-161-4/+15
| | | | | | | | | | | | | | | | | 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
* Replace proto_tree_add_item_format by proto_tree_add_item.Laurent Deniel1999-10-171-24/+16
| | | | svn path=/trunk/; revision=870
* add ipcomp.flags to filter notation.Jun-ichiro itojun Hagino1999-10-151-3/+7
| | | | | | fix hexadecimal matching in lexer ("0x[a-fA-F0-9]+"), need more improvement. svn path=/trunk/; revision=839
* IPComp (RFC2393) decoding.Jun-ichiro itojun Hagino1999-10-151-10/+99
| | | | svn path=/trunk/; revision=838
* implement ipprotostr() in ipproto.c, which basically does ipprotobynumber()Jun-ichiro itojun Hagino1999-10-141-2/+2
| | | | | | | | | | for ip.ip_p and ip6.ip6_nxt (and other IPv6 header chain). use val_to_str() as much as possible in dissect_{ipv6,pim,ripng}(). make --disable-zlib a default for netbsd (temporary workaround). svn path=/trunk/; revision=827
* New proto_tree header_field_info stuff. Header_field_infos now containGilbert Ramirez1999-10-121-5/+9
| | | | | | | | | | | | | | | | | | | | | the base for numbers to be displayed in, bitmasks for bitfields, and blurbs (which are one or two sentences describing the field). proto_tree_add*() routines now automatically handle bitfields. You tell it which header field you are adding, and just pass it the value of the entire field, and the proto_tree routines will do the masking and shifting for you. This means that bitfields are more naturally filtered via dfilter now. Added Phil Techau's support for signed integers in dfilters/proto_tree. Added the beginning of the SNA dissector. It's not complete, but I'm committing it now because it has example after example of how to use bitfields with the new header_field_info struct and proto_tree routines. It was the impetus to change how header_field_info works. svn path=/trunk/; revision=815
* Add display filtersLaurent Deniel1999-10-111-17/+44
| | | | svn path=/trunk/; revision=806
* Made the protocol (but not the fields) use the new proto_tree routine,Gilbert Ramirez1999-07-291-3/+19
| | | | | | | 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
* Created a new protocol tree implementation and a new display filterGilbert Ramirez1999-07-071-14/+12
| | | | | | | 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
* Two more files for ipv6.Gilbert Ramirez1999-03-291-0/+141
svn path=/trunk/; revision=231