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

12

/macosx-10.10.1/libpcap-48/libpcap/
H A Dsavefile.c175 pcap_freecode(&p->fcode);
400 /* Padding only needed for live capture fcode */
463 struct bpf_insn *fcode; local
495 if ((fcode = p->fcode.bf_insns) == NULL ||
496 bpf_filter(fcode, data, h.len, h.caplen)) {
514 struct bpf_insn *fcode; local
554 if ((fcode = p->fcode.bf_insns) == NULL ||
556 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.c142 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) {
H A Dpcap-dbus.c93 if (handle->fcode.bf_insns == NULL ||
94 bpf_filter(handle->fcode.bf_insns, (u_char *)raw_msg, pkth.len, pkth.caplen)) {
H A Dpcap-snf.c152 if ((p->fcode.bf_insns == NULL) ||
153 bpf_filter(p->fcode.bf_insns, req.pkt_addr, req.length, caplen)) {
H A Dpcap-bt-linux.c363 if (handle->fcode.bf_insns == NULL ||
364 bpf_filter(handle->fcode.bf_insns, &handle->buffer[handle->offset],
H A Dpcap-snoop.c132 if (p->fcode.bf_insns == NULL ||
133 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) {
H A Dpcap-linux.c394 static int fix_program(pcap_t *handle, struct sock_fprog *fcode,
397 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode);
1707 if (handlep->filter_in_userland && handle->fcode.bf_insns) {
1708 if (bpf_filter(handle->fcode.bf_insns, bp,
2366 struct sock_fprog fcode; local
2397 if (handle->fcode.bf_len > USHRT_MAX) {
2399 * fcode.len is an unsigned short for current kernel.
2405 fcode.len = 0;
2406 fcode.filter = NULL;
2424 switch (fix_program(handle, &fcode, is_mmappe
5836 fix_program(pcap_t *handle, struct sock_fprog *fcode, int is_mmapped) argument
5974 set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode) argument
[all...]
H A Dpcap-usb-linux.c652 if (handle->fcode.bf_insns == NULL ||
653 bpf_filter(handle->fcode.bf_insns, handle->buffer,
821 if (handle->fcode.bf_insns == NULL ||
822 bpf_filter(handle->fcode.bf_insns, handle->buffer,
902 if (handle->fcode.bf_insns == NULL ||
903 bpf_filter(handle->fcode.bf_insns, (u_char*) hdr,
H A Ddlpisubs.c183 if (bpf_filter(p->fcode.bf_insns, pk, origlen, caplen)) {
H A Dpcap-dos.c277 (!p->fcode.bf_insns || bpf_filter(p->fcode.bf_insns, rx_buf, pcap.len, pcap.caplen)))
420 p->fcode = *fp;
1000 pcap_save.fcode.bf_insns = NULL;
H A Dpcap-int.h192 struct bpf_program fcode; member in struct:pcap
H A Dpcap-nit.c186 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) {
/macosx-10.10.1/ppp-786.1.1/Helpers/pppdump/
H A Dbsd-comp.c126 u_int32_t fcode; member in union:bsd_db::bsd_dict::__anon11747
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.10.1/libpcap-48/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.10.1/file_cmds-242/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.10.1/bind9-45.101/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.10.1/apache-793/httpd/modules/filters/
H A Dlibsed.h131 apr_file_t *fcode[NWFILES]; member in struct:sed_eval_s
H A Dsed1.c302 if (apr_file_open(&eval->fcode[i], filename,
322 if (eval->fcode[i] != NULL) {
323 apr_file_close(eval->fcode[i]);
324 eval->fcode[i] = NULL;
935 if (i && (ipc->findex >= 0) && eval->fcode[ipc->findex])
936 apr_file_printf(eval->fcode[ipc->findex], "%s\n",
948 apr_file_printf(eval->fcode[ipc->findex], "%s\n",
/macosx-10.10.1/tcl-105/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.10.1/emacs-93/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.10.1/tcl-105/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.10.1/xnu-2782.1.97/bsd/net/
H A Dbpf.c1751 struct bpf_insn *fcode, *old; local
1776 fcode = (struct bpf_insn *) _MALLOC(size, M_DEVBUF, M_WAIT);
1778 if (fcode == NULL)
1781 if (copyin(bf_insns, (caddr_t)fcode, size) == 0 &&
1782 bpf_validate(fcode, (int)flen)) {
1783 d->bd_filter = fcode;
1793 FREE((caddr_t)fcode, M_DEVBUF);

Completed in 320 milliseconds

12