pcap_compile
int pcap_compile(pcap_t *, struct bpf_program *, const char *, int,
if (pcap_compile(hpcap, &bpfp, filter, PCAPOPTZ, 0) == -1 ||
if (pcap_compile(hpcap, &bprog, filter, PCAP_OPT_FIL, 0) < 0)
if (pcap_compile(ph, &bf, expr, 1, PCAP_NETMASK_UNKNOWN) == -1)
if (pcap_compile(&pc, &pass_filter, *argv, 1, netmask) == 0)
if (pcap_compile(&pc, &active_filter, *argv, 1, netmask) == 0)
if (pcap_compile(&hpcap, &fcode, filter, oflag, netmask))