Searched refs:BPF_STMT (Results 1 – 7 of 7) sorted by relevance
/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/kernel-headers/original/linux/ |
D | filter.h | 102 #ifndef BPF_STMT 103 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } macro
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 210 BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 12), /* ethernet type */ in initFilter() 213 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 0), /* first word of dest. addr */ in initFilter() 216 BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 4), /* next 1/2 word of dest. */ in initFilter() 219 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 0), /* first word of dest. addr */ in initFilter() 222 BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 4), /* next 1/2 word of dest. */ in initFilter() 225 BPF_STMT(BPF_RET+BPF_K, (u_int) -1), /* keep packet */ in initFilter() 226 BPF_STMT(BPF_RET+BPF_K, 0), /* drop packet */ in initFilter()
|
/external/ping/ |
D | ping.c | 1250 BPF_STMT(BPF_LDX|BPF_B|BPF_MSH, 0), /* Skip IP header. F..g BSD... Look into ping6. */ in install_filter() 1251 BPF_STMT(BPF_LD|BPF_H|BPF_IND, 4), /* Load icmp echo ident */ in install_filter() 1253 BPF_STMT(BPF_RET|BPF_K, ~0U), /* Yes, it passes. */ in install_filter() 1254 BPF_STMT(BPF_LD|BPF_B|BPF_IND, 0), /* Load icmp type */ in install_filter() 1256 BPF_STMT(BPF_RET|BPF_K, 0xFFFFFFF), /* No. It passes. */ in install_filter() 1257 BPF_STMT(BPF_RET|BPF_K, 0) /* Echo with wrong ident. Reject. */ in install_filter()
|
/external/libpcap/ |
D | pcap-bpf.h | 814 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k } macro
|
D | pcap-linux.c | 221 = BPF_STMT(BPF_RET | BPF_K, 0);
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 6523 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 2), 6525 BPF_STMT(BPF_MISC| BPF_TAX, 0), 6527 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 3), 6529 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8), 6531 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0), 6533 BPF_STMT(BPF_MISC| BPF_TAX, 0), 6540 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 6542 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF), 6555 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 0), 6557 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03), [all …]
|