Lines Matching refs:bpf
95 #include <net/bpf.h>
118 * We should only be receveing DISCOVERY and SESSION types if the BPF
270 * Opens a BPF on an interface for all PPPoE traffic (discovery and
290 /* Find a free BPF device */
292 sprintf(bpfName, "/dev/bpf%d", i);
310 rp_fatal("No /dev/bpf* devices (check your kernel configuration for BPF support)");
312 rp_fatal("All /dev/bpf* devices are in use");
360 /* Check the BPF version number */
367 sprintf(buffer, "Unsupported BPF version: %d.%d (kernel: %d.%d)",
640 syslog(LOG_ERR, "Truncated bpf packet header: len=%d", bpfSize);
646 syslog(LOG_ERR, "Truncated bpf packet: caplen=%d, datalen=%d",
653 syslog(LOG_ERR, "Truncated bpf packet: seglen=%d, bpfSize=%d",