Searched refs:url_len (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/wpa/src/ap/ |
H A D | hs20.c | 194 size_t url_len; in hs20_send_wnm_notification_t_c() local 201 url_len = os_strlen(url); in hs20_send_wnm_notification_t_c() 202 if (5 + url_len > 255) { in hs20_send_wnm_notification_t_c() 209 buf = wpabuf_alloc(4 + 7 + url_len); in hs20_send_wnm_notification_t_c() 220 wpabuf_put_u8(buf, 4 + 1 + url_len); in hs20_send_wnm_notification_t_c() 223 wpabuf_put_u8(buf, url_len); in hs20_send_wnm_notification_t_c()
|
H A D | wnm_ap.c | 914 size_t url_len; in wnm_send_ess_disassoc_imminent() local 937 url_len = os_strlen(url); in wnm_send_ess_disassoc_imminent() 938 if (url_len > 255) in wnm_send_ess_disassoc_imminent() 940 *pos++ = url_len; in wnm_send_ess_disassoc_imminent() 941 os_memcpy(pos, url, url_len); in wnm_send_ess_disassoc_imminent() 942 pos += url_len; in wnm_send_ess_disassoc_imminent() 967 size_t url_len; in wnm_send_bss_tm_req() local 1002 url_len = os_strlen(url); in wnm_send_bss_tm_req() 1003 if (url_len > 255) { in wnm_send_bss_tm_req() 1008 *pos++ = url_len; in wnm_send_bss_tm_req() [all …]
|
H A D | ieee802_1x.c | 1783 size_t url_len; in ieee802_1x_hs20_deauth_req() local 1788 url_len = len - 3; in ieee802_1x_hs20_deauth_req() 1790 sta->hs20_deauth_on_ack = url_len == 0; in ieee802_1x_hs20_deauth_req() 1793 *pos, WPA_GET_LE16(pos + 1), url_len); in ieee802_1x_hs20_deauth_req() 1798 wpabuf_put_u8(sta->hs20_deauth_req, url_len); in ieee802_1x_hs20_deauth_req() 1799 wpabuf_put_data(sta->hs20_deauth_req, pos + 3, url_len); in ieee802_1x_hs20_deauth_req() 1806 if (!url_len && timeout > 2) in ieee802_1x_hs20_deauth_req()
|
H A D | ap_config.h | 222 u8 url_len; member
|
H A D | gas_serv.c | 349 wpabuf_put_u8(buf, 1 + url->url_len); in anqp_add_venue_url() 351 wpabuf_put_data(buf, url->url, url->url_len); in anqp_add_venue_url()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | wnm_sta.c | 1441 u8 url_len; in ieee802_11_rx_bss_trans_mgmt_req() local 1448 url_len = *pos++; in ieee802_11_rx_bss_trans_mgmt_req() 1449 if (url_len > end - pos) { in ieee802_11_rx_bss_trans_mgmt_req() 1454 os_memcpy(url, pos, url_len); in ieee802_11_rx_bss_trans_mgmt_req() 1455 url[url_len] = '\0'; in ieee802_11_rx_bss_trans_mgmt_req() 1456 pos += url_len; in ieee802_11_rx_bss_trans_mgmt_req() 1761 u8 url_len; in ieee802_11_rx_wnm_notif_req_wfa() local 1769 url_len = *pos++; in ieee802_11_rx_wnm_notif_req_wfa() 1770 if (url_len == 0) { in ieee802_11_rx_wnm_notif_req_wfa() 1775 if (url_len + 1 > ie_end - pos) { in ieee802_11_rx_wnm_notif_req_wfa() [all …]
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_upnp.c | 316 size_t url_len) in subscr_addr_add_url() argument 335 if (url_len < 7 || os_strncasecmp(url, "http://", 7) || url_len > 700) { in subscr_addr_add_url() 340 url_len -= 7; in subscr_addr_add_url() 343 scratch_mem = dup_binstr(url, url_len); in subscr_addr_add_url()
|
/freebsd/contrib/wpa/src/radius/ |
H A D | radius_server.c | 998 size_t url_len = os_strlen(data->subscr_remediation_url); in radius_server_encapsulate_eap() local 999 buf = os_malloc(1 + url_len); in radius_server_encapsulate_eap() 1005 os_memcpy(&buf[1], data->subscr_remediation_url, url_len); in radius_server_encapsulate_eap() 1008 buf, 1 + url_len)) { in radius_server_encapsulate_eap() 1024 size_t prefix_len, url_len; in radius_server_encapsulate_eap() local 1041 url_len = prefix_len + 2 * HS20_MOBILE_ID_HASH_LEN; in radius_server_encapsulate_eap() 1042 buf = os_malloc(1 + url_len + 1); in radius_server_encapsulate_eap() 1057 buf, 1 + url_len)) { in radius_server_encapsulate_eap() 1067 size_t url_len; in radius_server_encapsulate_eap() local 1090 url_len = os_strlen(url) + ETH_ALEN * 3 - 1 - 3; in radius_server_encapsulate_eap() [all …]
|
/freebsd/contrib/wpa/hostapd/ |
H A D | ctrl_iface.c | 630 size_t url_len; in hostapd_ctrl_iface_hs20_deauth_req() local 649 url_len = 0; in hostapd_ctrl_iface_hs20_deauth_req() 653 url_len = os_strlen(pos); in hostapd_ctrl_iface_hs20_deauth_req() 656 req = wpabuf_alloc(4 + url_len); in hostapd_ctrl_iface_hs20_deauth_req() 661 wpabuf_put_u8(req, url_len); in hostapd_ctrl_iface_hs20_deauth_req() 663 wpabuf_put_data(req, pos, url_len); in hostapd_ctrl_iface_hs20_deauth_req()
|
H A D | config_file.c | 1406 url->url_len = nlen; in parse_venue_url()
|