Home
last modified time | relevance | path

Searched refs:serverid (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_sake.c32 u8 *serverid; member
109 os_free(data->serverid); in eap_sake_deinit()
227 os_free(data->serverid); in eap_sake_process_challenge()
228 data->serverid = NULL; in eap_sake_process_challenge()
230 if (attr.serverid) { in eap_sake_process_challenge()
232 attr.serverid, attr.serverid_len); in eap_sake_process_challenge()
233 data->serverid = os_malloc(attr.serverid_len); in eap_sake_process_challenge()
234 if (data->serverid == NULL) in eap_sake_process_challenge()
236 os_memcpy(data->serverid, attr.serverid, attr.serverid_len); in eap_sake_process_challenge()
268 data->serverid, data->serverid_len, in eap_sake_process_challenge()
[all …]
Deap_eke.c24 u8 *serverid; member
138 os_free(data->serverid); in eap_eke_deinit()
312 os_free(data->serverid); in eap_eke_process_id()
313 data->serverid = os_malloc(end - pos); in eap_eke_process_id()
314 if (data->serverid == NULL) { in eap_eke_process_id()
318 os_memcpy(data->serverid, pos, end - pos); in eap_eke_process_id()
406 data->serverid, data->serverid_len, in eap_eke_process_commit()
433 data->serverid, data->serverid_len, in eap_eke_process_commit()
559 if (eap_eke_derive_ka(&data->sess, data->serverid, data->serverid_len, in eap_eke_process_confirm()
606 if (eap_eke_derive_msk(&data->sess, data->serverid, data->serverid_len, in eap_eke_process_confirm()
/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c62 attr->serverid = data; in eap_sake_parse_add_attr()
318 const u8 *serverid, size_t serverid_len, in eap_sake_compute_mic() argument
338 if (serverid) { in eap_sake_compute_mic()
339 os_memcpy(pos, serverid, serverid_len); in eap_sake_compute_mic()
348 if (serverid) { in eap_sake_compute_mic()
349 os_memcpy(pos, serverid, serverid_len); in eap_sake_compute_mic()
Deap_sake_common.h63 const u8 *serverid; member
89 const u8 *serverid, size_t serverid_len,
/external/toybox/toys/pending/
Ddhcp.c141 struct in_addr serverid; member
183 struct in_addr serverid; member
789 cli.sin_addr.s_addr = state->serverid.s_addr; in send_app()
867 static uint8_t *dhcpc_addserverid(struct in_addr *serverid, uint8_t *optptr) in dhcpc_addserverid() argument
871 memcpy(optptr, &serverid->s_addr, 4); in dhcpc_addserverid()
951 state->serverid.s_addr = var; in get_option_serverid()
952 presult->serverid.s_addr = state->serverid.s_addr; in get_option_serverid()
953 presult->serverid.s_addr = ntohl(presult->serverid.s_addr); in get_option_serverid()
1459 if (msgType == DHCPOFFER && server == 0) server = result.serverid.s_addr; // select the server in dhcp_main()
1460 if (result.serverid.s_addr != server) continue; // not from the server we requested ignore in dhcp_main()
[all …]
Ddhcpd.c1611 uint32_t waited = 0, serverid = 0, requested_nip = 0; in dhcpd_main() local
1680 serverid = 0; in dhcpd_main()
1995 DHCP_OPT_SERVER_ID, &serverid); in dhcpd_main()
1996 if (serverid && (serverid != gconfig.server_nip)) { in dhcpd_main()
2042 if (!serverid) reqested_lease = gconfig.max_lease_sec; in dhcpd_main()
2060 DHCP_OPT_SERVER_ID, &serverid); in dhcpd_main()
2061 if (serverid != gconfig.server_nip) break; in dhcpd_main()