Is there a way to drop packets with libiptc c++?,i want a sample code for drop packet with libiptc in c++.
for this you should write a driver. for example you can use main_hook function.