Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:ep

613 	const uint8_t *ep, *q;
616 ep = p + l;
617 while (l > 0 && q < ep) {
897 const u_char *ep;
903 /* 'ep' points to the end of available data. */
904 ep = ndo->ndo_snapend;
1117 icmp6_rrenum_print(ndo, bp, ep);
1121 icmp6_nodeinfo_print(ndo, length, bp, ep);
1184 const u_char *ep;
1193 /* 'ep' points to the end of available data. */
1194 ep = ndo->ndo_snapend;
1202 while (bp < ep) {
1266 const u_char *cp, *ep, *domp;
1271 #define ECHECK(var) if ((u_char *)&(var) > ep - sizeof(var)) return
1274 /* 'ep' points to the end of available data. */
1275 ep = ndo->ndo_snapend;
1277 while (cp < ep) {
1285 if (cp + (op->nd_opt_len << 3) > ep)
1411 const u_char *ep;
1413 /* 'ep' points to the end of available data. */
1414 ep = ndo->ndo_snapend;
1416 if ((u_char *)mp + sizeof(*mp) > ep)
1548 dnsname_print(netdissect_options *ndo, const u_char *cp, const u_char *ep)
1554 while (cp < ep) {
1557 if (i > ep - cp) {
1561 while (i-- && cp < ep) {
1565 if (cp + 1 < ep && *cp)
1568 if (cp == ep) {
1571 } else if (cp + 1 == ep && *cp == '\0') {
1584 icmp6_nodeinfo_print(netdissect_options *ndo, u_int icmp6len, const u_char *bp, const u_char *ep)
1592 if (ep < bp)
1596 siz = ep - bp;
1677 if (cp[0] == ep - cp - 1) {
1683 while (cp < ep) {
1689 dnsname_print(ndo, cp, ep);
1773 if (cp[0] == ep - cp - 1) {
1779 while (cp < ep) {
1785 dnsname_print(ndo, cp, ep);
1832 icmp6_rrenum_print(netdissect_options *ndo, const u_char *bp, const u_char *ep)
1841 if (ep < bp)