Lines Matching refs:ep
103 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_time_print() argument
109 if (cp + 4 != ep) in ahcp_time_print()
123 ND_TCHECK2(*cp, ep - cp); in ahcp_time_print()
131 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_seconds_print() argument
133 if (cp + 4 != ep) in ahcp_seconds_print()
141 ND_TCHECK2(*cp, ep - cp); in ahcp_seconds_print()
149 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_addresses_print() argument
153 while (cp < ep) { in ahcp_ipv6_addresses_print()
154 if (cp + 16 > ep) in ahcp_ipv6_addresses_print()
169 ND_TCHECK2(*cp, ep - cp); in ahcp_ipv6_addresses_print()
177 ahcp_ipv4_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv4_addresses_print() argument
181 while (cp < ep) { in ahcp_ipv4_addresses_print()
182 if (cp + 4 > ep) in ahcp_ipv4_addresses_print()
193 ND_TCHECK2(*cp, ep - cp); in ahcp_ipv4_addresses_print()
201 ahcp_ipv6_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_prefixes_print() argument
205 while (cp < ep) { in ahcp_ipv6_prefixes_print()
206 if (cp + 17 > ep) in ahcp_ipv6_prefixes_print()
221 ND_TCHECK2(*cp, ep - cp); in ahcp_ipv6_prefixes_print()
229 ahcp_ipv4_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv4_prefixes_print() argument
233 while (cp < ep) { in ahcp_ipv4_prefixes_print()
234 if (cp + 5 > ep) in ahcp_ipv4_prefixes_print()
245 ND_TCHECK2(*cp, ep - cp); in ahcp_ipv4_prefixes_print()
272 ahcp1_options_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp1_options_print() argument
276 while (cp < ep) { in ahcp1_options_print()
285 if (cp + 1 > ep) in ahcp1_options_print()
290 if (cp + option_len > ep) in ahcp1_options_print()
306 ND_TCHECK2(*cp, ep - cp); in ahcp1_options_print()
313 ahcp1_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp1_body_print() argument
318 if (cp + AHCP1_BODY_MIN_LEN > ep) in ahcp1_body_print()
339 if (cp + body_len > ep) in ahcp1_body_print()
351 ND_TCHECK2(*cp, ep - cp); in ahcp1_body_print()
360 const u_char *ep = cp + len; in ahcp_print() local
406 ahcp1_body_print(ndo, cp, ep); in ahcp_print()
417 ND_TCHECK2(*cp, ep - cp); in ahcp_print()