pos = 0;
while (pos < attributeData.length) {
int attributeType = attributeData[pos] & 0x0ff;
int attributeLength = attributeData[pos + 1] & 0x0ff;
RadiusAttribute a = RadiusAttribute.createRadiusAttribute(dictionary, -1, attributeType);
a.readAttribute(attributeData, pos, attributeLength);
rp.addAttribute(a);
pos += attributeLength;
}
// request packet?