Home
last modified time | relevance | path

Searched refs:COOKIE_LEN (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c26 #define COOKIE_LEN 8 macro
50 u8 cookie[COOKIE_LEN];
137 reply = os_malloc(7 + 2 * COOKIE_LEN + 1); in wpa_supplicant_ctrl_iface_get_cookie()
144 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1, in wpa_supplicant_ctrl_iface_get_cookie()
145 priv->cookie, COOKIE_LEN); in wpa_supplicant_ctrl_iface_get_cookie()
147 *reply_len = 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_get_cookie()
164 u8 cookie[COOKIE_LEN]; in wpa_supplicant_ctrl_iface_receive()
203 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) { in wpa_supplicant_ctrl_iface_receive()
209 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) { in wpa_supplicant_ctrl_iface_receive()
215 pos = buf + 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_receive()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/
Dctrl_iface_udp.c26 #define COOKIE_LEN 8 macro
50 u8 cookie[COOKIE_LEN];
137 reply = os_malloc(7 + 2 * COOKIE_LEN + 1); in wpa_supplicant_ctrl_iface_get_cookie()
144 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1, in wpa_supplicant_ctrl_iface_get_cookie()
145 priv->cookie, COOKIE_LEN); in wpa_supplicant_ctrl_iface_get_cookie()
147 *reply_len = 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_get_cookie()
164 u8 cookie[COOKIE_LEN]; in wpa_supplicant_ctrl_iface_receive()
203 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) { in wpa_supplicant_ctrl_iface_receive()
209 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) { in wpa_supplicant_ctrl_iface_receive()
215 pos = buf + 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_receive()
[all …]
/external/wpa_supplicant/
Dctrl_iface_udp.c26 #define COOKIE_LEN 8 macro
50 u8 cookie[COOKIE_LEN];
137 reply = os_malloc(7 + 2 * COOKIE_LEN + 1); in wpa_supplicant_ctrl_iface_get_cookie()
144 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1, in wpa_supplicant_ctrl_iface_get_cookie()
145 priv->cookie, COOKIE_LEN); in wpa_supplicant_ctrl_iface_get_cookie()
147 *reply_len = 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_get_cookie()
164 u8 cookie[COOKIE_LEN]; in wpa_supplicant_ctrl_iface_receive()
203 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) { in wpa_supplicant_ctrl_iface_receive()
209 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) { in wpa_supplicant_ctrl_iface_receive()
215 pos = buf + 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_receive()
[all …]