/hostap-3.6.0/src/common/ |
D | wpa_ctrl.c | 63 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 …]
|
D | eapol_common.h | 26 u8 dest[ETH_ALEN]; member
|
/hostap-3.6.0/src/wps/ |
D | wps_er_ssdp.c | 130 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()
|
D | wps_upnp_ssdp.c | 228 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/ |
D | os_internal.c | 285 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 …]
|
D | os_none.c | 141 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
|
D | os_zephyr.c | 212 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()
|
D | os_win32.c | 243 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()
|
D | os.h | 344 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);
|
D | os_unix.c | 491 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/ |
D | run-tests.py | 225 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 …]
|
D | hwsim.py | 89 subparsers = parser.add_subparsers(help="Commands", dest='command')
|
/hostap-3.6.0/tests/hwsim/vm/ |
D | parallel-vm.py | 390 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/ |
D | wpaspy.py | 35 self.dest = path 40 self.s.connect(self.dest)
|
/hostap-3.6.0/wpa_supplicant/ |
D | wpas_glue.h | 18 int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest,
|
D | wpas_glue.c | 98 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()
|
D | ibss_rsn.c | 62 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/ |
D | wps-ap-nfc.py | 272 action='store_const', dest='loglevel', 275 dest='loglevel', help='be quiet')
|
/hostap-3.6.0/tests/fuzzing/eapol-key-supp/ |
D | eapol-key-supp.c | 109 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/ |
D | wpa_i.h | 269 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,
|
D | tdls.c | 121 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/ |
D | driver_wired.c | 37 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/ |
D | dpp-qrcode.py | 113 action='store_const', dest='loglevel',
|
D | wps-nfc.py | 442 action='store_const', dest='loglevel', 445 dest='loglevel', help='be quiet')
|
/hostap-3.6.0/tests/fuzzing/eapol-supp/ |
D | eapol-supp.c | 97 static int ether_send(void *arg, const u8 *dest, u16 proto, in ether_send() argument
|