/src/dist/pf/sbin/pflogd/ |
pflogd.c | 62 pcap_t *hpcap; variable in typeref:typename:pcap_t * 208 if (pcap_compile(hpcap, &bprog, filter, PCAP_OPT_FIL, 0) < 0) 209 logmsg(LOG_WARNING, "%s", pcap_geterr(hpcap)); 211 if (pcap_setfilter(hpcap, &bprog) < 0) 212 logmsg(LOG_WARNING, "%s", pcap_geterr(hpcap)); 249 hpcap = pcap_open_live(interface, snaplen, 1, PCAP_TO_MS, errbuf); 250 if (hpcap == NULL) { 255 if (pcap_datalink(hpcap) != DLT_PFLOG) { 257 pcap_close(hpcap); 258 hpcap = NULL [all...] |
pflogd.c | 62 pcap_t *hpcap; variable in typeref:typename:pcap_t * 208 if (pcap_compile(hpcap, &bprog, filter, PCAP_OPT_FIL, 0) < 0) 209 logmsg(LOG_WARNING, "%s", pcap_geterr(hpcap)); 211 if (pcap_setfilter(hpcap, &bprog) < 0) 212 logmsg(LOG_WARNING, "%s", pcap_geterr(hpcap)); 249 hpcap = pcap_open_live(interface, snaplen, 1, PCAP_TO_MS, errbuf); 250 if (hpcap == NULL) { 255 if (pcap_datalink(hpcap) != DLT_PFLOG) { 257 pcap_close(hpcap); 258 hpcap = NULL [all...] |