Hello users,

Does anybody know how can I drop a packet ?
For example:

When my Agent receive a packet from a particular host, I'd like to
drop the packet, and this packet should appear in the trace file like:
d -t 0.000 ...
I've tried Packet::free(p) and drop(p), but when I opened the trace
file, there's no packet dropped.
How can I do this ?

Thanks,

--
----------------------------------------------------------------------------------------------------------------
Rafael Perazzo B Mota
rafaelpera...@gmail.com
Web-page: https://sites.google.com/site/rafaelperazzo/
Doutorando em Ciência da Computação
Universidade de São Paulo (USP)
Campus da Capital
Instituto de Matemática e estatística (IME)
------------------------------------------------------------------------------------------------------------------

Reply via email to