- if (vp != NULL)
- size += vp->length;
-
- return size;
-}
-
-static bool
-avpExport(const VALUE_PAIR *vp,
- unsigned char **pBuffer,
- size_t *pRemain)
-{
- unsigned char *p = *pBuffer;
- size_t remain = *pRemain;
-
- assert(remain >= avpSize(vp));
-
- store_uint32_be(vp->attribute, p);