Home | History | Annotate | Download | only in pcap

Lines Matching refs:code

5  * This code is derived from the Stanford/CMU enet packet filter,
6 * (net/enet.c) distributed as part of 4.3BSD, and code contributed
13 * 1. Redistributions of source code must retain the above copyright
43 * the stuff needed for the code generator and the userland BPF
49 * At least two programs found by Google Code Search explicitly includes
129 #define BPF_CLASS(code) ((code) & 0x07)
140 #define BPF_SIZE(code) ((code) & 0x18)
145 #define BPF_MODE(code) ((code) & 0xe0)
156 #define BPF_OP(code) ((code) & 0xf0)
190 #define BPF_SRC(code) ((code) & 0x08)
195 #define BPF_RVAL(code) ((code) & 0x18)
200 #define BPF_MISCOP(code) ((code) & 0xf8)
239 u_short code;
258 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
259 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }