Lines Matching refs:item_len
582 u_int item_len, \
620 u_int item_len,
685 u_int item_len,
994 u_int item_len _U_,
1053 const struct isakmp_gen *ext, u_int item_len _U_,
1216 const struct isakmp_gen *ext, u_int item_len,
1267 ep2 = (u_char *)p + item_len;
1285 const struct isakmp_gen *ext, u_int item_len _U_,
1309 const struct isakmp_gen *ext, u_int item_len,
1332 if (sizeof(*p) < item_len) {
1334 len = item_len - sizeof(*p);
1475 return (u_char *)ext + item_len;
1483 const struct isakmp_gen *ext, u_int item_len _U_,
1501 ND_PRINT((ndo," len=%d", item_len - 4));
1503 if (2 < ndo->ndo_vflag && 4 < item_len) {
1505 if (!rawprint(ndo, (caddr_t)(ext + 1), item_len - 4))
1508 return (u_char *)ext + item_len;
1516 const struct isakmp_gen *ext, u_int item_len _U_,
1533 ND_PRINT((ndo," len=%d", item_len - 4));
1535 if (2 < ndo->ndo_vflag && 4 < item_len) {
1537 if (!rawprint(ndo, (caddr_t)(ext + 1), item_len - 4))
1540 return (u_char *)ext + item_len;
1548 const struct isakmp_gen *ext, u_int item_len _U_,
1572 const struct isakmp_gen *ext, u_int item_len _U_,
1597 u_int item_len _U_,
1626 const struct isakmp_gen *ext, u_int item_len,
1726 ep2 = (u_char *)p + item_len;
1754 item_len - sizeof(*p) - n.spi_size,
1759 return (u_char *)ext + item_len;
1767 const struct isakmp_gen *ext, u_int item_len _U_,
1812 u_int item_len _U_, const u_char *ep _U_,
1870 const struct isakmp_gen *ext, u_int item_len,
1930 ep2 = (u_char *)p + item_len;
1948 const struct isakmp_gen *ext, u_int item_len _U_,
1985 u_int item_len _U_, const u_char *ep _U_,
2013 u_int item_len _U_, const u_char *ep _U_,
2042 u_int item_len _U_, const u_char *ep _U_,
2124 u_int item_len _U_, const u_char *ep _U_,
2134 u_int item_len _U_, const u_char *ep _U_,
2144 u_int item_len _U_, const u_char *ep _U_,
2180 u_int item_len _U_, const u_char *ep _U_,
2210 u_int item_len _U_, const u_char *ep _U_,
2408 return (u_char *)ext + item_len;
2417 u_int item_len _U_, const u_char *ep _U_,
2427 u_int item_len _U_, const u_char *ep _U_,
2461 u_int item_len _U_, const u_char *ep _U_,
2476 u_int item_len _U_, const u_char *ep _U_,
2542 u_int item_len _U_, const u_char *ep _U_,
2552 u_int item_len _U_, const u_char *ep _U_,
2567 u_int item_len;
2579 item_len = ntohs(e.len);
2580 if (item_len <= 4)
2585 * XXX - what if item_len is too short, or too long,
2588 cp = (*npfunc[np])(ndo, np, ext, item_len, ep, phase, doi, proto, depth);
2591 cp += item_len;
2731 u_int item_len;
2743 item_len = ntohs(e.len);
2744 if (item_len <= 4)
2748 cp = ikev2_p_print(ndo, np, pcount, ext, item_len,
2751 cp = ikev2_t_print(ndo, np, pcount, ext, item_len,
2754 cp = ikev2_e_print(ndo, base, np, ext, item_len,
2758 * XXX - what if item_len is too short, or too long,
2761 cp = (*npfunc[np])(ndo, np, /*pcount,*/ ext, item_len,
2765 cp += item_len;