Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-ppp.c packet-ip.c packet-tcp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 28 Aug 1999 03:31:35 -0500 (CDT)
guy         1999/08/28 03:31:32 CDT

  Modified files:
    .                    packet-ppp.c packet-ip.c packet-tcp.c 
                         packet-ip.h packet.h 
  Log:
  PPP options in LCP, IPCP, etc. are like IP and TCP options - one octet
  of option code, one octet of length (which includes the two option code
  and length bytes), followed by 0 or more octets of option data, with
  some options being fixed-length and some being variable-length.  Put
  some stuff from the PPP control protocol option parsing code into the
  IP-and-TCP option parsing code, and use the latter instead of the
  former.
  
  (That code might also be usable for CDP as well, with some stuff added
  to it.)
  
  Shuffle the arguments to "dissect_ip_tcp_options()" to resemble those of
  various other dissectors (i.e., with the "proto_tree *" at the end).
  
  Add in code to dissect a pile of PPP options documented in various RFCs.
  
  Revision  Changes    Path
  1.18      +584 -165  ethereal/packet-ppp.c
  1.43      +46 -35    ethereal/packet-ip.c
  1.32      +35 -23    ethereal/packet-tcp.c
  1.5       +6 -5      ethereal/packet-ip.h
  1.91      +7 -2      ethereal/packet.h