wireshark/plugins/docsis
Роман Донченко afa8f21f56 make-dissectors-reg: optimize by factoring out the loops
Instead of calling the grep/sed pipelines for each file, build the
list of files in the beginning and call each pipeline only once,
passing the list to the first grep.

This results in a massive speedup in Cygwin; in my test, the time
it takes to run make-dissector-reg . dissectors packet-*.c in dissectors/epan
is reduced from ~116 to ~3 seconds. I also tried it on NetBSD, where
the time do to the same goes from ~6 to ~0.5 seconds.

Amend makefile comments to elide mentions of invoking multiple processes
per file.

Change-Id: Iad441e7d2b6cc3669dada57646e2f8f6b987fd34
Reviewed-on: https://code.wireshark.org/review/2826
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-07-06 08:08:20 +00:00
..
AUTHORS
ChangeLog
CMakeLists.txt Add .rc files to the sources to have them included in the build 2014-06-20 23:58:22 +00:00
INSTALL
Makefile.am make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
Makefile.common Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.nmake make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
moduleinfo.h
moduleinfo.nmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
NEWS
packet-bintrngreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-bpkmattr.c tvb_new_subset -> tvb_new_subset_length when length parameters are equal. 2014-06-07 15:41:07 +00:00
packet-bpkmreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-bpkmrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-cmctrlreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-cmctrlrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-cmstatus.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dbcack.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dbcreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dbcrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dccack.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dccreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dccrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dcd.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-docsis.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dpvreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dpvrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dsaack.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dsareq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dsarsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dscack.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dscreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dscrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dsdreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-dsdrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-intrngreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-macmgmt.c tvb_new_subset -> tvb_new_subset_length when length parameters are equal. 2014-06-07 15:41:07 +00:00
packet-map.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-mdd.c Windows does not allow data copy between dlls, 2014-06-09 08:59:20 +00:00
packet-regack.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-regreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-regreqmp.c Fix some code remove by 296591399f 2014-03-05 09:25:47 +00:00
packet-regrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-regrspmp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-rngreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-rngrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-sync.c Fix some code remove by 296591399f 2014-03-05 09:25:47 +00:00
packet-tlv-cmctrl.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-tlv.c tvb_new_subset -> tvb_new_subset_length when length parameters are equal. 2014-06-07 15:41:07 +00:00
packet-tlv.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-type29ucd.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-uccreq.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-uccrsp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-ucd.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-vendor.c I don't see anything here requiring netinet/in.h, so don't include it. 2014-04-08 19:24:15 +00:00
plugin.rc.in
README

Overview:
=========
The dissectors provided by this plugin allow the dissection of DOCSIS 1.1
Frames.  Captures of DOCSIS 1.1 frames can be facilitated using Cisco's 
Cable Monitor Features found on Cicso UBR7200 and UBR10000 Series Cable Modem 
Termination Systems.  Captures of DOCSIS 1.1 and DOCSIS 2.0 frames can be
facilitated using the ARRIS Cadant C4 and the ARRIS Cadant C3.

 
Features:
=========
+ Decode the DOCSIS header + Extended Header.  For Data PDU's it will 
  automatically decode as far up the stack that it can. 
+ Decode Mac Management Header. The following Mac Messages 
  are decoded at present: 
	REG-REQ 
	REG-RSP 
	REG-ACK 
	RNG-REQ 
	RNG-RSP 
	UCC-REQ 
	UCC-RSP 
	UCD Messages 
	MAP Messages 
	DSA-REQ 
	DSA-RSP 
	DSA-ACK 
	DSC-REQ 
	DSC-RSP 
	DSC-ACK 
	DSD-REQ 
	DSD-RSP
	BPKM-REQ
	BPKM-RSP
	BPKM Attributes
+ Decode All Appendix C TLV's
+ Decode Concatenated Frames via a recursive call to dissect_docsis()
+ Decode DOCSIS 2.0 packets including:
        Type 29 UCD Messages (DOCSIS 2.0 only)
	INT-RNG-REQ
	
References:
===========
DOCSIS 1.1 and DOCSIS 2.0 Specifications can be found at:
http://www.cablemodem.com/specifications.html

Information on Cisco's Cable Monitor Feature can be found at:
http://www.cisco.com/univercd/cc/td/doc/product/cable/cab_rout/cmtsfg/ufg_cmon.htm

Information on the ARRIS Cadant line of products
http://www.arrisi.com/products_solutions/product_families/Cadant/index.asp