bpf_insn
bpf_image(const struct bpf_insn *p, int n)
struct bpf_insn *icode_to_fcode(struct block *, int *);
static struct bpf_insn *fstart;
static struct bpf_insn *ftail;
struct bpf_insn *dst;
struct bpf_insn *
struct bpf_insn *fp;
struct bpf_insn *fcode = fp->bf_insns;
char *bpf_image(const struct bpf_insn *, int);
struct bpf_insn *fcode = p->fcode.bf_insns;
p.bf_len = sizeof(dhcp_bpf_filter) / sizeof(struct bpf_insn);
p.bf_len = sizeof(dhcp_bpf_wfilter) / sizeof(struct bpf_insn);
struct bpf_insn dhcp_bpf_filter[] = {
struct bpf_insn dhcp_bpf_wfilter[] = {
struct bpf_insn *fcode;
struct bpf_insn *fcode = NULL;
struct bpf_insn *fcode = NULL;
bps->bps_bf.bf_len * sizeof(struct bpf_insn));
bpf_mfilter(const struct bpf_insn *pc, const struct mbuf *m, u_int wirelen)
u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int)
u_int _bpf_filter(const struct bpf_insn *, const struct bpf_ops *,
int bpf_validate(struct bpf_insn *, int);
u_int bpf_mfilter(const struct bpf_insn *, const struct mbuf *, u_int);
struct bpf_insn *bf_insns;
bpf_filter(const struct bpf_insn *pc, const u_char *pkt,
_bpf_filter(const struct bpf_insn *pc, const struct bpf_ops *ops,
bpf_validate(struct bpf_insn *f, int len)
struct bpf_insn *p;
struct bpf_insn *newcode, *oldcode;
newcodelen = nbp->bf_len * sizeof(struct bpf_insn);
sizeof(struct bpf_insn), M_DEVBUF, M_WAITOK);
struct bpf_insn insns[] = { { BPF_RET, 0, 0, -1 } };
struct bpf_insn dhcp_bpf_filter[] = {
int dhcp_bpf_filter_len = sizeof(dhcp_bpf_filter) / sizeof(struct bpf_insn);
struct bpf_insn dhcp_bpf_wfilter[] = {
int dhcp_bpf_wfilter_len = sizeof(dhcp_bpf_wfilter) / sizeof(struct bpf_insn);
int dhcp_bpf_sfilter_len = sizeof(dhcp_bpf_sfilter) / sizeof(struct bpf_insn);
struct bpf_insn dhcp_bpf_filter[] = {
int dhcp_bpf_filter_len = sizeof(dhcp_bpf_filter) / sizeof(struct bpf_insn);
struct bpf_insn dhcp_bpf_efilter[] = {
int dhcp_bpf_efilter_len = sizeof(dhcp_bpf_efilter) / sizeof(struct bpf_insn);
struct bpf_insn dhcp_bpf_swfilter[] = {
sizeof(struct bpf_insn);
struct bpf_insn dhcp_bpf_wfilter[] = {
int dhcp_bpf_wfilter_len = sizeof(dhcp_bpf_wfilter) / sizeof(struct bpf_insn);
struct bpf_insn dhcp_bpf_sfilter[] = {
struct bpf_insn dhcp6_bpf_sfilter[] = {
int dhcp6_bpf_sfilter_len = sizeof(dhcp6_bpf_sfilter) / sizeof(struct bpf_insn);
struct bpf_insn dhcp6_bpf_wfilter[] = {
int dhcp6_bpf_wfilter_len = sizeof(dhcp6_bpf_wfilter) / sizeof(struct bpf_insn);
static struct bpf_insn insns[] = {
struct bpf_insn insns[] = {
static struct bpf_insn insns[] = {
static struct bpf_insn bpf_insn[] = {
static struct bpf_insn bpf_wf_insn[] = {
sizeof(bpf_insn)/sizeof(bpf_insn[0]), bpf_insn
struct bpf_insn *insn;
fcode->bf_insns = calloc(fcode->bf_len, sizeof(struct bpf_insn));
fcode->bf_len * sizeof(struct bpf_insn));
fcode.bf_len * sizeof(struct bpf_insn));