[ns] using filter command....

noorbakh noorbakh@usc.edu
Wed, 14 Feb 2001 14:07:37 -0800 (PST)


Hi all
 
has anyone here used the following commands for filtering packets?if so
can you tell me the way that I should use the filter for filtering
some packets.

set filter [new Filter/Field]
	
	$n4 attach $filter
	$filter target $null1
	$filter filter-target $n5
	$filter set offset_ [PktHdr_offset PacketHeader/Common size_]
	$filter set match_  100 


thanks
Eaman