/external/dhcpcd/ |
D | bpf-filter.h | 36 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 12), 40 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK), 43 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK), 46 BPF_STMT(BPF_RET + BPF_K, BPF_WHOLEPACKET), 48 BPF_STMT(BPF_RET + BPF_K, 0), 81 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 12), 85 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, 23 + BPF_ETHCOOK), 88 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK), 91 BPF_STMT(BPF_LDX + BPF_B + BPF_MSH, 14 + BPF_ETHCOOK), 93 BPF_STMT(BPF_LD + BPF_H + BPF_IND, 16 + BPF_ETHCOOK), [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_monitor.c | 180 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 2), 182 BPF_STMT(BPF_MISC| BPF_TAX, 0), 184 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 3), 186 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8), 188 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0), 190 BPF_STMT(BPF_MISC| BPF_TAX, 0), 197 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 199 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF), 212 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 0), 214 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03), [all …]
|
/external/strace/tests/ |
D | seccomp.c | 27 && defined BPF_STMT 31 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ALLOW) 35 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ERRNO | (SECCOMP_RET_DATA & (err))) 38 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL) 52 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, offsetof(struct seccomp_data, nr)),
|
/external/openssh/ |
D | sandbox-seccomp-filter.c | 78 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO|(_errno)) 81 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW) 86 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 89 BPF_STMT(BPF_RET+BPF_K, SECCOMP_FILTER_FAIL), 91 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 132 BPF_STMT(BPF_RET+BPF_K, SECCOMP_FILTER_FAIL),
|
/external/kernel-headers/original/uapi/linux/ |
D | filter.h | 47 #ifndef BPF_STMT 48 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } macro
|
/external/android-clat/ |
D | clatd.c | 93 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 24), in configure_packet_socket() 95 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 28), in configure_packet_socket() 97 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 32), in configure_packet_socket() 99 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 36), in configure_packet_socket() 101 BPF_STMT(BPF_RET | BPF_K, PACKETLEN), in configure_packet_socket() 102 BPF_STMT(BPF_RET | BPF_K, 0) in configure_packet_socket()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 294 BPF_STMT(BPF_LD | BPF_H | BPF_ABS, 2 * ETH_ALEN), in l2_packet_init_bridge() 298 BPF_STMT(BPF_RET | BPF_K, ~0), in l2_packet_init_bridge() 300 BPF_STMT(BPF_RET | BPF_K, 0) in l2_packet_init_bridge()
|
/external/iputils/ |
D | ping.c | 1376 BPF_STMT(BPF_LDX|BPF_B|BPF_MSH, 0), /* Skip IP header. F..g BSD... Look into ping6. */ in install_filter() 1377 BPF_STMT(BPF_LD|BPF_H|BPF_IND, 4), /* Load icmp echo ident */ in install_filter() 1379 BPF_STMT(BPF_RET|BPF_K, ~0U), /* Yes, it passes. */ in install_filter() 1380 BPF_STMT(BPF_LD|BPF_B|BPF_IND, 0), /* Load icmp type */ in install_filter() 1382 BPF_STMT(BPF_RET|BPF_K, 0xFFFFFFF), /* No. It passes. */ in install_filter() 1383 BPF_STMT(BPF_RET|BPF_K, 0) /* Echo with wrong ident. Reject. */ in install_filter()
|
D | rarpd.c | 334 BPF_STMT(BPF_LD|BPF_H|BPF_ABS, 6), in load_arp_bpflet() 336 BPF_STMT(BPF_RET|BPF_K, 1024), in load_arp_bpflet() 337 BPF_STMT(BPF_RET|BPF_K, 0), in load_arp_bpflet()
|
D | ping6.c | 1780 BPF_STMT(BPF_LD|BPF_H|BPF_ABS, 4), /* Load icmp echo ident */ in install_filter() 1782 BPF_STMT(BPF_RET|BPF_K, ~0U), /* Yes, it passes. */ in install_filter() 1783 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 0), /* Load icmp type */ in install_filter() 1785 BPF_STMT(BPF_RET|BPF_K, ~0U), /* No. It passes. This must not happen. */ in install_filter() 1786 BPF_STMT(BPF_RET|BPF_K, 0), /* Echo with wrong ident. Reject. */ in install_filter()
|
/external/toybox/toys/pending/ |
D | dhcp.c | 243 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 9), 245 BPF_STMT(BPF_LD|BPF_H|BPF_ABS, 6), 247 BPF_STMT(BPF_LDX|BPF_B|BPF_MSH, 0), BPF_STMT(BPF_LD|BPF_H|BPF_IND, 2), 249 BPF_STMT(BPF_RET|BPF_K, 0xffffffff), BPF_STMT(BPF_RET|BPF_K, 0),
|
/external/libpcap/pcap/ |
D | bpf.h | 1318 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k } macro
|
/external/libpcap/ |
D | pcap-linux.c | 401 = BPF_STMT(BPF_RET | BPF_K, 0);
|