Lines Matching defs: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
95 * It has nothing to do with the source code version.
348 #define BPF_CLASS(code) ((code) & 0x07)
359 #define BPF_SIZE(code) ((code) & 0x18)
363 #define BPF_MODE(code) ((code) & 0xe0)
372 #define BPF_OP(code) ((code) & 0xf0)
387 #define BPF_SRC(code) ((code) & 0x08)
392 #define BPF_RVAL(code) ((code) & 0x18)
396 #define BPF_MISCOP(code) ((code) & 0xf8)
404 u_short code;
413 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
414 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }