/netbsd/usr.bin/rump_dhcpclient/ |
H A D | bpf-filter.h | 37 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_ARP, 0, 3), 41 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPOP_REQUEST, 2, 0), 44 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPOP_REPLY, 0, 1), 82 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 0, 8), 86 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 6), 89 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, 0x1fff, 4, 0), 94 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, DHCP_CLIENT_PORT, 0, 1),
|
/netbsd/tests/net/bpfjit/ |
H A D | t_bpfjit.c | 1744 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 7, 0, 1), in ATF_TC_BODY() 1746 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 2, 2, 0), in ATF_TC_BODY() 1747 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 9, 0, 0), in ATF_TC_BODY() 1749 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 4, 1, 1), in ATF_TC_BODY() 1751 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 6, 2, 3), in ATF_TC_BODY() 1755 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 5, 3, 1), in ATF_TC_BODY() 1757 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 0, 0, 0), in ATF_TC_BODY() 1801 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, 8, 0, 1), in ATF_TC_BODY() 1803 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, 3, 2, 0), in ATF_TC_BODY() 1804 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, 9, 0, 0), in ATF_TC_BODY() [all …]
|
/netbsd/tests/lib/libbpfjit/ |
H A D | t_bpfjit.c | 1980 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 7, 0, 1), in ATF_TC_BODY() 1982 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 2, 2, 0), in ATF_TC_BODY() 1983 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 9, 0, 0), in ATF_TC_BODY() 1985 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 4, 1, 1), in ATF_TC_BODY() 1987 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 6, 2, 3), in ATF_TC_BODY() 1991 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 5, 3, 1), in ATF_TC_BODY() 1993 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, 0, 0, 0), in ATF_TC_BODY() 2031 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, 8, 0, 1), in ATF_TC_BODY() 2033 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, 3, 2, 0), in ATF_TC_BODY() 2034 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, 9, 0, 0), in ATF_TC_BODY() [all …]
|
/netbsd/external/bsd/dhcpcd/dist/src/ |
H A D | bpf.c | 442 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_ARP, 1, 0), 450 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPHRD_ETHER, 1, 0), 455 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 464 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 1, 0), 468 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPOP_REQUEST, 2, 0), 470 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPOP_REPLY, 1, 0), 578 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 1, 0), 590 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x40, 1, 0), 595 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 1, 0), 600 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, 0x1fff, 0, 1), [all …]
|
/netbsd/usr.sbin/npf/npfctl/ |
H A D | npf_bpf_comp.c | 418 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ver, jt, jf), in fetch_l3() 486 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, proto, 0, JUMP_MAGIC), in npfctl_bpf_proto() 568 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, word, 0, JUMP_MAGIC), in npfctl_bpf_cidr() 617 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, from, 0, JUMP_MAGIC), in npfctl_bpf_ports() 623 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, from, 0, 1), in npfctl_bpf_ports() 624 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, to, 0, 1), in npfctl_bpf_ports() 661 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, IPPROTO_TCP, 0, jf), in npfctl_bpf_tcpfl() 682 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, tf, 0, JUMP_MAGIC), in npfctl_bpf_tcpfl() 711 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, type, 0, JUMP_MAGIC), in npfctl_bpf_icmp() 722 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, code, 0, JUMP_MAGIC), in npfctl_bpf_icmp() [all …]
|
/netbsd/external/mpl/dhcp/dist/common/ |
H A D | bpf.c | 183 BPF_JUMP (BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 0, 8), 187 BPF_JUMP (BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 6), 191 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, 0x1fff, 4, 0), 198 BPF_JUMP (BPF_JMP + BPF_JEQ + BPF_K, 67, 0, 1), /* patch */ 214 BPF_JUMP (BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 0, 10), 218 BPF_JUMP (BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 8), 222 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, 0x1fff, 6, 0), 229 BPF_JUMP (BPF_JMP + BPF_JEQ + BPF_K, 67, 2, 0), /* patch */ 233 BPF_JUMP (BPF_JMP + BPF_JEQ + BPF_K, 67, 0, 1), /* patch */
|
/netbsd/external/bsd/wpa/dist/src/drivers/ |
H A D | driver_nl80211_monitor.c | 201 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0, PASS, 0), 217 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0801, PASS, 0), 228 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 8, 0, FAIL), 235 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 3, PASS, 0), 258 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_X, 0, PASS, 0), 264 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0xAAAA0300, 0, FAIL), 266 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0000888E, PASS, FAIL),
|
/netbsd/usr.sbin/ndbootd/config/ |
H A D | ndbootd-bpf.c | 79 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 0, 9), 83 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_ND, 0, 7), 87 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, 0x3fff, 5, 0), 94 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, sizeof(struct ndboot_packet), 0, 1),
|
/netbsd/dist/pf/usr.sbin/ftp-proxy/ |
H A D | npf.c | 109 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 4, 0, 10), 112 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, IPPROTO_TCP, 0, 8), 115 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0xDEADBEEF, 0, 6), 118 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0xDEADBEEF, 0, 4), 122 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0xDEADBEEF, 0, 1),
|
/netbsd/usr.sbin/mopd/common/ |
H A D | pf.c | 82 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x4711, 4, 0), in pfInit() 84 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x4711, 0, 3), in pfInit() 86 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0xaaaa, 0, 1), in pfInit()
|
/netbsd/tests/net/bpfilter/ |
H A D | t_bpfilter.c | 82 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ICMP_ECHOREPLY, 1, 0), 90 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, BMAGIC, 1, 0), 94 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, HMAGIC, 1, 0), 98 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, WMAGIC, 1, 0),
|
/netbsd/external/bsd/libpcap/dist/pcap/ |
H A D | bpf.h | 247 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k } macro
|
/netbsd/external/bsd/ipf/bin/ipftest/ |
H A D | bpf-ipf.h | 416 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k } macro
|
/netbsd/usr.sbin/rarpd/ |
H A D | rarpd.c | 304 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, ETHERTYPE_REVARP, 0, 3), in rarp_open() 306 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, ARPOP_REVREQUEST, 0, 1), in rarp_open()
|
/netbsd/sys/net/ |
H A D | bpf.h | 352 #define BPF_JUMP(code, k, jt, jf) { (uint16_t)(code), jt, jf, k } macro
|
/netbsd/external/bsd/wpa/dist/src/l2_packet/ |
H A D | l2_packet_linux.c | 348 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, protocol, 0, 1), in l2_packet_init_bridge()
|