Lines Matching refs:nserv
244 struct hostapd_radius_server *nserv,
1039 struct hostapd_radius_server *nserv, in radius_change_server() argument
1061 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), in radius_change_server()
1062 nserv->port); in radius_change_server()
1064 if (oserv && oserv == nserv) { in radius_change_server()
1070 if (oserv && oserv != nserv && in radius_change_server()
1071 (nserv->shared_secret_len != oserv->shared_secret_len || in radius_change_server()
1072 os_memcmp(nserv->shared_secret, oserv->shared_secret, in radius_change_server()
1073 nserv->shared_secret_len) != 0)) { in radius_change_server()
1085 radius, nserv->shared_secret, in radius_change_server()
1086 nserv->shared_secret_len); in radius_change_server()
1091 for (entry = radius->msgs; oserv && oserv != nserv && entry; in radius_change_server()
1107 switch (nserv->addr.af) { in radius_change_server()
1111 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; in radius_change_server()
1112 serv.sin_port = htons(nserv->port); in radius_change_server()
1121 os_memcpy(&serv6.sin6_addr, &nserv->addr.u.v6, in radius_change_server()
1123 serv6.sin6_port = htons(nserv->port); in radius_change_server()
1136 nserv->addr.af, sock, sock6, auth); in radius_change_server()
1183 switch (nserv->addr.af) { in radius_change_server()