Lines Matching full:attrs
56 msg->attrs =
57 os_malloc(RADIUS_DEFAULT_ATTR_COUNT * sizeof(*msg->attrs));
58 if (msg->attrs == NULL) {
88 if (msg->attrs != NULL) {
89 os_free(msg->attrs);
90 msg->attrs = NULL;
284 radius_msg_dump_attr(msg->attrs[i]);
388 nattrs = os_realloc(msg->attrs, nlen * sizeof(*msg->attrs));
392 msg->attrs = nattrs;
396 msg->attrs[msg->attr_used++] = attr;
432 msg->attrs[i] = (struct radius_attr_hdr *)
433 (((u8 *) msg->attrs[i]) + diff);
552 if (msg->attrs[i]->type == RADIUS_ATTR_EAP_MESSAGE)
553 len += msg->attrs[i]->length -
566 if (msg->attrs[i]->type == RADIUS_ATTR_EAP_MESSAGE) {
567 struct radius_attr_hdr *attr = msg->attrs[i];
590 if (msg->attrs[i]->type == RADIUS_ATTR_MESSAGE_AUTHENTICATOR) {
596 attr = msg->attrs[i];
674 attr = src->attrs[i];
727 struct radius_attr_hdr *attr = msg->attrs[i];
1100 if (msg->attrs[i]->type == type) {
1101 attr = msg->attrs[i];
1123 if (msg->attrs[i]->type == type &&
1124 (start == NULL || (u8 *) msg->attrs[i] > start)) {
1125 attr = msg->attrs[i];
1145 if (msg->attrs[i]->type == type &&
1146 msg->attrs[i]->length >=
1180 attr = msg->attrs[i];