Lines Matching refs:K
636 uint32_t K = f->k; in bpf_single_step() local
641 r->R = K; in bpf_single_step()
659 r->M[K] = r->A; in bpf_single_step()
662 r->M[K] = r->X; in bpf_single_step()
665 d = pkt_caplen - K; in bpf_single_step()
667 r->A = extract_u32(pkt, K); in bpf_single_step()
672 d = pkt_caplen - K; in bpf_single_step()
674 r->A = extract_u16(pkt, K); in bpf_single_step()
679 d = pkt_caplen - K; in bpf_single_step()
681 r->A = extract_u8(pkt, K); in bpf_single_step()
686 d = pkt_caplen - (r->X + K); in bpf_single_step()
688 r->A = extract_u32(pkt, r->X + K); in bpf_single_step()
691 d = pkt_caplen - (r->X + K); in bpf_single_step()
693 r->A = extract_u16(pkt, r->X + K); in bpf_single_step()
698 d = pkt_caplen - (r->X + K); in bpf_single_step()
700 r->A = extract_u8(pkt, r->X + K); in bpf_single_step()
705 d = pkt_caplen - K; in bpf_single_step()
707 r->X = extract_u8(pkt, K); in bpf_single_step()
719 r->A = K; in bpf_single_step()
722 r->X = K; in bpf_single_step()
725 r->A = r->M[K]; in bpf_single_step()
728 r->X = r->M[K]; in bpf_single_step()
731 r->Pc += K; in bpf_single_step()
737 r->Pc += r->A > K ? f->jt : f->jf; in bpf_single_step()
743 r->Pc += r->A >= K ? f->jt : f->jf; in bpf_single_step()
749 r->Pc += r->A == K ? f->jt : f->jf; in bpf_single_step()
755 r->Pc += r->A & K ? f->jt : f->jf; in bpf_single_step()
764 r->A <<= K; in bpf_single_step()
770 r->A >>= K; in bpf_single_step()
776 r->A += K; in bpf_single_step()
782 r->A -= K; in bpf_single_step()
788 r->A *= K; in bpf_single_step()
799 if (K == 0) { in bpf_single_step()
809 r->A /= K; in bpf_single_step()
815 r->A %= K; in bpf_single_step()
823 r->A &= K; in bpf_single_step()
829 r->A |= K; in bpf_single_step()
835 r->A ^= K; in bpf_single_step()