Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal file.c packet-aarp.c packet-afs.c packet-aim

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Nov 2000 02:54:33 -0600 (CST)
guy         2000/11/19 02:54:32 CST

  Modified files:
    .                    file.c packet-aarp.c packet-afs.c 
                         packet-aim.c packet-arp.c packet-ascend.c 
                         packet-atalk.c packet-atm.c 
                         packet-auto_rp.c packet-bgp.c 
                         packet-bootp.c packet-bpdu.c 
                         packet-bxxp.c packet-cdp.c packet-cgmp.c 
                         packet-clip.c packet-clnp.c packet-cops.c 
                         packet-ddtp.c packet-diameter.c 
                         packet-dns.c packet-eigrp.c packet-esis.c 
                         packet-eth.c packet-fddi.c packet-ftp.c 
                         packet-giop.c packet-gre.c packet-h1.c 
                         packet-h261.c packet-hsrp.c packet-http.c 
                         packet-icmpv6.c packet-icp.c packet-icq.c 
                         packet-ieee80211.c packet-igrp.c 
                         packet-imap.c packet-ip.c packet-ipp.c 
                         packet-ipsec.c packet-ipv6.c packet-ipx.c 
                         packet-irc.c packet-isakmp.c 
                         packet-isis.c packet-isl.c 
                         packet-kerberos.c packet-l2tp.c 
                         packet-lapb.c packet-lapd.c packet-ldap.c 
                         packet-llc.c packet-lpd.c packet-mapi.c 
                         packet-mip.c packet-mpls.c 
                         packet-msproxy.c packet-nbipx.c 
                         packet-nbns.c packet-ncp.c 
                         packet-netbios.c packet-nntp.c 
                         packet-ntp.c packet-null.c packet-osi.c 
                         packet-ospf.c packet-pop.c packet-ppp.c 
                         packet-pppoe.c packet-pptp.c 
                         packet-q2931.c packet-q931.c 
                         packet-quake.c packet-radius.c 
                         packet-raw.c packet-rlogin.c packet-rpc.c 
                         packet-rsh.c packet-rsvp.c packet-rtcp.c 
                         packet-rtp.c packet-rtsp.c packet-rx.c 
                         packet-sap.c packet-sctp.c packet-sip.c 
                         packet-smb-browse.c packet-smb-logon.c 
                         packet-smb-mailslot.c packet-smb.c 
                         packet-smtp.c packet-sna.c packet-snmp.c 
                         packet-socks.c packet-srvloc.c 
                         packet-sscop.c packet-syslog.c 
                         packet-tacacs.c packet-tcp.c 
                         packet-telnet.c packet-tftp.c 
                         packet-time.c packet-tns.c packet-tpkt.c 
                         packet-tr.c packet-trmac.c packet-udp.c 
                         packet-v120.c packet-vines.c 
                         packet-vlan.c packet-vrrp.c packet-vtp.c 
                         packet-wccp.c packet-who.c packet-wsp.c 
                         packet-wtp.c packet-x11.c packet-x25.c 
                         packet-yhoo.c packet-zebra.c tethereal.c 
  Log:
  For each column, have both a buffer into which strings for that column
  can be put, and a pointer to the string for the column, which might or
  might not point to that buffer.
  
  Add a routine "col_set_str()", which sets the string for the column to
  the string passed to it as an argument; it should only be handed a
  static string (a string constant would be ideal).  It doesn't do any
  copying, so it's faster than "col_add_str()".
  
  Make the routines that append to columns check whether the pointer to
  the string for the column points to the buffer for the column and, if
  not, copy the string for the column to the buffer for the column so that
  you can append to it (so you can use "col_set_str()" and then use
  "col_append_str()" or "col_append_fstr()").
  
  Convert a bunch of "col_add_str()" calls that take a string constant as
  an argument to "col_set_str()" calls.
  
  Convert some "col_add_fstr()" calls that take a string constant as the
  only argument - i.e., the format string doesn't have any "%" slots into
  which to put strings for subsequent arguments to "col_set_str()" calls
  (those calls are just like "col_add_str()" calls).
  
  Replace an END_OF_FRAME reference in a tvbuffified dissector with a
  "tvb_length(tvb)" call.
  
  Revision  Changes    Path
  1.226     +6 -4      ethereal/file.c
  1.25      +2 -2      ethereal/packet-aarp.c
  1.23      +2 -2      ethereal/packet-afs.c
  1.3       +6 -6      ethereal/packet-aim.c
  1.37      +7 -7      ethereal/packet-arp.c
  1.20      +5 -5      ethereal/packet-ascend.c
  1.47      +5 -5      ethereal/packet-atalk.c
  1.27      +9 -9      ethereal/packet-atm.c
  1.9       +2 -2      ethereal/packet-auto_rp.c
  1.28      +2 -2      ethereal/packet-bgp.c
  1.42      +4 -4      ethereal/packet-bootp.c
  1.15      +2 -2      ethereal/packet-bpdu.c
  1.11      +2 -2      ethereal/packet-bxxp.c
  1.27      +3 -3      ethereal/packet-cdp.c
  1.5       +3 -3      ethereal/packet-cgmp.c
  1.12      +5 -5      ethereal/packet-clip.c
  1.16      +4 -4      ethereal/packet-clnp.c
  1.6       +2 -2      ethereal/packet-cops.c
  1.11      +8 -8      ethereal/packet-ddtp.c
  1.8       +2 -2      ethereal/packet-diameter.c
  1.59      +3 -3      ethereal/packet-dns.c
  1.9       +2 -2      ethereal/packet-eigrp.c
  1.9       +2 -2      ethereal/packet-esis.c
  1.49      +3 -3      ethereal/packet-eth.c
  1.42      +2 -2      ethereal/packet-fddi.c
  1.23      +3 -3      ethereal/packet-ftp.c
  1.26      +2 -2      ethereal/packet-giop.c
  1.29      +2 -2      ethereal/packet-gre.c
  1.14      +2 -2      ethereal/packet-h1.c
  1.3       +2 -2      ethereal/packet-h261.c
  1.10      +2 -2      ethereal/packet-hsrp.c
  1.29      +3 -3      ethereal/packet-http.c
  1.31      +2 -2      ethereal/packet-icmpv6.c
  1.13      +2 -2      ethereal/packet-icp.c
  1.22      +9 -9      ethereal/packet-icq.c
  1.3       +2 -2      ethereal/packet-ieee80211.c
  1.2       +2 -2      ethereal/packet-igrp.c
  1.10      +2 -2      ethereal/packet-imap.c
  1.107     +5 -5      ethereal/packet-ip.c
  1.17      +4 -4      ethereal/packet-ipp.c
  1.22      +5 -5      ethereal/packet-ipsec.c
  1.46      +3 -3      ethereal/packet-ipv6.c
  1.70      +8 -8      ethereal/packet-ipx.c
  1.9       +2 -2      ethereal/packet-irc.c
  1.30      +2 -2      ethereal/packet-isakmp.c
  1.15      +2 -2      ethereal/packet-isis.c
  1.17      +2 -2      ethereal/packet-isl.c
  1.6       +2 -2      ethereal/packet-kerberos.c
  1.17      +2 -2      ethereal/packet-l2tp.c
  1.23      +7 -7      ethereal/packet-lapb.c
  1.16      +6 -6      ethereal/packet-lapd.c
  1.17      +2 -2      ethereal/packet-ldap.c
  1.71      +2 -2      ethereal/packet-llc.c
  1.23      +4 -4      ethereal/packet-lpd.c
  1.10      +2 -2      ethereal/packet-mapi.c
  1.9       +4 -4      ethereal/packet-mip.c
  1.11      +2 -2      ethereal/packet-mpls.c
  1.14      +3 -3      ethereal/packet-msproxy.c
  1.29      +4 -4      ethereal/packet-nbipx.c
  1.47      +6 -6      ethereal/packet-nbns.c
  1.41      +2 -2      ethereal/packet-ncp.c
  1.26      +3 -3      ethereal/packet-netbios.c
  1.16      +2 -2      ethereal/packet-nntp.c
  1.18      +3 -3      ethereal/packet-ntp.c
  1.34      +5 -5      ethereal/packet-null.c
  1.38      +4 -4      ethereal/packet-osi.c
  1.29      +2 -2      ethereal/packet-ospf.c
  1.21      +3 -3      ethereal/packet-pop.c
  1.44      +4 -4      ethereal/packet-ppp.c
  1.13      +3 -3      ethereal/packet-pppoe.c
  1.13      +2 -2      ethereal/packet-pptp.c
  1.13      +2 -2      ethereal/packet-q2931.c
  1.21      +2 -2      ethereal/packet-q931.c
  1.9       +2 -2      ethereal/packet-quake.c
  1.19      +2 -2      ethereal/packet-radius.c
  1.22      +5 -5      ethereal/packet-raw.c
  1.11      +2 -2      ethereal/packet-rlogin.c
  1.43      +2 -2      ethereal/packet-rpc.c
  1.7       +2 -2      ethereal/packet-rsh.c
  1.28      +2 -2      ethereal/packet-rsvp.c
  1.10      +9 -9      ethereal/packet-rtcp.c
  1.9       +1 -1      ethereal/packet-rtp.c
  1.27      +3 -3      ethereal/packet-rtsp.c
  1.15      +2 -2      ethereal/packet-rx.c
  1.15      +2 -2      ethereal/packet-sap.c
  1.7       +2 -2      ethereal/packet-sctp.c
  1.8       +2 -2      ethereal/packet-sip.c
  1.6       +3 -3      ethereal/packet-smb-browse.c
  1.10      +2 -2      ethereal/packet-smb-logon.c
  1.7       +2 -2      ethereal/packet-smb-mailslot.c
  1.74      +2 -2      ethereal/packet-smb.c
  1.12      +3 -3      ethereal/packet-smtp.c
  1.19      +2 -2      ethereal/packet-sna.c
  1.53      +3 -3      ethereal/packet-snmp.c
  1.15      +4 -4      ethereal/packet-socks.c
  1.16      +2 -2      ethereal/packet-srvloc.c
  1.12      +2 -2      ethereal/packet-sscop.c
  1.7       +2 -2      ethereal/packet-syslog.c
  1.8       +3 -3      ethereal/packet-tacacs.c
  1.89      +2 -2      ethereal/packet-tcp.c
  1.21      +2 -2      ethereal/packet-telnet.c
  1.18      +2 -2      ethereal/packet-tftp.c
  1.9       +2 -2      ethereal/packet-time.c
  1.10      +2 -2      ethereal/packet-tns.c
  1.2       +1 -1      ethereal/packet-tpkt.c
  1.51      +2 -2      ethereal/packet-tr.c
  1.26      +2 -2      ethereal/packet-trmac.c
  1.79      +2 -2      ethereal/packet-udp.c
  1.14      +7 -7      ethereal/packet-v120.c
  1.20      +13 -13    ethereal/packet-vines.c
  1.25      +2 -2      ethereal/packet-vlan.c
  1.9       +2 -2      ethereal/packet-vrrp.c
  1.7       +3 -3      ethereal/packet-vtp.c
  1.12      +2 -2      ethereal/packet-wccp.c
  1.11      +2 -2      ethereal/packet-who.c
  1.4       +6 -20     ethereal/packet-wsp.c
  1.4       +2 -11     ethereal/packet-wtp.c
  1.13      +5 -5      ethereal/packet-x11.c
  1.39      +6 -6      ethereal/packet-x25.c
  1.11      +2 -2      ethereal/packet-yhoo.c
  1.4       +2 -2      ethereal/packet-zebra.c
  1.57      +13 -10    ethereal/tethereal.c