I guess u want to know tht whn it can be used.
suppose u have added a line in ur code like
after that u have used pcap_loop. This will run continously. Now if in between SIGINT arises, u may want to stop capturing packets. then in ur cleanup u can pass pd and in it u can add
This way packet capturing will stop.