/freebsd/contrib/libpcap/msdos/ |
H A D | makefile | 107 bpf_filt.obj: bpf_filt.c pcap-int.h pcap.h pcap-bpf.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 145 bpf_filt.o32: bpf_filt.c pcap-int.h pcap.h pcap-bpf.h 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 [all …]
|
H A D | makefile.wc | 55 $(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 …]
|
H A D | makefile.dj | 12 VPATH = missing msdos bpf/net 25 SOURCES = grammar.c scanner.c bpf/net/bpf_filter.c bpf_image.c bpf_dump.c \
|
/freebsd/usr.sbin/wake/ |
H A D | wake.c | 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() 173 if ((bw = write(bpf, p, len)) == -1) { in send_wakeup() 186 int bpf, n, rval; in main() local 196 if (bind_if_to_bpf(argv[1], bpf) == -1) { in main() 199 if (bind_if_to_bpf(ifname, bpf) == -1) in main() [all …]
|
/freebsd/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 182 FILE *bpf; in getthefile() local 197 bpf = fopen(bootpfile, "r"); in getthefile() 198 if ( ! bpf ) in getthefile() 228 if (fclose(bpf)) in getthefile() 232 if (fclose(bpf)) in getthefile() 239 pch = ch = getc(bpf); in getthefile() 270 ungetc(ch, bpf); ungetc('\\',bpf); /* push the character(s) back */ in getthefile() 289 FILE *bpf; in checkhost() local 300 if ( ! bpf ) in checkhost() 337 if (fclose(bpf)) in checkhost() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_irig.c | 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() 538 + up->bpf[2] * 4.401413e-002 in irig_rf() [all …]
|
H A D | refclock_chu.c | 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() 768 + up->bpf[1] * 3.156599e-03 in chu_rf() [all …]
|
H A D | refclock_wwv.c | 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() 1063 bpf[0] = isig - syncx; in wwv_rf() [all …]
|
/freebsd/contrib/netbsd-tests/ipf/regress/ |
H A D | bpf1 | 1 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 D | bpf-f1 | 1 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/contrib/libpcap/testprogs/fuzz/ |
H A D | fuzz_filter.c | 13 struct bpf_program bpf; in LLVMFuzzerTestOneInput() local 32 if (pcap_compile(pkts, &bpf, filter, 1, PCAP_NETMASK_UNKNOWN) == 0) { in LLVMFuzzerTestOneInput() 33 pcap_setfilter(pkts, &bpf); in LLVMFuzzerTestOneInput() 35 pcap_freecode(&bpf); in LLVMFuzzerTestOneInput()
|
H A D | fuzz_both.c | 47 struct bpf_program bpf; in LLVMFuzzerTestOneInput() local 83 if (pcap_compile(pkts, &bpf, filter, 1, PCAP_NETMASK_UNKNOWN) == 0) { in LLVMFuzzerTestOneInput() 88 …ket length=%d/%d filter=%d\n",header->caplen, header->len, pcap_offline_filter(&bpf, header, pkt)); in LLVMFuzzerTestOneInput() 93 pcap_freecode(&bpf); in LLVMFuzzerTestOneInput()
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | bpf1 | 1 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/sys/arm64/conf/ |
H A D | std.al | 21 # The `bpf' device enables the Berkeley Packet Filter. 23 # Note that 'bpf' is required for DHCP. 24 device bpf # Berkeley packet filter
|
H A D | std.dev | 86 # The `bpf' device enables the Berkeley Packet Filter. 88 # Note that 'bpf' is required for DHCP. 89 device bpf # Berkeley packet filter
|
/freebsd/contrib/libpcap/ |
H A D | chmod_bpf | 18 chgrp admin /dev/bpf* 19 chmod g+rw /dev/bpf*
|
H A D | README.md | 42 ([compressed PostScript](https://www.tcpdump.org/papers/bpf-usenix93.ps.Z), 43 [gzipped PostScript](https://www.tcpdump.org/papers/bpf-usenix93.ps.gz), 44 [PDF](https://www.tcpdump.org/papers/bpf-usenix93.pdf)).
|
/freebsd/contrib/libpcap/ChmodBPF/ |
H A D | ChmodBPF | 22 chgrp admin /dev/bpf* 23 chmod g+rw /dev/bpf*
|
/freebsd/share/examples/jails/ |
H A D | rc.conf.jails | 25 # add path 'bpf*' unhide 40 #jail_{name}_devfs_ruleset="11" # rule to unhide bpf for DHCP 53 #jail_{name}_devfs_ruleset="11" # rule to unhide bpf for DHCP 70 #jail_XXX_devfs_ruleset="11" # rule to unhide bpf for DHCP
|
/freebsd/lib/libpcap/ |
H A D | Makefile | 19 pcap-bpf.c \ 32 INCS= pcap-bpf.h \ 39 pcap/bpf.h \ 168 .PATH: ${PCAP_DISTDIR}/bpf/net
|
/freebsd/sbin/ipf/ipsend/ |
H A D | Makefile | 66 bpf sunos4-bpf : target 91 bsd-bpf :
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsBPF.td | 14 let TargetPrefix = "bpf" in { // All intrinsics start with "llvm.bpf."
|
/freebsd/contrib/blocklist/etc/ |
H A D | npf.conf | 5 set bpf.jit on;
|
/freebsd/libexec/rbootd/ |
H A D | Makefile | 3 SRCS= bpf.c conf.c parseconf.c rbootd.c rmpproto.c utils.c
|
/freebsd/sys/modules/netgraph/ |
H A D | Makefile | 8 bpf \
|