Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-aarp.c packet-afs.c packet-arp.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: Tue, 16 Nov 1999 05:44:17 -0600 (CST)
guy         1999/11/16 05:44:14 CST

  Modified files:
    .                    packet-aarp.c packet-afs.c packet-arp.c 
                         packet-ascend.c packet-atalk.c 
                         packet-atm.c packet-bgp.c packet-bootp.c 
                         packet-bootparams.c packet-bpdu.c 
                         packet-cdp.c packet-clip.c packet-dns.c 
                         packet-eth.c packet-fddi.c packet-ftp.c 
                         packet-giop.c packet-gre.c packet-http.c 
                         packet-icmpv6.c packet-icp.c packet-icq.c 
                         packet-imap.c packet-ip.c packet-ip.h 
                         packet-ipp.c packet-ipsec.c packet-ipv6.c 
                         packet-ipx.c packet-isakmp.c 
                         packet-lapb.c packet-lapd.c packet-llc.c 
                         packet-lpd.c packet-mapi.c packet-mount.c 
                         packet-nbipx.c packet-nbns.c packet-ncp.c 
                         packet-netbios.c packet-nfs.c 
                         packet-nlm.c packet-nntp.c packet-ntp.c 
                         packet-null.c packet-osi.c packet-ospf.c 
                         packet-pim.c packet-pop.c 
                         packet-portmap.c packet-ppp.c 
                         packet-pppoe.c packet-pptp.c 
                         packet-q931.c packet-radius.c 
                         packet-raw.c packet-rip.c packet-ripng.c 
                         packet-rpc.c packet-rpc.h packet-rsvp.c 
                         packet-rtsp.c packet-rx.c packet-sdp.c 
                         packet-smb.c packet-sna.c packet-snmp.c 
                         packet-stat.c packet-tcp.c 
                         packet-telnet.c packet-tftp.c packet-tr.c 
                         packet-trmac.c packet-udp.c 
                         packet-vines.c packet-vlan.c packet-x25.c 
                         packet-yhoo.c packet-ypbind.c 
                         packet-ypserv.c packet-ypxfr.c packet.c 
                         packet.h proto.c proto.h xdlc.c xdlc.h 
  Log:
  Replace the ETT_ "enum" members, declared in "packet.h", with
  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.
  
  Revision  Changes    Path
  1.14      +8 -2      ethereal/packet-aarp.c
  1.6       +25 -9     ethereal/packet-afs.c
  1.22      +8 -2      ethereal/packet-arp.c
  1.8       +8 -3      ethereal/packet-ascend.c
  1.22      +8 -2      ethereal/packet-atalk.c
  1.2       +21 -7     ethereal/packet-atm.c
  1.10      +43 -16    ethereal/packet-bgp.c
  1.22      +16 -8     ethereal/packet-bootp.c
  1.6       +8 -2      ethereal/packet-bootparams.c
  1.6       +8 -3      ethereal/packet-bpdu.c
  1.17      +17 -9     ethereal/packet-cdp.c
  1.3       +14 -2     ethereal/packet-clip.c
  1.29      +37 -22    ethereal/packet-dns.c
  1.22      +11 -3     ethereal/packet-eth.c
  1.25      +8 -2      ethereal/packet-fddi.c
  1.10      +8 -3      ethereal/packet-ftp.c
  1.10      +8 -2      ethereal/packet-giop.c
  1.7       +11 -4     ethereal/packet-gre.c
  1.11      +8 -2      ethereal/packet-http.c
  1.11      +17 -7     ethereal/packet-icmpv6.c
  1.3       +19 -12    ethereal/packet-icp.c
  1.6       +52 -37    ethereal/packet-icq.c
  1.3       +8 -2      ethereal/packet-imap.c
  1.62      +55 -19    ethereal/packet-ip.c
  1.8       +3 -3      ethereal/packet-ip.h
  1.3       +16 -6     ethereal/packet-ipp.c
  1.10      +15 -4     ethereal/packet-ipsec.c
  1.25      +10 -4     ethereal/packet-ipv6.c
  1.32      +25 -7     ethereal/packet-ipx.c
  1.10      +26 -16    ethereal/packet-isakmp.c
  1.8       +14 -6     ethereal/packet-lapb.c
  1.3       +23 -12    ethereal/packet-lapd.c
  1.28      +12 -3     ethereal/packet-llc.c
  1.13      +8 -3      ethereal/packet-lpd.c
  1.2       +8 -2      ethereal/packet-mapi.c
  1.4       +7 -2      ethereal/packet-mount.c
  1.15      +14 -6     ethereal/packet-nbipx.c
  1.33      +42 -14    ethereal/packet-nbns.c
  1.21      +14 -5     ethereal/packet-ncp.c
  1.10      +22 -10    ethereal/packet-netbios.c
  1.5       +74 -25    ethereal/packet-nfs.c
  1.3       +8 -2      ethereal/packet-nlm.c
  1.6       +8 -3      ethereal/packet-nntp.c
  1.5       +11 -3     ethereal/packet-ntp.c
  1.17      +9 -3      ethereal/packet-null.c
  1.12      +24 -12    ethereal/packet-osi.c
  1.16      +26 -8     ethereal/packet-ospf.c
  1.7       +14 -8     ethereal/packet-pim.c
  1.10      +8 -2      ethereal/packet-pop.c
  1.7       +8 -3      ethereal/packet-portmap.c
  1.22      +94 -47    ethereal/packet-ppp.c
  1.4       +19 -4     ethereal/packet-pppoe.c
  1.6       +14 -2     ethereal/packet-pptp.c
  1.6       +16 -8     ethereal/packet-q931.c
  1.5       +16 -8     ethereal/packet-radius.c
  1.11      +13 -2     ethereal/packet-raw.c
  1.13      +12 -4     ethereal/packet-rip.c
  1.6       +11 -3     ethereal/packet-ripng.c
  1.16      +28 -16    ethereal/packet-rpc.c
  1.7       +1 -3      ethereal/packet-rpc.h
  1.10      +61 -21    ethereal/packet-rsvp.c
  1.4       +8 -2      ethereal/packet-rtsp.c
  1.4       +11 -3     ethereal/packet-rx.c
  1.4       +8 -2      ethereal/packet-sdp.c
  1.39      +78 -34    ethereal/packet-smb.c
  1.9       +37 -20    ethereal/packet-sna.c
  1.13      +9 -3      ethereal/packet-snmp.c
  1.2       +8 -3      ethereal/packet-stat.c
  1.44      +29 -17    ethereal/packet-tcp.c
  1.7       +11 -3     ethereal/packet-telnet.c
  1.7       +8 -2      ethereal/packet-tftp.c
  1.31      +14 -4     ethereal/packet-tr.c
  1.17      +14 -4     ethereal/packet-trmac.c
  1.35      +14 -9     ethereal/packet-udp.c
  1.10      +20 -6     ethereal/packet-vines.c
  1.4       +8 -2      ethereal/packet-vlan.c
  1.9       +26 -20    ethereal/packet-x25.c
  1.4       +9 -2      ethereal/packet-yhoo.c
  1.3       +9 -3      ethereal/packet-ypbind.c
  1.6       +8 -3      ethereal/packet-ypserv.c
  1.2       +9 -2      ethereal/packet-ypxfr.c
  1.54      +13 -9     ethereal/packet.c
  1.142     +1 -282    ethereal/packet.h
  1.49      +48 -1     ethereal/proto.c
  1.20      +15 -1     ethereal/proto.h
  1.10      +6 -6      ethereal/xdlc.c
  1.10      +3 -2      ethereal/xdlc.h