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: Wed, 31 May 2000 00:09:05 -0500 (CDT)
guy 2000/05/31 00:09:02 CDT Modified files: . packet-aarp.c packet-afs.c packet-arp.c packet-ascend.c packet-atalk.c packet-atm.c packet-auto_rp.c packet-bootp.c packet-bootparams.c packet-bpdu.c packet-cdp.c packet-cgmp.c packet-clnp.c packet-ddtp.c packet-dns.c packet-eigrp.c packet-esis.c packet-eth.c packet-ethertype.c packet-fddi.c packet-ftp.c packet-giop.c packet-gre.c packet-h1.c packet-hsrp.c packet-http.c packet-icmpv6.c packet-icp.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-clv.c packet-isis-hello.c packet-isis-lsp.c packet-isis-snp.c packet-isis.c packet-isl.c packet-l2tp.c packet-lapd.c packet-ldap.c packet-llc.c packet-lpd.c packet-mapi.c packet-mip.c packet-mount.c packet-mpls.c packet-msproxy.c packet-nbipx.c packet-nbns.c packet-ncp.c packet-netbios.c packet-nfs.c packet-nntp.c packet-ntp.c packet-null.c packet-ospf.c packet-pim.c packet-pop.c packet-portmap.c packet-ppp.c packet-q2931.c packet-q931.c packet-radius.c packet-rip.c packet-ripng.c packet-rlogin.c packet-rpc.c packet-rsvp.c packet-rtcp.c packet-rtp.c packet-rtsp.c packet-rx.c packet-sap.c packet-sdp.c packet-smb-browse.c packet-smb-logon.c packet-smb-mailslot.c packet-smb-pipe.c packet-smb.c packet-sna.c packet-snmp.c packet-socks.c packet-srvloc.c packet-tacacs.c packet-tcp.c packet-telnet.c packet-tftp.c packet-time.c packet-tns.c packet-tr.c packet-trmac.c packet-udp.c packet-vlan.c packet-vrrp.c packet-vtp.c packet-wccp.c packet-who.c packet-x25.c packet-yhoo.c packet-ypserv.c packet.c proto.c proto.h Log: Add routines for adding items to a protocol tree that take arguments of a particular type, rather than taking a varargs list, along the lines of the "proto_tree_add_XXX_format()" routines. Replace most calls to "proto_tree_add_item()" and "proto_tree_add_item_hidden()" with calls to those routines. Rename "proto_tree_add_item()" and "proto_tree_add_item_hidden()" to "proto_tree_add_item_old()" and "proto_tree_add_item_hidden_old()", and add new "proto_tree_add_item()" and "proto_tree_add_item_hidden()" routines that don't take the item to be added as an argument - instead, they fetch the argument from the packet whose tvbuff was handed to them, from the offset handed to them. Revision Changes Path 1.20 +6 -6 ethereal/packet-aarp.c 1.11 +35 -36 ethereal/packet-afs.c 1.30 +17 -17 ethereal/packet-arp.c 1.16 +9 -9 ethereal/packet-ascend.c 1.38 +29 -29 ethereal/packet-atalk.c 1.22 +3 -3 ethereal/packet-atm.c 1.6 +6 -6 ethereal/packet-auto_rp.c 1.34 +14 -14 ethereal/packet-bootp.c 1.11 +5 -4 ethereal/packet-bootparams.c 1.11 +11 -11 ethereal/packet-bpdu.c 1.23 +17 -17 ethereal/packet-cdp.c 1.3 +7 -7 ethereal/packet-cgmp.c 1.8 +19 -19 ethereal/packet-clnp.c 1.5 +9 -9 ethereal/packet-ddtp.c 1.45 +8 -8 ethereal/packet-dns.c 1.4 +2 -2 ethereal/packet-eigrp.c 1.4 +6 -6 ethereal/packet-esis.c 1.42 +11 -11 ethereal/packet-eth.c 1.5 +2 -2 ethereal/packet-ethertype.c 1.36 +10 -10 ethereal/packet-fddi.c 1.16 +6 -6 ethereal/packet-ftp.c 1.14 +3 -3 ethereal/packet-giop.c 1.22 +2 -2 ethereal/packet-gre.c 1.9 +18 -18 ethereal/packet-h1.c 1.5 +2 -2 ethereal/packet-hsrp.c 1.19 +4 -4 ethereal/packet-http.c 1.17 +3 -3 ethereal/packet-icmpv6.c 1.8 +2 -3 ethereal/packet-icp.c 1.7 +4 -4 ethereal/packet-imap.c 1.90 +27 -27 ethereal/packet-ip.c 1.10 +2 -2 ethereal/packet-ipp.c 1.16 +10 -10 ethereal/packet-ipsec.c 1.38 +7 -7 ethereal/packet-ipv6.c 1.61 +23 -23 ethereal/packet-ipx.c 1.6 +4 -4 ethereal/packet-irc.c 1.22 +2 -2 ethereal/packet-isakmp.c 1.5 +2 -2 ethereal/packet-isis-clv.c 1.8 +5 -5 ethereal/packet-isis-hello.c 1.7 +6 -6 ethereal/packet-isis-lsp.c 1.5 +5 -5 ethereal/packet-isis-snp.c 1.10 +9 -9 ethereal/packet-isis.c 1.12 +20 -20 ethereal/packet-isl.c 1.10 +2 -2 ethereal/packet-l2tp.c 1.11 +8 -8 ethereal/packet-lapd.c 1.12 +57 -21 ethereal/packet-ldap.c 1.65 +11 -11 ethereal/packet-llc.c 1.20 +4 -4 ethereal/packet-lpd.c 1.7 +4 -4 ethereal/packet-mapi.c 1.4 +22 -22 ethereal/packet-mip.c 1.15 +26 -26 ethereal/packet-mount.c 1.7 +6 -6 ethereal/packet-mpls.c 1.3 +44 -47 ethereal/packet-msproxy.c 1.21 +4 -4 ethereal/packet-nbipx.c 1.43 +15 -15 ethereal/packet-nbns.c 1.37 +7 -7 ethereal/packet-ncp.c 1.20 +3 -3 ethereal/packet-netbios.c 1.28 +40 -40 ethereal/packet-nfs.c 1.10 +4 -4 ethereal/packet-nntp.c 1.13 +5 -5 ethereal/packet-ntp.c 1.25 +4 -4 ethereal/packet-null.c 1.24 +2 -2 ethereal/packet-ospf.c 1.14 +4 -4 ethereal/packet-pim.c 1.15 +4 -4 ethereal/packet-pop.c 1.16 +16 -16 ethereal/packet-portmap.c 1.36 +6 -6 ethereal/packet-ppp.c 1.10 +10 -10 ethereal/packet-q2931.c 1.16 +6 -6 ethereal/packet-q931.c 1.13 +2 -2 ethereal/packet-radius.c 1.16 +2 -2 ethereal/packet-rip.c 1.12 +3 -3 ethereal/packet-ripng.c 1.3 +8 -8 ethereal/packet-rlogin.c 1.31 +31 -31 ethereal/packet-rpc.c 1.22 +16 -16 ethereal/packet-rsvp.c 1.3 +2 -2 ethereal/packet-rtcp.c 1.4 +2 -2 ethereal/packet-rtp.c 1.14 +5 -5 ethereal/packet-rtsp.c 1.12 +17 -17 ethereal/packet-rx.c 1.8 +14 -14 ethereal/packet-sap.c 1.8 +2 -2 ethereal/packet-sdp.c 1.4 +2 -2 ethereal/packet-smb-browse.c 1.5 +2 -2 ethereal/packet-smb-logon.c 1.5 +2 -2 ethereal/packet-smb-mailslot.c 1.9 +8 -8 ethereal/packet-smb-pipe.c 1.68 +2 -2 ethereal/packet-smb.c 1.16 +92 -92 ethereal/packet-sna.c 1.36 +6 -6 ethereal/packet-snmp.c 1.5 +16 -18 ethereal/packet-socks.c 1.9 +10 -10 ethereal/packet-srvloc.c 1.5 +9 -9 ethereal/packet-tacacs.c 1.75 +14 -14 ethereal/packet-tcp.c 1.13 +2 -2 ethereal/packet-telnet.c 1.12 +4 -4 ethereal/packet-tftp.c 1.6 +2 -2 ethereal/packet-time.c 1.7 +15 -15 ethereal/packet-tns.c 1.43 +24 -24 ethereal/packet-tr.c 1.22 +19 -19 ethereal/packet-trmac.c 1.72 +5 -5 ethereal/packet-udp.c 1.16 +5 -5 ethereal/packet-vlan.c 1.6 +4 -4 ethereal/packet-vrrp.c 1.5 +24 -24 ethereal/packet-vtp.c 1.8 +12 -12 ethereal/packet-wccp.c 1.7 +15 -15 ethereal/packet-who.c 1.32 +44 -44 ethereal/packet-x25.c 1.8 +12 -12 ethereal/packet-yhoo.c 1.11 +4 -4 ethereal/packet-ypserv.c 1.94 +4 -4 ethereal/packet.c 1.67 +676 -155 ethereal/proto.c 1.32 +128 -6 ethereal/proto.h
- Prev by Date: [ethereal-cvs] cvs commit: ethereal packet-lapb.c packet-lapd.c packet-lapd.h packet-llc.c packet-v120.c packet-v120.h packet.c xdlc.c xdlc.h
- Next by Date: [ethereal-cvs] cvs commit: ethereal/plugins/gryphon packet-gryphon.c
- Previous by thread: [ethereal-cvs] cvs commit: ethereal packet-lapb.c packet-lapd.c packet-lapd.h packet-llc.c packet-v120.c packet-v120.h packet.c xdlc.c xdlc.h
- Next by thread: [ethereal-cvs] cvs commit: ethereal packet-msproxy.c
- Index(es):