code question

Jonas Haggard Ljungquist jhl@fou.svrr.se
Fri, 16 Oct 1998 10:31:41 +0200 (METDST)


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