/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 113 etherent.obj: etherent.c pcap-int.h pcap.h pcap-bpf.h pcap-namedb.h 115 optimize.obj: optimize.c pcap-int.h pcap.h pcap-bpf.h gencode.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 121 grammar.obj: grammar.c pcap-int.h pcap.h pcap-bpf.h gencode.h \ 124 scanner.obj: scanner.c pcap-int.h pcap.h pcap-bpf.h gencode.h \ 127 gencode.obj: gencode.c pcap-dos.h pcap-int.h pcap.h pcap-bpf.h \ [all …]
|
H A D | makefile.wc | 97 $(OBJDIR)\bpf_filter.obj: 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 103 $(OBJDIR)\etherent.obj: etherent.c pcap-int.h pcap.h pcap-bpf.h pcap-namedb.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 & 117 $(OBJDIR)\gencode.obj: gencode.c pcap-dos.h pcap-int.h pcap.h pcap-bpf.h & [all …]
|
/freebsd/usr.sbin/wake/ |
H A D | wake.c | 58 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 …]
|
/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() 202 while ( fscanf(bpf, "%255s", hostname) > 0 && !match ) { in getthefile() 228 if (fclose(bpf)) in getthefile() 232 if (fclose(bpf)) in getthefile() 239 pch = ch = getc(bpf); in getthefile() 241 pch = ch; ch = getc(bpf); in getthefile() 252 while ( ! res && (fscanf(bpf, REXPAND(INFOLEN), info)) > 0) { in getthefile() 253 ch = getc(bpf); /* and a character */ in getthefile() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_irig.c | 237 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[ in irig_rf() [all...] |
H A D | refclock_chu.c | 383 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 …]
|
H A D | refclock_wwv.c | 933 static double bpf[9]; /* 1000/1200-Hz bpf delay line */ in wwv_rf() local 934 double syncx; /* bpf output */ in wwv_rf() 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[ 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
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPassRegistry.def | 19 FUNCTION_PASS("bpf-aspace-simplify", BPFASpaceCastSimplifyPass()) 20 FUNCTION_PASS("bpf-ir-peephole", BPFIRPeepholePass()) 27 "bpf-preserve-static-offset", "BPFPreserveStaticOffsetPass",
|
/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/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/lib/libpcap/ |
H A D | Makefile | 19 pcap-bpf.c \ 31 INCS= pcap-bpf.h \ 38 pcap/bpf.h \ 167 .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 | 2 SRCS= bpf.c conf.c parseconf.c rbootd.c rmpproto.c utils.c
|
/freebsd/sys/modules/netgraph/ |
H A D | Makefile | 8 bpf \
|
/freebsd/sbin/dhclient/ |
H A D | Makefile | 37 SRCS= dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \
|