Home | History | Annotate | Download | only in hostapd

Lines Matching defs:from

33  * The example implementation here reads GSM authentication triplets from a
105 os_snprintf(cmd, sizeof(cmd), "SELECT 1 FROM %s;", name);
201 "SELECT ki,opc,amf,sqn FROM milenage WHERE imsi=%llu;",
614 static void sim_req_auth(int s, struct sockaddr_un *from, socklen_t fromlen,
687 (struct sockaddr *) from, fromlen) < 0)
714 static void aka_req_auth(int s, struct sockaddr_un *from, socklen_t fromlen,
785 if (sendto(s, reply, pos - reply, 0, (struct sockaddr *) from,
791 static void aka_auts(int s, struct sockaddr_un *from, socklen_t fromlen,
841 struct sockaddr_un from;
845 fromlen = sizeof(from);
846 res = recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *) &from,
863 sim_req_auth(s, &from, fromlen, buf + 13);
865 aka_req_auth(s, &from, fromlen, buf + 13);
867 aka_auts(s, &from, fromlen, buf + 9);