| 180 | } |
| 181 | |
| 182 | static void |
| 183 | eval_fill_imm(struct bpf_reg_val *rv, uint64_t mask, int32_t imm) |
| 184 | { |
| 185 | uint64_t v; |
| 186 | |
| 187 | v = (uint64_t)imm & mask; |
| 188 | |
| 189 | rv->v.type = RTE_BPF_ARG_RAW; |
| 190 | eval_fill_imm64(rv, mask, v); |
| 191 | } |
| 192 | |
| 193 | static const char * |
| 194 | eval_ld_imm64(struct bpf_verifier *bvf, const struct ebpf_insn *ins) |
no test coverage detected