Lines Matching defs:bpfdev
55 static struct bpfdev { struct
56 struct bpfdev_link bpf_link; /* structure link, MUST be first */ argument
58 struct ifdev *bpf_ifdev; /* associated interface, or NULL */
59 unsigned int bpf_flags; /* flags (BPFF_) */
60 size_t bpf_size; /* size of packet buffers */
61 char *bpf_sbuf; /* store buffer (mmap'd, or NULL) */
62 char *bpf_hbuf; /* hold buffer (mmap'd, or NULL) */
63 size_t bpf_slen; /* used part of store buffer */
64 size_t bpf_hlen; /* used part of hold buffer */
65 struct bpf_insn *bpf_filter; /* verified BPF filter, or NULL */
66 size_t bpf_filterlen; /* length of filter, for munmap */
67 pid_t bpf_pid; /* process ID of last using process */
68 clock_t bpf_timeout; /* timeout for read calls (0 = none) */
69 struct { /* state for pending read request */
93 static TAILQ_HEAD(, bpfdev_link) bpfl_freelist; /* list of free BPF devices */ argument
144 bpfdev_get_minor(struct bpfdev * bpfdev) in bpfdev_get_minor()