Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:sp

39 msdp_print(const unsigned char *sp, u_int length)
43 TCHECK2(*sp, 3);
45 type = *sp;
46 len = EXTRACT_16BITS(sp + 1);
51 TCHECK2(*sp, 3);
52 type = *sp;
53 len = EXTRACT_16BITS(sp + 1);
58 sp += 3;
67 TCHECK(*sp);
68 (void)printf(" %u entries", *sp);
69 if ((u_int)((*sp * 12) + 8) < len) {
73 ip_print(gndo, sp + *sp * 12 + 8 - 3,
74 len - (*sp * 12 + 8));
80 TCHECK2(*sp, 5);
81 (void)printf(" for %s", ipaddr_string(sp + 1));
95 sp += (len - 3);