Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/libpcap/msdos/
H A Dmakefile107 bpf_filt.obj: bpf_filt.c pcap-int.h pcap.h pcap-bpf.h gnuc.h
109 bpf_imag.obj: bpf_imag.c pcap-int.h pcap.h pcap-bpf.h
111 bpf_dump.obj: bpf_dump.c pcap.h pcap-bpf.h
117 savefile.obj: savefile.c pcap-int.h pcap.h pcap-bpf.h
119 pcap.obj: pcap.c pcap-dos.h pcap-int.h pcap.h pcap-bpf.h
138 pcap.h pcap-bpf.h msdos\pktdrvr.h msdos\pkt_stub.inc
147 bpf_imag.o32: bpf_imag.c pcap-int.h pcap.h pcap-bpf.h
149 bpf_dump.o32: bpf_dump.c pcap.h pcap-bpf.h
155 savefile.o32: savefile.c pcap-int.h pcap.h pcap-bpf.h
157 pcap.o32: pcap.c pcap-dos.h pcap-int.h pcap.h pcap-bpf.h
[all …]
H A Dmakefile.wc55 $(OBJDIR)\bpf_filter.obj: bpf\net\bpf_filter.c
56 *$(CC) $(CFLAGS) bpf\net\bpf_filter.c -fo=$@
97 $(OBJDIR)\bpf_filter.obj: bpf\net\bpf_filter.c pcap-int.h pcap.h pcap-bpf.h
99 $(OBJDIR)\bpf_imag.obj: bpf_imag.c pcap-int.h pcap.h pcap-bpf.h
101 $(OBJDIR)\bpf_dump.obj: bpf_dump.c pcap.h pcap-bpf.h
105 $(OBJDIR)\optimize.obj: optimize.c pcap-int.h pcap.h pcap-bpf.h gencode.h
107 $(OBJDIR)\savefile.obj: savefile.c pcap-int.h pcap.h pcap-bpf.h
109 $(OBJDIR)\pcap.obj: pcap.c pcap-dos.h pcap-int.h pcap.h pcap-bpf.h
111 $(OBJDIR)\grammar.obj: grammar.c pcap-int.h pcap.h pcap-bpf.h gencode.h &
114 $(OBJDIR)\scanner.obj: scanner.c pcap-int.h pcap.h pcap-bpf.h gencode.h &
[all …]
/freebsd-13.1/usr.sbin/wake/
H A Dwake.c65 static int wake(int bpf, const char *host);
76 wake(int bpf, const char *host) in wake() argument
83 return (send_wakeup(bpf, &macaddr)); in wake()
87 bind_if_to_bpf(char const *ifname, int bpf) in bind_if_to_bpf() argument
96 if (ioctl(bpf, BIOCSETIF, &ifr) == -1) in bind_if_to_bpf()
99 if (ioctl(bpf, BIOCGDLT, &dlt) == -1) in bind_if_to_bpf()
175 if ((bw = write(bpf, p, len)) == -1) { in send_wakeup()
188 int bpf, n, rval; in main() local
198 if (bind_if_to_bpf(argv[1], bpf) == -1) { in main()
201 if (bind_if_to_bpf(ifname, bpf) == -1) in main()
[all …]
/freebsd-13.1/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c184 FILE *bpf; in getthefile() local
199 bpf = fopen(bootpfile, "r"); in getthefile()
200 if ( ! bpf ) in getthefile()
230 if (fclose(bpf)) in getthefile()
234 if (fclose(bpf)) in getthefile()
241 pch = ch = getc(bpf); in getthefile()
272 ungetc(ch, bpf); ungetc('\\',bpf); /* push the character(s) back */ in getthefile()
291 FILE *bpf; in checkhost() local
302 if ( ! bpf ) in checkhost()
339 if (fclose(bpf)) in checkhost()
[all …]
/freebsd-13.1/contrib/ntp/ntpd/
H A Drefclock_irig.c527 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()
538 + up->bpf[2] * 4.401413e-002 in irig_rf()
[all …]
H A Drefclock_chu.c758 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()
768 + up->bpf[1] * 3.156599e-03 in chu_rf()
[all …]
H A Drefclock_wwv.c982 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()
1063 bpf[0] = isig - syncx; in wwv_rf()
[all …]
/freebsd-13.1/contrib/netbsd-tests/ipf/regress/
H A Dbpf11 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" }
H A Dbpf-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" }
/freebsd-13.1/contrib/netbsd-tests/ipf/expected/
H A Dbpf11 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" }
/freebsd-13.1/contrib/libpcap/
H A Dchmod_bpf18 chgrp admin /dev/bpf*
19 chmod g+rw /dev/bpf*
H A DREADME.md42 ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z
46 https://www.tcpdump.org/papers/bpf-usenix93.ps.Z
50 https://www.tcpdump.org/papers/bpf-usenix93.ps.gz
54 https://www.tcpdump.org/papers/bpf-usenix93.pdf
/freebsd-13.1/contrib/libpcap/ChmodBPF/
H A DChmodBPF22 chgrp admin /dev/bpf*
23 chmod g+rw /dev/bpf*
/freebsd-13.1/share/examples/jails/
H A Drc.conf.jails26 # add path 'bpf*' unhide
41 #jail_{name}_devfs_ruleset="11" # rule to unhide bpf for DHCP
54 #jail_{name}_devfs_ruleset="11" # rule to unhide bpf for DHCP
71 #jail_XXX_devfs_ruleset="11" # rule to unhide bpf for DHCP
/freebsd-13.1/lib/libpcap/
H A DMakefile20 pcap-bpf.c \
32 pcap-bpf.h \
39 pcap/bpf.h \
167 .PATH: ${PCAP_DISTDIR}/bpf/net
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsBPF.td14 let TargetPrefix = "bpf" in { // All intrinsics start with "llvm.bpf."
/freebsd-13.1/sbin/ipf/ipsend/
H A DMakefile66 bpf sunos4-bpf : target
91 bsd-bpf :
/freebsd-13.1/sys/arm/conf/
H A DIMX5340 # The `bpf' device enables the Berkeley Packet Filter.
42 # Note that 'bpf' is required for DHCP.
43 device bpf # Berkeley packet filter
H A DEFIKA_MX53 # The `bpf' device enables the Berkeley Packet Filter.
55 # Note that 'bpf' is required for DHCP.
56 device bpf # Berkeley packet filter
/freebsd-13.1/contrib/blacklist/etc/
H A Dnpf.conf5 set bpf.jit on;
/freebsd-13.1/libexec/rbootd/
H A DMakefile5 SRCS= bpf.c conf.c parseconf.c rbootd.c rmpproto.c utils.c
/freebsd-13.1/tools/tools/tinybsd/conf/wrap/
H A DTINYBSD112 # The `bpf' device enables the Berkeley Packet Filter.
114 # Note that 'bpf' is required for DHCP.
115 device bpf # Berkeley packet filter
/freebsd-13.1/tools/tools/tinybsd/conf/bridge/
H A DTINYBSD132 # The `bpf' device enables the Berkeley Packet Filter.
134 # Note that 'bpf' is required for DHCP.
135 device bpf # Berkeley packet filter
/freebsd-13.1/sys/amd64/conf/
H A DMINIMAL129 # The `bpf' device enables the Berkeley Packet Filter.
131 # Note that 'bpf' is required for DHCP.
132 device bpf # Berkeley packet filter
/freebsd-13.1/tools/tools/tinybsd/conf/vpn/
H A DTINYBSD135 # The `bpf' device enables the Berkeley Packet Filter.
137 # Note that 'bpf' is required for DHCP.
138 device bpf # Berkeley packet filter

12345