Home
last modified time | relevance | path

Searched refs:bpf (Results 1 – 25 of 135) sorted by relevance

123456

/NextBSD/usr.sbin/wake/
HDwake.c58 static int bind_if_to_bpf(char const *ifname, int bpf);
61 static int send_wakeup(int bpf, struct ether_addr const *addr);
63 static int wake(int bpf, const char *host);
74 wake(int bpf, const char *host) in wake() argument
81 return (send_wakeup(bpf, &macaddr)); in wake()
85 bind_if_to_bpf(char const *ifname, int bpf) in bind_if_to_bpf() argument
94 if (ioctl(bpf, BIOCSETIF, &ifr) == -1) in bind_if_to_bpf()
97 if (ioctl(bpf, BIOCGDLT, &dlt) == -1) in bind_if_to_bpf()
152 send_wakeup(int bpf, struct ether_addr const *addr) in send_wakeup() argument
173 if ((bw = write(bpf, p, len)) == -1) { in send_wakeup()
[all …]
/NextBSD/usr.sbin/bootparamd/bootparamd/
HDbootparamd.c192 FILE *bpf; local
204 bpf = fopen(bootpfile, "r");
205 if ( ! bpf )
209 while ( fscanf(bpf, "%255s", hostname) > 0 && !match ) {
235 if (fclose(bpf))
244 pch = ch = getc(bpf);
246 pch = ch; ch = getc(bpf);
255 while ( ! res && (fscanf(bpf,"%s", info)) > 0) { /* read a string */
256 ch = getc(bpf); /* and a character */
265 while (isspace(ch) && ch != '\n') ch = getc(bpf);
[all …]
/NextBSD/contrib/ntp/ntpd/
HDrefclock_irig.c237 double bpf[9]; /* IRIG-B filter shift register */ member
527 irig_b = (up->bpf[8] = up->bpf[7]) * 6.505491e-001; in irig_rf()
528 irig_b += (up->bpf[7] = up->bpf[6]) * -3.875180e+000; in irig_rf()
529 irig_b += (up->bpf[6] = up->bpf[5]) * 1.151180e+001; in irig_rf()
530 irig_b += (up->bpf[5] = up->bpf[4]) * -2.141264e+001; in irig_rf()
531 irig_b += (up->bpf[4] = up->bpf[3]) * 2.712837e+001; in irig_rf()
532 irig_b += (up->bpf[3] = up->bpf[2]) * -2.384486e+001; in irig_rf()
533 irig_b += (up->bpf[2] = up->bpf[1]) * 1.427663e+001; in irig_rf()
534 irig_b += (up->bpf[1] = up->bpf[0]) * -5.352734e+000; in irig_rf()
535 up->bpf[0] = sample - irig_b; in irig_rf()
[all …]
HDrefclock_chu.c383 double bpf[9]; /* IIR bandpass filter */ member
758 signal = (up->bpf[8] = up->bpf[7]) * 5.844676e-01; in chu_rf()
759 signal += (up->bpf[7] = up->bpf[6]) * 4.884860e-01; in chu_rf()
760 signal += (up->bpf[6] = up->bpf[5]) * 2.704384e+00; in chu_rf()
761 signal += (up->bpf[5] = up->bpf[4]) * 1.645032e+00; in chu_rf()
762 signal += (up->bpf[4] = up->bpf[3]) * 4.644557e+00; in chu_rf()
763 signal += (up->bpf[3] = up->bpf[2]) * 1.879165e+00; in chu_rf()
764 signal += (up->bpf[2] = up->bpf[1]) * 3.522634e+00; in chu_rf()
765 signal += (up->bpf[1] = up->bpf[0]) * 7.315738e-01; in chu_rf()
766 up->bpf[0] = sample - signal; in chu_rf()
[all …]
HDrefclock_wwv.c933 static double bpf[9]; /* 1000/1200-Hz bpf delay line */ in wwv_rf() local
982 memset((char *)bpf, 0, sizeof(bpf)); in wwv_rf()
1055 syncx = (bpf[8] = bpf[7]) * 4.897278e-01; in wwv_rf()
1056 syncx += (bpf[7] = bpf[6]) * -2.765914e+00; in wwv_rf()
1057 syncx += (bpf[6] = bpf[5]) * 8.110921e+00; in wwv_rf()
1058 syncx += (bpf[5] = bpf[4]) * -1.517732e+01; in wwv_rf()
1059 syncx += (bpf[4] = bpf[3]) * 1.975197e+01; in wwv_rf()
1060 syncx += (bpf[3] = bpf[2]) * -1.814365e+01; in wwv_rf()
1061 syncx += (bpf[2] = bpf[1]) * 1.159783e+01; in wwv_rf()
1062 syncx += (bpf[1] = bpf[0]) * -4.735040e+00; in wwv_rf()
[all …]
/NextBSD/contrib/netbsd-tests/ipf/regress/
HDbpf11 pass in bpf-v4 { "0x20 0 0 0xc 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
2 pass out bpf-v4 { "src host 1.1.1.1" }
3 pass in bpf-v4 { "0x20 0 0 0x10 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
4 pass out bpf-v4 { "dst host 1.1.1.1" }
HDbpf-f11 pass in bpf-v4 { "0x20 0 0 0xc 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
2 pass out bpf-v4 { "0x20 0 0 0xc 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
3 pass in bpf-v4 { "0x20 0 0 0x10 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
4 pass out bpf-v4 { "0x20 0 0 0x10 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
/NextBSD/contrib/netbsd-tests/ipf/expected/
HDbpf11 pass in bpf-v4 { "0x20 0 0 0xc 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
2 pass out bpf-v4 { "0 0 0 0 0x20 0 0 0xc 0x15 0 0x1 0x1010101 0x6 0 0 0x1 0x6 0 0 0" }
3 pass in bpf-v4 { "0x20 0 0 0x10 0x15 0 0x1 0x1010101 0x6 0 0 0x60 0x6 0 0 0" }
4 pass out bpf-v4 { "0 0 0 0 0x20 0 0 0x10 0x15 0 0x1 0x1010101 0x6 0 0 0x1 0x6 0 0 0" }
/NextBSD/contrib/expat/
HDMANIFEST17 bcb5/elements.bpf
20 bcb5/expat.bpf
23 bcb5/expat_static.bpf
26 bcb5/expatw.bpf
29 bcb5/expatw_static.bpf
35 bcb5/outline.bpf
39 bcb5/xmlwf.bpf
/NextBSD/contrib/ipfilter/ipsd/
HDMakefile34 bpf sunos4-bpf : target
46 bsd-bpf :
/NextBSD/lib/libpcap/
HDMakefile9 SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \
16 INCS= pcap.h pcap-int.h pcap-namedb.h pcap-bpf.h
18 PCAPINCS= pcap/pcap.h pcap/namedb.h pcap/bpf.h
119 .PATH: ${PCAP_DISTDIR}/bpf/net
/NextBSD/contrib/libpcap/
HDchmod_bpf18 chgrp admin /dev/bpf*
19 chmod g+rw /dev/bpf*
HDREADME9 git clone git://bpf.tcpdump.org/libpcap
42 ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z
46 http://www.tcpdump.org/papers/bpf-usenix93.ps.Z
50 http://www.tcpdump.org/papers/bpf-usenix93.ps.gz
54 http://www.tcpdump.org/papers/bpf-usenix93.pdf
HDINSTALL.txt23 installed bpf under SunOS 4 and wish to build a snit libpcap:
58 out of the box OSF and BSD/OS have bpf. If your system does not support
59 bpf, you will need to pick up:
61 ftp://ftp.ee.lbl.gov/bpf-*.tar.Z
64 order to install bpf. An exception is SunOS 4; the bpf distribution
66 network device drivers. See the bpf INSTALL document for more
115 Once you enable packet filter support, your OSF system will support bpf
291 on /dev/bpf*
312 bpf/net - copy of bpf_filter.c
314 bpf_filter.c - symlink to bpf/net/bpf_filter.c
[all …]
/NextBSD/sys/mips/conf/
HDGXEMUL3257 # The `bpf' device enables the Berkeley Packet Filter.
59 # Note that 'bpf' is required for DHCP.
60 device bpf # Berkeley packet filter
HDGXEMUL59 # The `bpf' device enables the Berkeley Packet Filter.
61 # Note that 'bpf' is required for DHCP.
62 device bpf # Berkeley packet filter
/NextBSD/sys/net/
HDif_fddisubr.c478 fddi_ifattach(ifp, lla, bpf) in fddi_ifattach() argument
481 int bpf;
509 if (bpf)
516 fddi_ifdetach(ifp, bpf) in fddi_ifdetach() argument
518 int bpf;
521 if (bpf)
HDif_iso88025subr.c92 iso88025_ifattach(struct ifnet *ifp, const u_int8_t *lla, int bpf) in iso88025_ifattach() argument
123 if (bpf) in iso88025_ifattach()
133 iso88025_ifdetach(ifp, bpf) in iso88025_ifdetach() argument
135 int bpf;
138 if (bpf)
/NextBSD/contrib/llvm/include/llvm/IR/
HDIntrinsicsBPF.td15 let TargetPrefix = "bpf" in { // All intrinsics start with "llvm.bpf."
/NextBSD/sys/i386/conf/
HDXBOX69 # The `bpf' device enables the Berkeley Packet Filter.
71 # Note that 'bpf' is required for DHCP.
72 device bpf # Berkeley packet filter
/NextBSD/sys/arm/conf/
HDAML872688 # The `bpf' device enables the Berkeley Packet Filter.
90 # Note that 'bpf' is required for DHCP.
91 device bpf # Berkeley packet filter
HDBWCT85 # The `bpf' device enables the Berkeley Packet Filter.
87 # Note that 'bpf' is required for DHCP.
88 device bpf # Berkeley packet filter
HDEB920078 # The `bpf' device enables the Berkeley Packet Filter.
80 # Note that 'bpf' is required for DHCP.
81 device bpf # Berkeley packet filter
HDEFIKA_MX72 # The `bpf' device enables the Berkeley Packet Filter.
74 # Note that 'bpf' is required for DHCP.
75 device bpf # Berkeley packet filter
/NextBSD/contrib/ipfilter/ipsend/
HDMakefile66 bpf sunos4-bpf : target
91 bsd-bpf :

123456