Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/plugins/docsis packet-bpkmattr.c packet-bpkm
guy 2003/12/12 21:18:39 CST
Modified files:
plugins/docsis packet-bpkmattr.c packet-bpkmreq.c
packet-bpkmrsp.c packet-docsis.c
packet-dsaack.c packet-dsareq.c
packet-dsarsp.c packet-dscack.c
packet-dscreq.c packet-dscrsp.c
packet-dsdreq.c packet-dsdrsp.c
packet-map.c packet-regack.c
packet-regreq.c packet-regrsp.c
packet-rngreq.c packet-rngrsp.c
packet-tlv.c packet-uccreq.c
packet-uccrsp.c packet-ucd.c
packet-vendor.c
Log:
Use "int"s, not "guint16"s, as packet offsets (using values shorter
than32 bits risks overflow problems).
Use "gint" for tvbuff lengths.
Use -1 for uses of "tvb_length_remaining()" that mean "the rest of the
tvbuff"; use "tvb_reported_length_remaining()" for "the rest of the
packet.
Clean up the handling of the DOCSIS payload.
Revision Changes Path
1.7 +5 -6 ethereal/plugins/docsis/packet-bpkmattr.c
1.6 +3 -6 ethereal/plugins/docsis/packet-bpkmreq.c
1.6 +3 -6 ethereal/plugins/docsis/packet-bpkmrsp.c
1.17 +29 -24 ethereal/plugins/docsis/packet-docsis.c
1.6 +3 -6 ethereal/plugins/docsis/packet-dsaack.c
1.6 +3 -6 ethereal/plugins/docsis/packet-dsareq.c
1.6 +3 -6 ethereal/plugins/docsis/packet-dsarsp.c
1.6 +3 -6 ethereal/plugins/docsis/packet-dscack.c
1.6 +3 -6 ethereal/plugins/docsis/packet-dscreq.c
1.6 +3 -6 ethereal/plugins/docsis/packet-dscrsp.c
1.6 +3 -6 ethereal/plugins/docsis/packet-dsdreq.c
1.6 +2 -3 ethereal/plugins/docsis/packet-dsdrsp.c
1.7 +3 -4 ethereal/plugins/docsis/packet-map.c
1.6 +3 -6 ethereal/plugins/docsis/packet-regack.c
1.6 +3 -6 ethereal/plugins/docsis/packet-regreq.c
1.7 +3 -6 ethereal/plugins/docsis/packet-regrsp.c
1.6 +2 -3 ethereal/plugins/docsis/packet-rngreq.c
1.6 +5 -5 ethereal/plugins/docsis/packet-rngrsp.c
1.16 +3 -4 ethereal/plugins/docsis/packet-tlv.c
1.6 +3 -6 ethereal/plugins/docsis/packet-uccreq.c
1.6 +2 -3 ethereal/plugins/docsis/packet-uccrsp.c
1.7 +5 -6 ethereal/plugins/docsis/packet-ucd.c
1.6 +4 -5 ethereal/plugins/docsis/packet-vendor.c