Home
last modified time | relevance | path

Searched refs:bf_insn (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/libpcap/rpcapd/
H A Ddaemon.c2339 struct bpf_insn *bf_insn; in daemon_unpackapplyfilter() local
2369 bf_insn = (struct bpf_insn *) malloc (sizeof(struct bpf_insn) * bf_prog.bf_len); in daemon_unpackapplyfilter()
2370 if (bf_insn == NULL) in daemon_unpackapplyfilter()
2377 bf_prog.bf_insns = bf_insn; in daemon_unpackapplyfilter()
2392 bf_insn->code = ntohs(insn.code); in daemon_unpackapplyfilter()
2393 bf_insn->jf = insn.jf; in daemon_unpackapplyfilter()
2394 bf_insn->jt = insn.jt; in daemon_unpackapplyfilter()
2395 bf_insn->k = ntohl(insn.k); in daemon_unpackapplyfilter()
2397 bf_insn++; in daemon_unpackapplyfilter()
/freebsd/contrib/libpcap/
H A Dpcap-rpcap.c1563 struct bpf_insn *bf_insn; in pcap_pack_bpffilter() local
1589 bf_insn = prog->bf_insns; in pcap_pack_bpffilter()
1593 insn->code = htons(bf_insn->code); in pcap_pack_bpffilter()
1594 insn->jf = bf_insn->jf; in pcap_pack_bpffilter()
1595 insn->jt = bf_insn->jt; in pcap_pack_bpffilter()
1596 insn->k = htonl(bf_insn->k); in pcap_pack_bpffilter()
1599 bf_insn++; in pcap_pack_bpffilter()