OPTIMIZE THE CAPTURE PROCESS

pcap_create
pcap_set_snaplen
pcap_set_buffer_size
pcap_set_timeout
pcap_activate