Searched defs:port (Results 1 - 25 of 830) sorted by last modified time

1234567891011>>

/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_ctrl.c337 char *port, *name; local
351 port = os_strchr(name, ',');
353 port = os_strchr(name, ':');
356 if (port) {
357 port_id = atoi(&port[1]);
358 port[0] = '\0';
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211.c107 uint32_t port = nl_socket_get_local_port(handle); local
109 port >>= 22;
110 port_bitmap[port / 32] &= ~(1 << (port % 32));
8829 wpa_printf(MSG_DEBUG, " * control port");
9474 wpa_printf(MSG_DEBUG, "nl80211: Set supplicant port %sauthorized for "
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_kay.h35 u16 port; member in struct:ieee802_1x_mka_sci
/external/wpa_supplicant_8/hostapd/src/radius/
H A Dradius_client.h34 * port - radiusAuthClientServerPortNumber or radiusAccClientServerPortNumber
36 int port; member in struct:hostapd_radius_server
H A Dradius_das.c313 static int radius_das_open_socket(int port) argument
326 addr.sin_port = htons(port);
342 if (conf->port == 0 || conf->shared_secret == NULL ||
367 das->sock = radius_das_open_socket(conf->port);
H A Dradius_das.h38 int port; member in struct:radius_das_conf
H A Dradius_server.c1426 static int radius_server_open_socket(int port) argument
1441 addr.sin_port = htons(port);
1453 static int radius_server_open_socket6(int port) argument
1468 addr.sin6_port = htons(port);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttp_client.c196 char *u, *addr, *port, *path; local
206 port = os_strchr(addr, ':');
211 if (port > path)
212 port = NULL;
214 if (port)
215 *port++ = '\0';
220 "(addr='%s' port='%s')",
221 url, addr, port);
226 if (port)
227 dst->sin_port = htons(atoi(port));
[all...]
H A Dhttp_server.c34 int port; member in struct:http_server
228 struct http_server * http_server_init(struct in_addr *addr, int port, argument
257 if (port < 0)
258 srv->port = 49152;
260 srv->port = port;
267 sin.sin_port = htons(srv->port);
271 /* search for unused port */
272 if (++srv->port == 65535 || port >
[all...]
H A Dwps_upnp.c136 * certain fixed multicast IP address and port, and "control points" sending
313 int port = 80; /* port to send to (default is port 80) */ local
336 /* Process and remove optional port component */
341 port = atol(delim + 1);
364 rerr = getaddrinfo(host, NULL /* fill in port ourselves */,
373 *delim = ':'; /* Restore port */
402 a->saddr.sin_port = htons(port);
/external/wpa_supplicant_8/hs20/client/
H A Dosu_client.c934 char *proto, *port; local
952 port = node ? xml_node_get_text(ctx->xml, node) : NULL;
953 if (port) {
955 port);
956 buflen = os_strlen(proto) + os_strlen(port) + 10;
959 os_snprintf(buf, buflen, "%s:%s", proto, port);
960 xml_node_get_text_free(ctx->xml, port);
/external/wpa_supplicant_8/src/common/
H A Dwpa_ctrl.c337 char *port, *name; local
351 port = os_strchr(name, ',');
353 port = os_strchr(name, ':');
356 if (port) {
357 port_id = atoi(&port[1]);
358 port[0] = '\0';
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211.c107 uint32_t port = nl_socket_get_local_port(handle); local
109 port >>= 22;
110 port_bitmap[port / 32] &= ~(1 << (port % 32));
8829 wpa_printf(MSG_DEBUG, " * control port");
9474 wpa_printf(MSG_DEBUG, "nl80211: Set supplicant port %sauthorized for "
/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_kay.h35 u16 port; member in struct:ieee802_1x_mka_sci
/external/wpa_supplicant_8/src/radius/
H A Dradius_client.h34 * port - radiusAuthClientServerPortNumber or radiusAccClientServerPortNumber
36 int port; member in struct:hostapd_radius_server
H A Dradius_das.c313 static int radius_das_open_socket(int port) argument
326 addr.sin_port = htons(port);
342 if (conf->port == 0 || conf->shared_secret == NULL ||
367 das->sock = radius_das_open_socket(conf->port);
H A Dradius_das.h38 int port; member in struct:radius_das_conf
H A Dradius_server.c1426 static int radius_server_open_socket(int port) argument
1441 addr.sin_port = htons(port);
1453 static int radius_server_open_socket6(int port) argument
1468 addr.sin6_port = htons(port);
/external/wpa_supplicant_8/src/wps/
H A Dhttp_client.c196 char *u, *addr, *port, *path; local
206 port = os_strchr(addr, ':');
211 if (port > path)
212 port = NULL;
214 if (port)
215 *port++ = '\0';
220 "(addr='%s' port='%s')",
221 url, addr, port);
226 if (port)
227 dst->sin_port = htons(atoi(port));
[all...]
H A Dhttp_server.c34 int port; member in struct:http_server
228 struct http_server * http_server_init(struct in_addr *addr, int port, argument
257 if (port < 0)
258 srv->port = 49152;
260 srv->port = port;
267 sin.sin_port = htons(srv->port);
271 /* search for unused port */
272 if (++srv->port == 65535 || port >
[all...]
H A Dwps_upnp.c136 * certain fixed multicast IP address and port, and "control points" sending
313 int port = 80; /* port to send to (default is port 80) */ local
336 /* Process and remove optional port component */
341 port = atol(delim + 1);
364 rerr = getaddrinfo(host, NULL /* fill in port ourselves */,
373 *delim = ':'; /* Restore port */
402 a->saddr.sin_port = htons(port);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dconfig.c2451 int **port; local
2462 port = os_realloc_array(cred->req_conn_capab_port,
2464 if (port == NULL)
2466 cred->req_conn_capab_port = port;
2472 port[cred->num_req_conn_capab] = NULL;
2504 port[cred->num_req_conn_capab] = ports;
H A Dctrl_iface_udp.c338 int port = WPA_CTRL_IFACE_PORT; local
381 addr.sin6_port = htons(port);
383 addr.sin_port = htons(port);
386 port--;
387 if ((WPA_CTRL_IFACE_PORT - port) < WPA_CTRL_IFACE_PORT_LIMIT)
394 wpa_msg(wpa_s, MSG_DEBUG, "ctrl_iface_init UDP port: %d", port);
621 int port = WPA_GLOBAL_CTRL_IFACE_PORT; local
649 addr.sin_port = htons(port);
651 port
[all...]
H A Deapol_test.c903 int port, const char *secret,
934 as->port = port;
1145 "eapol_test [-enWS] -c<conf> [-a<AS IP>] [-p<AS port>] "
1159 " -p<AS port> = UDP port of the authentication server, "
901 wpa_init_conf(struct eapol_test_data *e, struct wpa_supplicant *wpa_s, const char *authsrv, int port, const char *secret, const char *cli_addr) argument
H A Dinterworking.c1222 u16 port)
1225 if (pos[0] == proto && WPA_GET_LE16(&pos[1]) == port &&
1221 has_proto_port_match(const u8 *pos, const u8 *end, u8 proto, u16 port) argument

Completed in 308 milliseconds

1234567891011>>