u_int i;
ND_PRINT(" len=%u ", len);
for (i = 0; i < len; i++)
- safeputchar(ndo, EXTRACT_U_1(data + i));
+ fn_print_char(ndo, EXTRACT_U_1(data + i));
len = 0;
break;
}
int depth)
{
const u_char *dat;
- volatile u_int dlen;
+ u_int dlen;
#ifdef HAVE_LIBCRYPTO
uint8_t np;
#endif
return cp;
trunc:
- ND_PRINT(" [|isakmp]");
+ nd_print_trunc(ndo);
return NULL;
}
return cp;
trunc:
- ND_PRINT(" [|isakmp]");
+ nd_print_trunc(ndo);
return NULL;
}
const u_char *ep;
u_int major, minor;
+ ndo->ndo_protocol = "isakmp";
#ifdef HAVE_LIBCRYPTO
/* initialize SAs */
if (ndo->ndo_sa_list_head == NULL) {
ep = ndo->ndo_snapend;
if ((const struct isakmp *)ep < p + 1) {
- ND_PRINT("[|isakmp]");
+ nd_print_trunc(ndo);
return;
}
const u_char *bp, u_int length,
const u_char *bp2)
{
+ ndo->ndo_protocol = "isakmp_rfc3948";
ND_TCHECK_1(bp);
if(length == 1 && EXTRACT_U_1(bp)==0xff) {
ND_PRINT("isakmp-nat-keep-alive");
length -= advance + padlen;
nh = enh & 0xff;
- ip_print_inner(ndo, bp, length, nh, bp2);
+ ip_inner_print(ndo, bp, length, nh, bp2);
return;
}
trunc:
- ND_PRINT("[|isakmp]");
+ nd_print_trunc(ndo);
return;
}
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */