Ethereal-cvs: [Ethereal-cvs] rev 17477: /trunk/epan/dissectors/: packet-nfs.c /trunk/epan/: em

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 06 Mar 2006 10:25:20 GMT
User: sahlberg
Date: 2006/03/06 04:25 AM

Log:
 add helper to build (red/black) trees from a key that is a vector of guin32 arrays.
 
 test this functionality by calling these vector insert/lookup tree functions from the nfs dissector for when filehandles are used as a key.
 
 these vector functions could also be used to efficiently store conversations :
 se_tree_key_t[6] = {
 	{ addr_len/4,   &src_addr },
 	{ addr_len/4,	&dst_addr },
 	{ 1,		&src_port32 },
 	{ 1,		&dst_port32 },
 	{ 1,		&protocol32 },
 	{ 0, NULL }
 }
 
 
 (the nfs dissector needs a LOT of work. It is very painful to work with 
 very large nfs traces with all the memory it wastes (and eats) as well as how slow all the tables make it)

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +22 -20    packet-nfs.c    Modified

Directory: /trunk/epan/
  Changes    Path          Action
  +67 -1     emem.c        Modified
  +67 -0     emem.h        Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=17477&view=rev