• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/l2tpd-0.69/

Lines Matching defs:avp

23 struct avp avps[] = {
128 * t, c, data, and datalen may be assumed to be defined for all avp's
400 "%s: avp is incorrect size. %d != 6\n", __FUNCTION__,
445 "%s: avp is incorrect size. %d < 10\n", __FUNCTION__,
524 "%s: avp is incorrect size. %d != 8\n", __FUNCTION__,
584 "%s: avp is incorrect size. %d != 10\n", __FUNCTION__,
630 "%s: avp is incorrect size. %d != 10\n", __FUNCTION__,
685 "%s: avp is incorrect size. %d != 8\n", __FUNCTION__,
732 "%s: avp is incorrect size. %d != 10\n", __FUNCTION__,
779 "%s: avp is incorrect size. %d != 10\n", __FUNCTION__,
825 "%s: avp is too small. %d < 6\n", __FUNCTION__,
878 "%s: avp is too small. %d < 6\n", __FUNCTION__,
933 "%s: avp is too small. %d < 6\n", __FUNCTION__,
988 "%s: avp is too small. %d < 6\n", __FUNCTION__,
1042 "%s: avp is too small. %d < 6\n", __FUNCTION__,
1093 "%s: avp is too small. %d < 6\n", __FUNCTION__,
1120 log (LOG_DEBUG, "%s: challenge avp found\n", __FUNCTION__);
1151 "%s: avp is too small. %d < 6\n", __FUNCTION__,
1203 "%s: avp is wrong size. %d != 8\n", __FUNCTION__,
1258 "%s: avp is wrong size. %d != 8\n", __FUNCTION__,
1325 "%s: avp is wrong size. %d != 8\n", __FUNCTION__,
1370 "%s: avp is wrong size. %d != 10\n", __FUNCTION__,
1422 "%s: avp is wrong size. %d != 10\n", __FUNCTION__,
1467 "%s: avp is wrong size. %d != 10\n", __FUNCTION__,
1513 "%s: avp is wrong size. %d != 10\n", __FUNCTION__,
1564 "%s: avp is wrong size. %d != 8\n", __FUNCTION__,
1593 struct avp_hdr *avp;
1598 avp = (struct avp_hdr *) data;
1600 log (LOG_DEBUG, "%s: handling avp's for tunnel %d, call %d\n",
1605 swaps (avp, sizeof (struct avp_hdr));
1606 if (avp->attr > AVP_MAX)
1608 if (AMBIT (avp->length))
1612 __FUNCTION__, avp->attr,
1616 avp->attr);
1625 __FUNCTION__, avp->attr);
1629 if (ALENGTH (avp->length) > len)
1638 if (avp->attr && firstavp)
1646 if (ALENGTH (avp->length) < sizeof (struct avp_hdr))
1649 __FUNCTION__, ALENGTH (avp->length));
1654 if (AZBITS (avp->length))
1657 AMBIT (avp->length) ? "Mandatory " : "");
1658 if (AMBIT (avp->length))
1666 if (AHBIT (avp->length))
1674 hidlen = avp->length;
1680 (AMBIT (avp->length) ? "mandatory " : ""));
1681 if (AMBIT (avp->length))
1692 avp = (struct avp_hdr *) data;
1697 if (avps[avp->attr].handler)
1699 if (avps[avp->attr].handler (t, c, avp, ALENGTH (avp->length)))
1701 if (AMBIT (avp->length))
1705 __FUNCTION__, avp->attr,
1706 avps[avp->attr].description);
1715 __FUNCTION__, avp->attr,
1716 avps[avp->attr].description);
1722 if (AMBIT (avp->length))
1726 __FUNCTION__, avp->attr, avps[avp->attr].description,
1729 avp->attr, avps[avp->attr].description);
1736 __FUNCTION__, avp->attr,
1737 avps[avp->attr].description);
1749 len -= ALENGTH (avp->length);
1750 data += ALENGTH (avp->length); /* Next AVP, please */
1752 avp = (struct avp_hdr *) data;