Segmentation fault using the Packet::make(unsigned len) static function

powell molleti powelllinux at yahoo.com
Sat Mar 16 19:19:14 EST 2002


Hi,

--- Shweta Bhandare <Shweta.Bhandare at colorado.edu>
wrote:
> Hi!
>  I'm working on the userlevel version of click.. I
> have the foll q's:
> 
> Is there a lower limit on the size of a packet i
> can make using the
> Packet::make(unsigned payload) function? I want to
> send a packet of payload
> size 32 bytes.

u may want to read 
http://www.pdos.lcs.mit.edu/click/doc/progman.html

lookup for 3.2.1 section that would answer ur first
question i guess on how to use Packet::make(unsigned
len) to make packets for both in userlevel and linux
kernel module. 

For more u may want to look into
click/lib/packet.cc and click/include/click/packet.hh

i hope this helps
cya
powell



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/



More information about the click mailing list