blocking packets which come we get from pcap application



Hi,
I want to block some specific packets in my pcap application. I can
identify those packets.But I am not able to determine how to trash
those packets without sending them to application they are intended
for. Please tell me how can I trash specific packets? Thank you.

.