Lines Matching refs:len
59 size_t len;
77 &buf, &len, NULL) == 0) {
78 if (len != 4) {
89 &buf, &len, NULL) == 0) {
90 if (len != 16) {
101 &buf, &len, NULL) == 0) {
103 attrs.nas_identifier_len = len;
107 &buf, &len, NULL) == 0) {
108 if (len >= sizeof(tmp))
109 len = sizeof(tmp) - 1;
110 os_memcpy(tmp, buf, len);
111 tmp[len] = '\0';
122 &buf, &len, NULL) == 0) {
124 attrs.user_name_len = len;
128 &buf, &len, NULL) == 0) {
130 attrs.acct_session_id_len = len;
134 &buf, &len, NULL) == 0) {
136 attrs.acct_multi_session_id_len = len;
140 &buf, &len, NULL) == 0) {
142 attrs.cui_len = len;
200 int len;
209 len = recvfrom(sock, buf, sizeof(buf), 0,
211 if (len < 0) {
220 len, abuf, from_port);
226 msg = radius_msg_parse(buf, len);