Add support for libpcap immediate mode

New flag of USE_PCAP_IMMEDIATE_MODE was introduced.
Please add -DUSE_PCAP_IMMEDIATE_MODE in the compiler arguments to
use immediate mode.