Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:cp

319 dhcp6opt_print(const u_char *cp, const u_char *ep)
334 if (cp == ep)
336 while (cp < ep) {
337 if (ep < cp + sizeof(*dh6o))
339 dh6o = (struct dhcp6opt *)cp;
341 if (ep < cp + sizeof(*dh6o) + optlen)
659 cp += sizeof(*dh6o) + optlen;
671 dhcp6_print(const u_char *cp, u_int length)
682 if (cp + length < ep)
683 ep = cp + length;
685 dh6 = (struct dhcp6 *)cp;
686 dh6relay = (struct dhcp6_relay *)cp;