Lines Matching refs:code
7 * This code is derived from the Stanford/CMU enet packet filter,
8 * (net/enet.c) distributed as part of 4.3BSD, and code contributed
15 * 1. Redistributions of source code must retain the above copyright
89 * It has nothing to do with the source code version.
225 * for reference code to access these fields from userspace.
251 #define BPF_CLASS(code) ((code) & 0x07)
262 #define BPF_SIZE(code) ((code) & 0x18)
267 #define BPF_MODE(code) ((code) & 0xe0)
278 #define BPF_OP(code) ((code) & 0xf0)
312 #define BPF_SRC(code) ((code) & 0x08)
317 #define BPF_RVAL(code) ((code) & 0x18)
322 #define BPF_MISCOP(code) ((code) & 0xf8)
361 u_short code;
370 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
371 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }