Lines Matching refs:ep
186 const u_int8_t *ep, *q;
189 ep = p + l;
190 while (l > 0 && q < ep) {
311 const u_char *ep;
317 /* 'ep' points to the end of available data. */
318 ep = snapend;
531 icmp6_rrenum_print(bp, ep);
535 icmp6_nodeinfo_print(length, bp, ep);
597 const u_char *ep;
606 /* 'ep' points to the end of available data. */
607 ep = snapend;
615 while (bp < ep) {
679 const u_char *cp, *ep, *domp;
684 #define ECHECK(var) if ((u_char *)&(var) > ep - sizeof(var)) return
687 /* 'ep' points to the end of available data. */
688 ep = snapend;
690 while (cp < ep) {
698 if (cp + (op->nd_opt_len << 3) > ep)
824 const u_char *ep;
826 /* 'ep' points to the end of available data. */
827 ep = snapend;
829 if ((u_char *)mp + sizeof(*mp) > ep)
961 dnsname_print(const u_char *cp, const u_char *ep)
967 while (cp < ep) {
970 if (i > ep - cp) {
974 while (i-- && cp < ep) {
978 if (cp + 1 < ep && *cp)
981 if (cp == ep) {
984 } else if (cp + 1 == ep && *cp == '\0') {
997 icmp6_nodeinfo_print(u_int icmp6len, const u_char *bp, const u_char *ep)
1005 if (ep < bp)
1009 siz = ep - bp;
1091 if (cp[0] == ep - cp - 1) {
1097 while (cp < ep) {
1103 dnsname_print(cp, ep);
1187 if (cp[0] == ep - cp - 1) {
1193 while (cp < ep) {
1199 dnsname_print(cp, ep);
1246 icmp6_rrenum_print(const u_char *bp, const u_char *ep)
1255 if (ep < bp)