Lines Matching refs:BPF_K
106 insn[i] = __BPF_STMT(BPF_RET | BPF_K, k); in bpf_fill_maxinsns1()
125 insn[i] = __BPF_STMT(BPF_RET | BPF_K, 0xfefefefe); in bpf_fill_maxinsns2()
149 insn[i] = __BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, k); in bpf_fill_maxinsns3()
171 insn[i] = __BPF_STMT(BPF_RET | BPF_K, 0xfefefefe); in bpf_fill_maxinsns4()
192 insn[i] = __BPF_STMT(BPF_RET | BPF_K, 0xfefefefe); in bpf_fill_maxinsns5()
194 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_K, 0xabababab); in bpf_fill_maxinsns5()
345 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_K, 0xababcbac); in __bpf_fill_ja()
374 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_K, 0xabababab); in bpf_fill_maxinsns12()
427 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_K, 0xbee); in bpf_fill_ld_abs_get_processor_id()
507 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 2),
510 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 0xffffffff),
511 BPF_STMT(BPF_ALU | BPF_MUL | BPF_K, 3),
522 BPF_STMT(BPF_ALU | BPF_DIV | BPF_K, 2),
528 BPF_STMT(BPF_ALU | BPF_DIV | BPF_K, 0x70000000),
534 BPF_STMT(BPF_ALU | BPF_MOD | BPF_K, 0x70000000),
546 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xf0),
547 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 27),
550 BPF_STMT(BPF_ALU | BPF_OR | BPF_K, 0xf0),
562 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0, 1, 0),
563 BPF_STMT(BPF_RET | BPF_K, 0),
564 BPF_STMT(BPF_RET | BPF_K, 1),
575 BPF_STMT(BPF_RET | BPF_K, 1)
585 BPF_STMT(BPF_RET | BPF_K, 1)
650 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, SKB_TYPE, 1, 0),
651 BPF_STMT(BPF_RET | BPF_K, 1),
654 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, SKB_TYPE, 1, 0),
655 BPF_STMT(BPF_RET | BPF_K, 1),
658 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, SKB_TYPE, 1, 0),
659 BPF_STMT(BPF_RET | BPF_K, 1),
703 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 20, 1, 0),
704 BPF_STMT(BPF_RET | BPF_K, 0),
709 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 30, 1, 0),
710 BPF_STMT(BPF_RET | BPF_K, 0),
887 BPF_STMT(BPF_ALU | BPF_XOR | BPF_K, 0x80000000),
907 BPF_STMT(BPF_RET | BPF_K, 1),
908 BPF_STMT(BPF_RET | BPF_K, MAX_K)
920 BPF_STMT(BPF_RET | BPF_K, 1),
921 BPF_STMT(BPF_RET | BPF_K, MAX_K)
933 BPF_STMT(BPF_RET | BPF_K, 1),
934 BPF_STMT(BPF_RET | BPF_K, MAX_K)
946 BPF_STMT(BPF_RET | BPF_K, 1),
947 BPF_STMT(BPF_RET | BPF_K, MAX_K)
958 BPF_JUMP(BPF_JMP | BPF_JGE | BPF_K, 1, 1, 0),
959 BPF_STMT(BPF_RET | BPF_K, 10),
960 BPF_JUMP(BPF_JMP | BPF_JGE | BPF_K, 2, 1, 0),
961 BPF_STMT(BPF_RET | BPF_K, 20),
962 BPF_JUMP(BPF_JMP | BPF_JGE | BPF_K, 3, 1, 0),
963 BPF_STMT(BPF_RET | BPF_K, 30),
964 BPF_JUMP(BPF_JMP | BPF_JGE | BPF_K, 4, 1, 0),
965 BPF_STMT(BPF_RET | BPF_K, 40),
966 BPF_STMT(BPF_RET | BPF_K, MAX_K)
981 BPF_STMT(BPF_ALU | BPF_SUB | BPF_K, 4),
984 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 1, 0, 1),
985 BPF_STMT(BPF_RET | BPF_K, 10),
986 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 0x80000000, 0, 1),
987 BPF_STMT(BPF_RET | BPF_K, 20),
988 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 0xffffff, 1, 0),
989 BPF_STMT(BPF_RET | BPF_K, 30),
990 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 0xffffff, 1, 0),
991 BPF_STMT(BPF_RET | BPF_K, 30),
992 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 0xffffff, 1, 0),
993 BPF_STMT(BPF_RET | BPF_K, 30),
994 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 0xffffff, 1, 0),
995 BPF_STMT(BPF_RET | BPF_K, 30),
996 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 0xffffff, 1, 0),
997 BPF_STMT(BPF_RET | BPF_K, 30),
998 BPF_STMT(BPF_RET | BPF_K, MAX_K)
1008 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x86dd, 0, 8), /* IPv6 */
1010 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x84, 2, 0),
1011 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x6, 1, 0),
1012 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x11, 0, 17),
1014 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 22, 14, 0),
1016 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 22, 12, 13),
1017 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0800, 0, 12), /* IPv4 */
1019 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x84, 2, 0),
1020 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x6, 1, 0),
1021 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x11, 0, 8),
1023 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 0x1fff, 6, 0),
1026 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 22, 2, 0),
1028 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 22, 0, 1),
1029 BPF_STMT(BPF_RET | BPF_K, 0xffff),
1030 BPF_STMT(BPF_RET | BPF_K, 0),
1057 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x86dd, 30, 0),
1058 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x800, 0, 29),
1060 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x6, 0, 27),
1062 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 0x1fff, 25, 0),
1065 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 22, 2, 0),
1067 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 22, 0, 20),
1071 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xf),
1072 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 2),
1079 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xf0),
1080 BPF_STMT(BPF_ALU | BPF_RSH | BPF_K, 2),
1085 BPF_JUMP(BPF_JMP | BPF_JGT | BPF_K, 0x73, 1, 0),
1086 BPF_JUMP(BPF_JMP | BPF_JGE | BPF_K, 0xfc23ac00, 1, 0),
1087 BPF_STMT(BPF_RET | BPF_K, 0xffff),
1088 BPF_STMT(BPF_RET | BPF_K, 0),
1940 BPF_STMT(BPF_ALU | BPF_DIV | BPF_K, 0),
1941 BPF_STMT(BPF_RET | BPF_K, 0)
1954 BPF_STMT(BPF_RET | BPF_K, 0)
1966 BPF_STMT(BPF_RET | BPF_K, 0)
2086 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2091 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2096 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2101 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2106 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2111 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2116 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2121 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2126 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2131 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2136 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2141 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2146 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2151 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2156 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2161 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 1),
2260 BPF_STMT(BPF_RET | BPF_K, 1),
6206 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 0x42),
6236 BPF_STMT(BPF_ALU | BPF_SUB | BPF_K, -0x66),
6266 BPF_STMT(BPF_ALU | BPF_MUL | BPF_K, 0x66),
6283 BPF_STMT(BPF_RET | BPF_K, 0x42),
6296 BPF_STMT(BPF_ALU | BPF_DIV | BPF_K, 0x1),
6313 BPF_STMT(BPF_RET | BPF_K, 0x42),
6326 BPF_STMT(BPF_ALU | BPF_MOD | BPF_K, 0x1),
6341 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0, 0, 1),
6342 BPF_STMT(BPF_RET | BPF_K, 0x42),
6343 BPF_STMT(BPF_RET | BPF_K, 0x66),
6360 BPF_STMT(BPF_RET | BPF_K, 0x42),
6361 BPF_STMT(BPF_RET | BPF_K, 0x66),
6463 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0xfefb0000, 1, 0),
6464 BPF_STMT(BPF_RET | BPF_K, 1),
6465 BPF_STMT(BPF_RET | BPF_K, 2),