Lines Matching refs:ep
635 const u_char *ep, uint32_t phase,
745 if (ep < (u_char *)(p)) { \
888 const u_char *cp, const u_char *ep) in ike_show_somedata() argument
891 const u_char *end = ep - 20; in ike_show_somedata()
893 int len = ep - cp; in ike_show_somedata()
901 elen = ep - end; in ike_show_somedata()
925 const u_char *p, const u_char *ep, in ikev1_attrmap_print() argument
935 if (ep < p + totlen) { in ikev1_attrmap_print()
937 return ep + 1; in ikev1_attrmap_print()
962 ikev1_attr_print(netdissect_options *ndo, const u_char *p, const u_char *ep) in ikev1_attr_print() argument
971 if (ep < p + totlen) { in ikev1_attr_print()
973 return ep + 1; in ikev1_attr_print()
995 const u_char *ep, uint32_t phase, uint32_t doi0 _U_, in ikev1_sa_print() argument
1042 cp = ikev1_sub_print(ndo, ISAKMP_NPTYPE_P, ext, ep, phase, doi, proto0, in ikev1_sa_print()
1054 const u_char *ep, uint32_t phase, uint32_t doi0, in ikev1_p_print() argument
1077 cp = ikev1_sub_print(ndo, ISAKMP_NPTYPE_T, ext, ep, phase, doi0, in ikev1_p_print()
1217 const u_char *ep, uint32_t phase _U_, uint32_t doi _U_, in ikev1_t_print() argument
1268 while (cp < ep && cp < ep2) { in ikev1_t_print()
1270 cp = ikev1_attrmap_print(ndo, cp, (ep < ep2) ? ep : ep2, in ikev1_t_print()
1273 cp = ikev1_attr_print(ndo, cp, (ep < ep2) ? ep : ep2); in ikev1_t_print()
1275 if (ep < ep2) in ikev1_t_print()
1286 const u_char *ep _U_, uint32_t phase _U_, uint32_t doi _U_, in ikev1_ke_print()
1310 const u_char *ep _U_, uint32_t phase, uint32_t doi _U_, in ikev1_id_print()
1484 const u_char *ep _U_, uint32_t phase _U_, in ikev1_cert_print()
1517 const u_char *ep _U_, uint32_t phase _U_, uint32_t doi0 _U_, in ikev1_cr_print()
1549 const u_char *ep _U_, uint32_t phase _U_, uint32_t doi _U_, in ikev1_hash_print()
1573 const u_char *ep _U_, uint32_t phase _U_, uint32_t doi _U_, in ikev1_sig_print()
1598 const u_char *ep _U_, in ikev1_nonce_print()
1615 if (!ike_show_somedata(ndo, (u_char *)(caddr_t)(ext + 1), ep)) in ikev1_nonce_print()
1627 const u_char *ep, uint32_t phase, uint32_t doi0 _U_, in ikev1_n_print() argument
1728 if (cp < ep) { in ikev1_n_print()
1735 while (cp < ep && cp < ep2) { in ikev1_n_print()
1737 (ep < ep2) ? ep : ep2, map, nmap); in ikev1_n_print()
1747 (struct isakmp_gen *)cp, ep, phase, doi, proto, in ikev1_n_print()
1768 const u_char *ep _U_, uint32_t phase _U_, uint32_t doi0 _U_, in ikev1_d_print()
1812 u_int item_len _U_, const u_char *ep _U_, in ikev1_vid_print()
1871 const u_char *ep, uint32_t phase _U_, uint32_t doi _U_, in ikev2_t_print() argument
1931 while (cp < ep && cp < ep2) { in ikev2_t_print()
1933 cp = ikev1_attrmap_print(ndo, cp, (ep < ep2) ? ep : ep2, in ikev2_t_print()
1936 cp = ikev1_attr_print(ndo, cp, (ep < ep2) ? ep : ep2); in ikev2_t_print()
1938 if (ep < ep2) in ikev2_t_print()
1949 const u_char *ep, uint32_t phase, uint32_t doi0, in ikev2_p_print() argument
1973 cp = ikev2_sub_print(ndo, NULL, ISAKMP_NPTYPE_T, ext, ep, phase, doi0, in ikev2_p_print()
1985 u_int item_len _U_, const u_char *ep _U_, in ikev2_sa_print()
2001 ext1+1, ep, in ikev2_sa_print()
2013 u_int item_len _U_, const u_char *ep _U_, in ikev2_ke_print()
2042 u_int item_len _U_, const u_char *ep _U_, in ikev2_ID_print()
2124 u_int item_len _U_, const u_char *ep _U_, in ikev2_cert_print()
2134 u_int item_len _U_, const u_char *ep _U_, in ikev2_cr_print()
2144 u_int item_len _U_, const u_char *ep _U_, in ikev2_auth_print()
2168 if(!ike_show_somedata(ndo, authdata, ep)) goto trunc; in ikev2_auth_print()
2180 u_int item_len _U_, const u_char *ep _U_, in ikev2_nonce_print()
2197 if(!ike_show_somedata(ndo, (const u_char *)(ext+1), ep)) goto trunc; in ikev2_nonce_print()
2210 u_int item_len _U_, const u_char *ep _U_, in ikev2_n_print()
2397 if ((showdata || (showsomedata && ep-cp < 30)) && cp < ep) { in ikev2_n_print()
2399 if (!rawprint(ndo, (caddr_t)(cp), ep - cp)) in ikev2_n_print()
2404 } else if(showsomedata && cp < ep) { in ikev2_n_print()
2405 if(!ike_show_somedata(ndo, cp, ep)) goto trunc; in ikev2_n_print()
2417 u_int item_len _U_, const u_char *ep _U_, in ikev2_d_print()
2427 u_int item_len _U_, const u_char *ep _U_, in ikev2_vid_print()
2461 u_int item_len _U_, const u_char *ep _U_, in ikev2_TS_print()
2476 u_int item_len _U_, const u_char *ep _U_, in ikev2_e_print()
2542 u_int item_len _U_, const u_char *ep _U_, in ikev2_cp_print()
2552 u_int item_len _U_, const u_char *ep _U_, in ikev2_eap_print()
2561 u_char np, const struct isakmp_gen *ext, const u_char *ep, in ike_sub0_print() argument
2588 cp = (*npfunc[np])(ndo, np, ext, item_len, ep, phase, doi, proto, depth); in ike_sub0_print()
2602 u_char np, const struct isakmp_gen *ext, const u_char *ep, in ikev1_sub_print() argument
2623 cp = ike_sub0_print(ndo, np, ext, ep, phase, doi, proto, depth); in ikev1_sub_print()
2655 const u_char *ep; in ikev1_print() local
2661 ep = ndo->ndo_snapend; in ikev1_print()
2711 ikev1_sub_print(ndo, np, ext, ep, phase, 0, 0, 0); in ikev1_print()
2726 const struct isakmp_gen *ext, const u_char *ep, in ikev2_sub0_print() argument
2749 ep, phase, doi, proto, depth); in ikev2_sub0_print()
2752 ep, phase, doi, proto, depth); in ikev2_sub0_print()
2755 ep, phase, doi, proto, depth); in ikev2_sub0_print()
2762 ep, phase, doi, proto, depth); in ikev2_sub0_print()
2777 u_char np, const struct isakmp_gen *ext, const u_char *ep, in ikev2_sub_print() argument
2801 ext, ep, phase, doi, proto, depth); in ikev2_sub_print()
2825 const u_char *ep; in ikev2_print() local
2830 ep = ndo->ndo_snapend; in ikev2_print()
2865 ikev2_sub_print(ndo, base, np, ext, ep, phase, 0, 0, 0); in ikev2_print()
2884 const u_char *ep; in isakmp_print() local
2896 ep = ndo->ndo_snapend; in isakmp_print()
2898 if ((struct isakmp *)ep < p + 1) { in isakmp_print()