Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-syslog.c packet-v120.c packet-rpc.c
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: Laurent Deniel <deniel@xxxxxxxxxxxx>
Date: Sun, 13 Aug 2000 09:11:27 -0500 (CDT)
deniel 2000/08/13 09:11:24 CDT
Modified files:
. packet-syslog.c packet-v120.c
packet-rpc.c packet-portmap.c
packet-aarp.c packet-afs.c packet-arp.c
packet-rsvp.c packet-ascend.c
packet-atalk.c packet-atm.c
packet-auto_rp.c packet-bgp.c
packet-bootp.c packet-bootparams.c
packet-bpdu.c packet-cdp.c packet-cgmp.c
packet-clnp.c packet-ipv6.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-hsrp.c packet-http.c
packet-icmpv6.c packet-icp.c packet-icq.c
packet-imap.c packet-ip.c packet-ipp.c
packet-ipsec.c packet-ipx.c packet-irc.c
packet-isakmp.c packet-isis-hello.c
packet-isis-lsp.c packet-isis-snp.c
packet-isis.c packet-isl.c
packet-kerberos.c packet-l2tp.c
packet-lapb.c packet-lapd.c packet-ldap.c
packet-ntp.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-nntp.c packet-ncp.c
packet-netbios.c packet-nlm.c
packet-radius.c packet-quake.c
packet-null.c packet-ospf.c packet-pim.c
packet-pop.c packet-rlogin.c packet-ppp.c
packet-q931.c packet-q2931.c packet-rip.c
packet-ripng.c packet-rsh.c packet-rtcp.c
packet-rtp.c packet-rtsp.c packet-rx.c
packet-sap.c packet-telnet.c
packet-sctp.c packet-sdp.c packet-tcp.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-sscop.c packet-tr.c
packet-tacacs.c packet-tftp.c
packet-time.c packet-tns.c packet-vlan.c
packet-trmac.c packet-udp.c packet-vrrp.c
packet-vtp.c packet-wccp.c packet-who.c
packet-x11.c packet-x25.c packet-yhoo.c
Log:
Add the "Edit:Protocols..." feature which currently only implements
the following:
It is now possible to enable/disable a particular protocol decoding
(i.e. the protocol dissector is void or not). When a protocol
is disabled, it is displayed as Data and of course, all linked
sub-protocols are disabled as well.
Disabling a protocol could be interesting:
- in case of buggy dissectors
- in case of wrong heuristics
- for performance reasons
- to decode the data as another protocol (TODO)
Currently (if I am not wrong), all dissectors but NFS can be disabled
(and dissectors that do not register protocols :-)
I do not like the way the RPC sub-dissectors are disabled (in the
sub-dissectors) since this could be done in the RPC dissector itself,
knowing the sub-protocol hfinfo entry (this is why, I've not modified
the NFS one yet).
Two functions are added in proto.c :
gboolean proto_is_protocol_enabled(int n);
void proto_set_decoding(int n, gboolean enabled);
and two MACROs which can be used in dissectors:
OLD_CHECK_DISPLAY_AS_DATA(index, pd, offset, fd, tree)
CHECK_DISPLAY_AS_DATA(index, tvb, pinfo, tree)
See also the XXX in proto_dlg.c and proto.c around the new functions.
Revision Changes Path
1.6 +3 -1 ethereal/packet-syslog.c
1.12 +3 -1 ethereal/packet-v120.c
1.36 +4 -1 ethereal/packet-rpc.c
1.18 +34 -1 ethereal/packet-portmap.c
1.22 +3 -1 ethereal/packet-aarp.c
1.13 +3 -1 ethereal/packet-afs.c
1.33 +3 -1 ethereal/packet-arp.c
1.27 +3 -1 ethereal/packet-rsvp.c
1.17 +3 -1 ethereal/packet-ascend.c
1.40 +7 -1 ethereal/packet-atalk.c
1.24 +6 -1 ethereal/packet-atm.c
1.8 +3 -1 ethereal/packet-auto_rp.c
1.26 +3 -1 ethereal/packet-bgp.c
1.40 +3 -1 ethereal/packet-bootp.c
1.12 +16 -1 ethereal/packet-bootparams.c
1.13 +3 -1 ethereal/packet-bpdu.c
1.25 +3 -1 ethereal/packet-cdp.c
1.4 +3 -1 ethereal/packet-cgmp.c
1.13 +4 -1 ethereal/packet-clnp.c
1.43 +3 -1 ethereal/packet-ipv6.c
1.4 +3 -1 ethereal/packet-cops.c
1.10 +3 -1 ethereal/packet-ddtp.c
1.5 +2 -1 ethereal/packet-diameter.c
1.52 +3 -1 ethereal/packet-dns.c
1.6 +3 -1 ethereal/packet-eigrp.c
1.7 +3 -1 ethereal/packet-esis.c
1.44 +3 -1 ethereal/packet-eth.c
1.38 +3 -1 ethereal/packet-fddi.c
1.18 +3 -1 ethereal/packet-ftp.c
1.17 +4 -1 ethereal/packet-giop.c
1.25 +3 -1 ethereal/packet-gre.c
1.12 +4 -1 ethereal/packet-h1.c
1.7 +3 -1 ethereal/packet-hsrp.c
1.21 +3 -1 ethereal/packet-http.c
1.20 +3 -1 ethereal/packet-icmpv6.c
1.11 +3 -1 ethereal/packet-icp.c
1.21 +3 -1 ethereal/packet-icq.c
1.9 +3 -1 ethereal/packet-imap.c
1.102 +7 -1 ethereal/packet-ip.c
1.12 +3 -1 ethereal/packet-ipp.c
1.20 +7 -1 ethereal/packet-ipsec.c
1.64 +10 -1 ethereal/packet-ipx.c
1.8 +3 -1 ethereal/packet-irc.c
1.26 +3 -1 ethereal/packet-isakmp.c
1.10 +3 -1 ethereal/packet-isis-hello.c
1.9 +3 -1 ethereal/packet-isis-lsp.c
1.7 +5 -1 ethereal/packet-isis-snp.c
1.14 +3 -1 ethereal/packet-isis.c
1.15 +3 -1 ethereal/packet-isl.c
1.3 +3 -1 ethereal/packet-kerberos.c
1.15 +3 -1 ethereal/packet-l2tp.c
1.22 +3 -1 ethereal/packet-lapb.c
1.13 +3 -1 ethereal/packet-lapd.c
1.15 +3 -1 ethereal/packet-ldap.c
1.16 +3 -1 ethereal/packet-ntp.c
1.68 +3 -1 ethereal/packet-llc.c
1.22 +3 -1 ethereal/packet-lpd.c
1.9 +3 -1 ethereal/packet-mapi.c
1.8 +3 -1 ethereal/packet-mip.c
1.16 +40 -2 ethereal/packet-mount.c
1.9 +3 -1 ethereal/packet-mpls.c
1.9 +2 -1 ethereal/packet-msproxy.c
1.23 +3 -1 ethereal/packet-nbipx.c
1.45 +7 -1 ethereal/packet-nbns.c
1.12 +3 -1 ethereal/packet-nntp.c
1.40 +3 -1 ethereal/packet-ncp.c
1.22 +3 -1 ethereal/packet-netbios.c
1.8 +16 -1 ethereal/packet-nlm.c
1.17 +3 -1 ethereal/packet-radius.c
1.4 +3 -1 ethereal/packet-quake.c
1.27 +3 -1 ethereal/packet-null.c
1.27 +3 -1 ethereal/packet-ospf.c
1.17 +3 -1 ethereal/packet-pim.c
1.17 +3 -1 ethereal/packet-pop.c
1.9 +3 -1 ethereal/packet-rlogin.c
1.39 +5 -1 ethereal/packet-ppp.c
1.17 +3 -1 ethereal/packet-q931.c
1.11 +3 -1 ethereal/packet-q2931.c
1.18 +3 -1 ethereal/packet-rip.c
1.14 +3 -1 ethereal/packet-ripng.c
1.3 +3 -1 ethereal/packet-rsh.c
1.4 +3 -1 ethereal/packet-rtcp.c
1.5 +3 -1 ethereal/packet-rtp.c
1.16 +3 -1 ethereal/packet-rtsp.c
1.14 +3 -1 ethereal/packet-rx.c
1.10 +3 -1 ethereal/packet-sap.c
1.15 +3 -1 ethereal/packet-telnet.c
1.5 +3 -1 ethereal/packet-sctp.c
1.9 +3 -1 ethereal/packet-sdp.c
1.81 +3 -1 ethereal/packet-tcp.c
1.5 +4 -1 ethereal/packet-smb-browse.c
1.8 +4 -1 ethereal/packet-smb-logon.c
1.6 +4 -2 ethereal/packet-smb-mailslot.c
1.10 +4 -1 ethereal/packet-smb-pipe.c
1.71 +3 -1 ethereal/packet-smb.c
1.18 +3 -1 ethereal/packet-sna.c
1.47 +3 -1 ethereal/packet-snmp.c
1.10 +2 -1 ethereal/packet-socks.c
1.14 +3 -1 ethereal/packet-srvloc.c
1.10 +3 -1 ethereal/packet-sscop.c
1.46 +3 -1 ethereal/packet-tr.c
1.7 +3 -1 ethereal/packet-tacacs.c
1.13 +3 -1 ethereal/packet-tftp.c
1.8 +3 -1 ethereal/packet-time.c
1.9 +3 -1 ethereal/packet-tns.c
1.19 +3 -1 ethereal/packet-vlan.c
1.24 +3 -1 ethereal/packet-trmac.c
1.75 +3 -1 ethereal/packet-udp.c
1.8 +3 -1 ethereal/packet-vrrp.c
1.6 +3 -1 ethereal/packet-vtp.c
1.10 +3 -1 ethereal/packet-wccp.c
1.9 +3 -1 ethereal/packet-who.c
1.11 +4 -1 ethereal/packet-x11.c
1.35 +7 -1 ethereal/packet-x25.c
1.10 +5 -1 ethereal/packet-yhoo.c
- Prev by Date: [ethereal-cvs] cvs commit: ethereal/gtk proto_dlg.c proto_dlg.h Makefile.am Makefile.nmake menu.c
- Next by Date: [ethereal-cvs] cvs commit: ethereal/doc README.developer ethereal.pod.template
- Previous by thread: [ethereal-cvs] cvs commit: ethereal/gtk proto_dlg.c proto_dlg.h Makefile.am Makefile.nmake menu.c
- Next by thread: [ethereal-cvs] cvs commit: ethereal/doc README.developer ethereal.pod.template
- Index(es):





