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
45 * the stuff needed for the code generator and the userland BPF
390 * except for FreeBSD; anybody who wants to compile, on FreeBSD, code
398 * capture files; code that doesn't, such as the code in Wireshark,
1218 #define BPF_CLASS(code) ((code) & 0x07)
1229 #define BPF_SIZE(code) ((code) & 0x18)
1233 #define BPF_MODE(code) ((code) & 0xe0)
1242 #define BPF_OP(code) ((code) & 0xf0)
1257 #define BPF_SRC(code) ((code) & 0x08)
1262 #define BPF_RVAL(code) ((code) & 0x18)
1266 #define BPF_MISCOP(code) ((code) & 0xf8)
1274 u_short code;
1283 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
1284 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }