Searched refs:fcode (Results 1 - 25 of 32) sorted by relevance

12

/macosx-10.9.5/libpcap-42/libpcap/
H A Dsavefile.c170 pcap_freecode(&p->fcode);
339 /* Padding only needed for live capture fcode */
399 struct bpf_insn *fcode; local
431 if ((fcode = p->fcode.bf_insns) == NULL ||
432 bpf_filter(fcode, data, h.len, h.caplen)) {
450 struct bpf_insn *fcode; local
490 if ((fcode = p->fcode.bf_insns) == NULL ||
492 bpf_filter(fcode, dat
[all...]
H A Dpcap-enet.c62 register struct bpf_insn *fcode = fp->bf_insns; local
82 if (bpf_filter(fcode, (char *)ph->packet,
96 if (bpf_filter(fcode, buf.hdr.packet, cc, caplen)) {
H A Dpcap-septel.c143 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) {
H A Dpcap-linux.c377 static int fix_program(pcap_t *handle, struct sock_fprog *fcode,
380 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode);
1688 if (!handle->md.use_bpf && handle->fcode.bf_insns) {
1689 if (bpf_filter(handle->fcode.bf_insns, bp,
2329 struct sock_fprog fcode; local
2358 if (handle->fcode.bf_len > USHRT_MAX) {
2360 * fcode.len is an unsigned short for current kernel.
2366 fcode.len = 0;
2367 fcode.filter = NULL;
2385 switch (fix_program(handle, &fcode, is_mmappe
5309 fix_program(pcap_t *handle, struct sock_fprog *fcode, int is_mmapped) argument
5446 set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode) argument
[all...]
H A Dpcap-snf.c138 if ((p->fcode.bf_insns == NULL) ||
139 bpf_filter(p->fcode.bf_insns, req.pkt_addr, req.length, caplen)) {
H A Dpcap-bt-linux.c323 if (handle->fcode.bf_insns == NULL ||
324 bpf_filter(handle->fcode.bf_insns, &handle->buffer[handle->offset],
H A Dpcap-snoop.c124 if (p->fcode.bf_insns == NULL ||
125 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) {
H A Dpcap-usb-linux.c609 if (handle->fcode.bf_insns == NULL ||
610 bpf_filter(handle->fcode.bf_insns, handle->buffer,
775 if (handle->fcode.bf_insns == NULL ||
776 bpf_filter(handle->fcode.bf_insns, handle->buffer,
855 if (handle->fcode.bf_insns == NULL ||
856 bpf_filter(handle->fcode.bf_insns, (u_char*) hdr,
H A Dpcap-netfilter-linux.c136 if (handle->fcode.bf_insns == NULL ||
137 bpf_filter(handle->fcode.bf_insns, payload, pkth.len, pkth.caplen))
H A Ddlpisubs.c177 if (bpf_filter(p->fcode.bf_insns, pk, origlen, caplen)) {
H A Dpcap-dos.c266 (!p->fcode.bf_insns || bpf_filter(p->fcode.bf_insns, rx_buf, pcap.len, pcap.caplen)))
406 p->fcode = *fp;
981 pcap_save.fcode.bf_insns = NULL;
H A Dpcap-int.h338 struct bpf_program fcode; member in struct:pcap
H A Dpcap-nit.c177 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) {
H A Dpcap.c1390 pcap_freecode(&p->fcode);
1474 struct bpf_insn *fcode = fp->bf_insns; local
1476 if (fcode != NULL)
1477 return (bpf_filter(fcode, pkt, h->len, h->caplen));
H A Dpcap-win32.c379 if (p->fcode.bf_insns)
381 if (bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen) == 0)
/macosx-10.9.5/ppp-727.90.1/Helpers/pppdump/
H A Dbsd-comp.c126 u_int32_t fcode; member in union:bsd_db::bsd_dict::__anon11962
457 u_int32_t fcode; local
482 fcode = BSD_KEY(ent, c);
489 if (dictp->f.fcode == fcode) {
503 } while (dictp->f.fcode != fcode);
525 dictp->f.fcode = fcode;
711 u_int32_t fcode; local
[all...]
/macosx-10.9.5/libpcap-42/libpcap/tests/
H A Dfiltertest.c172 struct bpf_program fcode; local
250 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0)
252 bpf_dump(&fcode, dflag);
H A Dnonblocktest.c60 struct bpf_program fcode; local
103 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0)
106 if (pcap_setfilter(pd, &fcode) < 0)
H A Dselpolltest.c61 struct bpf_program fcode; local
133 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0)
136 if (pcap_setfilter(pd, &fcode) < 0)
/macosx-10.9.5/file_cmds-230/compress/
H A Dzopen.c162 #define fcode zs->u.w.zs_fcode macro
276 for (fcode = (long)hsize; fcode < 65536L; fcode *= 2L)
286 fcode = (long)(((long)c << maxbits) + ent);
289 if (htabof(i) == fcode) {
300 if (htabof(i) == fcode) {
312 htabof(i) = fcode;
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/util/
H A Dgenerate_nameprep_data.pl248 my @fcode = map {hex($_)} split ' ', $from;
263 die "unrecognized line: $line" if @fcode != 1;
264 $map->add($fcode[0], $offset);
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/gif/
H A Dgif.c1499 register long fcode;
1535 for ( fcode = (long) state.hsize; fcode < 65536L; fcode *= 2L )
1552 fcode = (long) (((long) c << GIFBITS) + ent);
1555 if (state.htab[i] == fcode) {
1567 if (state.htab[i] == fcode) {
1583 state.htab[i] = fcode;
1492 register long fcode; local
/macosx-10.9.5/emacs-92/emacs/lisp/emacs-lisp/
H A Delint.el429 (let ((fcode (if (symbolp func)
434 (if (and (listp fcode) (eq (car fcode) 'macro))
508 (let ((fcode (indirect-function func)))
509 (if (subrp fcode)
512 (elint-find-args-in-code fcode)))
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_lzw.c828 register long fcode; local
870 fcode = ((long)c << BITS_MAX) + ent;
880 if (hp->hash == fcode) {
899 if (hp->hash == fcode) {
922 hp->hash = fcode;
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Dbpf.c1655 struct bpf_insn *fcode, *old; local
1680 fcode = (struct bpf_insn *) _MALLOC(size, M_DEVBUF, M_WAIT);
1682 if (fcode == NULL)
1685 if (copyin(bf_insns, (caddr_t)fcode, size) == 0 &&
1686 bpf_validate(fcode, (int)flen)) {
1687 d->bd_filter = fcode;
1697 FREE((caddr_t)fcode, M_DEVBUF);

Completed in 117 milliseconds

12