Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-aarp.c packet-arp.c packet-atalk.c
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxxxx>
Date: Sat, 11 Mar 2000 22:48:29 -0600 (CST)
gram 2000/03/11 22:48:26 CST
Modified files:
. packet-aarp.c packet-arp.c packet-atalk.c
packet-atm.c packet-auto_rp.c
packet-bootp.c packet-bpdu.c packet-cdp.c
packet-data.c packet-dns.c packet-eth.c
packet-fddi.c packet-ftp.c packet-giop.c
packet-gre.c packet-icmpv6.c packet-icp.c
packet-icq.c packet-ip.c packet-ipsec.c
packet-ipv6.c packet-ipx.c
packet-isis-hello.c packet-isis.c
packet-isl.c packet-l2tp.c packet-lapb.c
packet-nbns.c packet-ncp.c packet-nfs.c
packet-ntp.c packet-osi.c packet-pim.c
packet-portmap.c packet-ppp.c
packet-radius.c packet-ripng.c
packet-rpc.c packet-rx.c packet-sna.c
packet-sscop.c packet-tcp.c
packet-trmac.c packet-udp.c packet-v120.c
packet-vrrp.c packet-vtp.c packet-wccp.c
packet-who.c packet-x25.c packet.c
proto.c proto.h xdlc.c
Log:
Break proto_tree_add_item_format() into multiple functions:
proto_tree_add_protocol_format()
proto_tree_add_uint_format()
proto_tree_add_ipxnet_format()
proto_tree_add_ipv4_format()
proto_tree_add_ipv6_format()
proto_tree_add_bytes_format()
proto_tree_add_string_format()
proto_tree_add_ether_format()
proto_tree_add_time_format()
proto_tree_add_double_format()
proto_tree_add_boolean_format()
If using GCC 2.x, we can check the print-format against the variable args
passed in. Regardless of compiler, we can now check at run-time that the
field type passed into the function corresponds to what that function
expects (FT_UINT, FT_BOOLEAN, etc.)
Note that proto_tree_add_protocol_format() does not require a value field,
since the value of a protocol is always NULL. It's more intuitive w/o the
vestigial argument.
Fixed a proto_tree_add_item_format-related bug in packet-isis-hello.c
Fixed a variable usage bug in packet-v120.c. (ett_* was used instead of hf_*)
Checked in Guy's fix for the function declearation for proto_tree_add_text()
and proto_tree_add_notext().
Revision Changes Path
1.17 +9 -9 ethereal/packet-aarp.c
1.26 +13 -17 ethereal/packet-arp.c
1.31 +2 -2 ethereal/packet-atalk.c
1.13 +4 -7 ethereal/packet-atm.c
1.3 +4 -4 ethereal/packet-auto_rp.c
1.27 +9 -9 ethereal/packet-bootp.c
1.8 +5 -4 ethereal/packet-bpdu.c
1.21 +3 -3 ethereal/packet-cdp.c
1.15 +3 -3 ethereal/packet-data.c
1.36 +3 -3 ethereal/packet-dns.c
1.30 +5 -5 ethereal/packet-eth.c
1.28 +2 -2 ethereal/packet-fddi.c
1.12 +5 -5 ethereal/packet-ftp.c
1.11 +2 -2 ethereal/packet-giop.c
1.16 +2 -2 ethereal/packet-gre.c
1.14 +3 -3 ethereal/packet-icmpv6.c
1.5 +5 -5 ethereal/packet-icp.c
1.12 +33 -33 ethereal/packet-icq.c
1.76 +10 -10 ethereal/packet-ip.c
1.12 +2 -2 ethereal/packet-ipsec.c
1.29 +5 -5 ethereal/packet-ipv6.c
1.50 +7 -7 ethereal/packet-ipx.c
1.3 +6 -6 ethereal/packet-isis-hello.c
1.4 +2 -2 ethereal/packet-isis.c
1.6 +3 -3 ethereal/packet-isl.c
1.4 +60 -60 ethereal/packet-l2tp.c
1.11 +6 -6 ethereal/packet-lapb.c
1.38 +6 -6 ethereal/packet-nbns.c
1.31 +2 -2 ethereal/packet-ncp.c
1.23 +2 -2 ethereal/packet-nfs.c
1.10 +14 -14 ethereal/packet-ntp.c
1.23 +7 -7 ethereal/packet-osi.c
1.10 +2 -2 ethereal/packet-pim.c
1.13 +9 -9 ethereal/packet-portmap.c
1.29 +3 -3 ethereal/packet-ppp.c
1.7 +4 -4 ethereal/packet-radius.c
1.8 +2 -2 ethereal/packet-ripng.c
1.28 +7 -7 ethereal/packet-rpc.c
1.9 +3 -3 ethereal/packet-rx.c
1.12 +3 -3 ethereal/packet-sna.c
1.6 +3 -3 ethereal/packet-sscop.c
1.60 +6 -6 ethereal/packet-tcp.c
1.20 +2 -2 ethereal/packet-trmac.c
1.52 +4 -4 ethereal/packet-udp.c
1.4 +6 -6 ethereal/packet-v120.c
1.3 +2 -2 ethereal/packet-vrrp.c
1.2 +6 -6 ethereal/packet-vtp.c
1.5 +2 -2 ethereal/packet-wccp.c
1.4 +2 -2 ethereal/packet-who.c
1.22 +8 -8 ethereal/packet-x25.c
1.65 +5 -5 ethereal/packet.c
1.55 +546 -92 ethereal/proto.c
1.24 +124 -12 ethereal/proto.h
1.12 +5 -5 ethereal/xdlc.c
- Prev by Date: [ethereal-cvs] cvs commit: ethereal follow.c packet-tcp.c follow.h
- Next by Date: [ethereal-cvs] cvs commit: ethereal/plugins/gryphon packet-gryphon.c
- Previous by thread: [ethereal-cvs] cvs commit: ethereal follow.c packet-tcp.c follow.h
- Next by thread: [ethereal-cvs] cvs commit: ethereal/plugins/gryphon packet-gryphon.c
- Index(es):





