Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 37) sorted by relevance

12

/hostap-3.6.0/src/common/
Dwpa_ctrl.c63 struct sockaddr_in6 dest; member
66 struct sockaddr_in dest; member
75 struct sockaddr_un dest; member
216 ctrl->dest.sun_family = AF_UNIX; in wpa_ctrl_open2()
218 ctrl->dest.sun_path[0] = '\0'; in wpa_ctrl_open2()
219 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10, in wpa_ctrl_open2()
220 sizeof(ctrl->dest.sun_path) - 1); in wpa_ctrl_open2()
222 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path, in wpa_ctrl_open2()
223 sizeof(ctrl->dest.sun_path)); in wpa_ctrl_open2()
224 if (res >= sizeof(ctrl->dest.sun_path)) { in wpa_ctrl_open2()
[all …]
Deapol_common.h26 u8 dest[ETH_ALEN]; member
/hostap-3.6.0/src/wps/
Dwps_er_ssdp.c130 struct sockaddr_in dest; in wps_er_send_ssdp_msearch() local
145 os_memset(&dest, 0, sizeof(dest)); in wps_er_send_ssdp_msearch()
146 dest.sin_family = AF_INET; in wps_er_send_ssdp_msearch()
147 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); in wps_er_send_ssdp_msearch()
148 dest.sin_port = htons(UPNP_MULTICAST_PORT); in wps_er_send_ssdp_msearch()
151 (struct sockaddr *) &dest, sizeof(dest)) < 0) in wps_er_send_ssdp_msearch()
Dwps_upnp_ssdp.c228 struct sockaddr_in dest; in advertisement_state_machine_stop() local
237 os_memset(&dest, 0, sizeof(dest)); in advertisement_state_machine_stop()
238 dest.sin_family = AF_INET; in advertisement_state_machine_stop()
239 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); in advertisement_state_machine_stop()
240 dest.sin_port = htons(UPNP_MULTICAST_PORT); in advertisement_state_machine_stop()
247 0, (struct sockaddr *) &dest, sizeof(dest)) < 0) { in advertisement_state_machine_stop()
265 struct sockaddr_in dest; in advertisement_state_machine_handler() local
286 os_memset(&dest, 0, sizeof(dest)); in advertisement_state_machine_handler()
287 dest.sin_family = AF_INET; in advertisement_state_machine_handler()
288 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); in advertisement_state_machine_handler()
[all …]
/hostap-3.6.0/src/utils/
Dos_internal.c285 void * os_memcpy(void *dest, const void *src, size_t n) in os_memcpy() argument
287 char *d = dest; in os_memcpy()
291 return dest; in os_memcpy()
295 void * os_memmove(void *dest, const void *src, size_t n) in os_memmove() argument
297 if (dest < src) in os_memmove()
298 os_memcpy(dest, src, n); in os_memmove()
301 char *d = (char *) dest + n; in os_memmove()
306 return dest; in os_memmove()
439 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
447 if ((*dest++ = *s++) == '\0') in os_strlcpy()
[all …]
Dos_none.c141 void * os_memcpy(void *dest, const void *src, size_t n) in os_memcpy() argument
143 return dest; in os_memcpy()
147 void * os_memmove(void *dest, const void *src, size_t n) in os_memmove() argument
149 return dest; in os_memmove()
221 size_t os_strlcpy(char *dest, const char *src, size_t size) in os_strlcpy() argument
Dos_zephyr.c212 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
220 if ((*dest++ = *s++) == '\0') { in os_strlcpy()
229 *dest = '\0'; in os_strlcpy()
Dos_win32.c243 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
251 if ((*dest++ = *s++) == '\0') in os_strlcpy()
259 *dest = '\0'; in os_strlcpy()
Dos.h344 void * os_memcpy(void *dest, const void *src, size_t n);
355 void * os_memmove(void *dest, const void *src, size_t n);
602 size_t os_strlcpy(char *dest, const char *src, size_t siz);
Dos_unix.c491 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
499 if ((*dest++ = *s++) == '\0') in os_strlcpy()
507 *dest = '\0'; in os_strlcpy()
/hostap-3.6.0/tests/hwsim/
Drun-tests.py225 dest='loglevel', default=logging.INFO,
228 dest='loglevel', help="be quiet")
230 parser.add_argument('-S', metavar='<sqlite3 db>', dest='database',
232 parser.add_argument('--prefill-tests', action='store_true', dest='prefill',
236 parser.add_argument('-b', metavar='<build>', dest='build', help='build ID')
237 parser.add_argument('-L', action='store_true', dest='update_tests_db',
239 parser.add_argument('-T', action='store_true', dest='tracing',
241 parser.add_argument('-D', action='store_true', dest='dmesg',
243 parser.add_argument('--dbus', action='store_true', dest='dbus',
246 dest='shuffle_tests',
[all …]
Dhwsim.py89 subparsers = parser.add_subparsers(help="Commands", dest='command')
/hostap-3.6.0/tests/hwsim/vm/
Dparallel-vm.py390 p.add_argument('-f', dest='testmodules', metavar='<test module>',
393 p.add_argument('-1', dest='no_retry', action='store_const', const=True, default=False,
395 p.add_argument('--debug', dest='debug', action='store_const', const=True, default=False,
397 p.add_argument('--codecov', dest='codecov', action='store_const', const=True, default=False,
399 … p.add_argument('--shuffle-tests', dest='shuffle', action='store_const', const=True, default=False,
401 p.add_argument('--short', dest='short', action='store_const', const=True,
404 p.add_argument('--long', dest='long', action='store_const', const=True,
407 p.add_argument('--valgrind', dest='valgrind', action='store_const',
410 p.add_argument('--telnet', dest='telnet', metavar='<baseport>', type=int,
412 p.add_argument('--nocurses', dest='nocurses', action='store_const',
/hostap-3.6.0/wpaspy/
Dwpaspy.py35 self.dest = path
40 self.s.connect(self.dest)
/hostap-3.6.0/wpa_supplicant/
Dwpas_glue.h18 int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest,
Dwpas_glue.c98 int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest, in wpa_ether_send() argument
110 MAC2STR(dest), hex); in wpa_ether_send()
120 return wpa_drv_tx_control_port(wpa_s, dest, proto, buf, len, in wpa_ether_send()
125 return l2_packet_send(wpa_s->l2, dest, proto, buf, len); in wpa_ether_send()
455 static int _wpa_ether_send(void *wpa_s, const u8 *dest, u16 proto, in _wpa_ether_send() argument
458 return wpa_ether_send(wpa_s, dest, proto, buf, len); in _wpa_ether_send()
Dibss_rsn.c62 static int supp_ether_send(void *ctx, const u8 *dest, u16 proto, const u8 *buf, in supp_ether_send() argument
71 __func__, MAC2STR(dest), proto, (unsigned long) len, in supp_ether_send()
75 return wpa_drv_tx_control_port(wpa_s, dest, proto, buf, len, in supp_ether_send()
79 return l2_packet_send(wpa_s->l2, dest, proto, buf, len); in supp_ether_send()
/hostap-3.6.0/hostapd/
Dwps-ap-nfc.py272 action='store_const', dest='loglevel',
275 dest='loglevel', help='be quiet')
/hostap-3.6.0/tests/fuzzing/eapol-key-supp/
Deapol-key-supp.c109 static int supp_ether_send(void *ctx, const u8 *dest, u16 proto, const u8 *buf, in supp_ether_send() argument
116 __func__, MAC2STR(dest), proto, (unsigned long) len); in supp_ether_send()
/hostap-3.6.0/src/rsn_supp/
Dwpa_i.h269 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, in wpa_sm_ether_send() argument
273 return sm->ctx->ether_send(sm->ctx->ctx, dest, proto, buf, len); in wpa_sm_ether_send()
485 int ver, const u8 *dest, u16 proto,
Dtdls.c121 u8 dest[ETH_ALEN]; member
256 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code, in wpa_tdls_tpk_send() argument
265 MAC2STR(dest), action_code, dialog_token, status_code, in wpa_tdls_tpk_send()
268 if (wpa_tdls_send_tpk_msg(sm, dest, action_code, dialog_token, in wpa_tdls_tpk_send()
283 if (os_memcmp(peer->addr, dest, ETH_ALEN) == 0) in wpa_tdls_tpk_send()
289 "retry " MACSTR, MAC2STR(dest)); in wpa_tdls_tpk_send()
304 os_memcpy(peer->sm_tmr.dest, dest, ETH_ALEN); in wpa_tdls_tpk_send()
360 if (wpa_tdls_send_tpk_msg(sm, peer->sm_tmr.dest, in wpa_tdls_tpk_retry_timeout()
/hostap-3.6.0/src/drivers/
Ddriver_wired.c37 u8 dest[6]; member
305 os_memcpy(hdr->dest, drv->use_pae_group_addr ? pae_group_addr : addr, in wired_send_eapol()
/hostap-3.6.0/wpa_supplicant/examples/
Ddpp-qrcode.py113 action='store_const', dest='loglevel',
Dwps-nfc.py442 action='store_const', dest='loglevel',
445 dest='loglevel', help='be quiet')
/hostap-3.6.0/tests/fuzzing/eapol-supp/
Deapol-supp.c97 static int ether_send(void *arg, const u8 *dest, u16 proto, in ether_send() argument

12