Lines Matching refs:cp
466 register const u_char *cp;
471 cp = (const u_char *)tp + sizeof(*tp);
476 TCHECK(*cp);
477 opt = *cp++;
481 TCHECK(*cp);
482 len = *cp++; /* total including type, len */
491 #define LENCHECK(l) { if ((l) > hlen) goto bad; TCHECK2(*cp, l); }
499 (void)printf(" %u", EXTRACT_16BITS(cp));
515 (void)printf(" %u", *cp);
532 s = EXTRACT_32BITS(cp + i);
534 e = EXTRACT_32BITS(cp + i + 4);
551 (void)printf(" %u", EXTRACT_32BITS(cp));
558 (void)printf(" %u", EXTRACT_32BITS(cp));
565 (void)printf(" %u", EXTRACT_32BITS(cp));
567 (void)printf(" %u", EXTRACT_32BITS(cp + 4));
574 (void)printf(" %u", EXTRACT_32BITS(cp));
581 (void)printf(" %u", EXTRACT_32BITS(cp));
588 (void)printf(" %u", EXTRACT_32BITS(cp));
597 bp + TH_OFF(tp) * 4, length, cp)) {
610 (void)printf("%02x", cp[i]);
615 (void)printf("%02x", cp[i]);
624 (void)printf("%02x", cp[i]);
630 cp += datalen;