[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

code question




Hi all,

I am trying to implement an agent much like the snoop agent,
when I am looking at the code for snoop I cannot understand
one line (line 193, snoop.cc):

parent_->sendto(p);	/* vector to LLSnoop's sendto() */

I have tried to find a function "sendto(Packet* p)" but
I only find functions with two arguments (Packet and Handler).
As it seems it is only snoop that uses this function call...
Could someone explain how this works (I am no C++ guru)

Thanks

Jonas Haggard Ljungquist