/hostap-latest/tests/hwsim/ |
D | netlink.py | 109 def __init__(self, msg_type, flags=0, seq=-1, payload=None): argument 112 self.seq = seq 123 if self.seq == -1: 124 self.seq = conn.seq() 130 self.flags, self.seq, self.pid) 135 self.type, self.pid, self.seq, self.flags, repr(self.payload)) 146 if m.seq == self.seq: 165 msglen, msg_type, flags, seq, pid = struct.unpack("IHHII", 167 msg = Message(msg_type, flags, seq, contents[16:]) 178 def seq(self): member in Connection
|
D | start.sh | 174 for j in `seq 1 10`; do 186 for j in `seq 1 10`; do 197 for j in `seq 1 10`; do
|
D | stop.sh | 43 for i in `seq 1 5`; do
|
/hostap-latest/wlantest/ |
D | rx_ip.c | 20 u32 src, u32 dst, u16 id, u16 seq) in ping_update() argument 26 sta->icmp_echo_req_seq = seq; in ping_update() 33 sta->icmp_echo_req_seq == seq) { in ping_update() 52 u16 id, seq; in rx_data_icmp() local 68 seq = ntohs(hdr->un.echo.sequence); in rx_data_icmp() 75 inet_ntoa(addr), buf, id, seq, (unsigned) len - 8, in rx_data_icmp() 95 ping_update(wt, sta, hdr->type == ICMP_ECHO, src, dst, id, seq); in rx_data_icmp() 97 ping_update(wt, sta, hdr->type == ICMP_ECHO, src, dst, id, seq); in rx_data_icmp()
|
D | gcmp.c | 22 u16 fc, stype, seq; in gcmp_aad_nonce() local 55 seq = le_to_host16(hdr->seq_ctrl); in gcmp_aad_nonce() 56 seq &= ~0xfff0; /* Mask Seq#; do not modify Frag# */ in gcmp_aad_nonce() 57 WPA_PUT_LE16(pos, seq); in gcmp_aad_nonce()
|
D | ccmp.c | 22 u16 fc, stype, seq; in ccmp_aad_nonce() local 60 seq = le_to_host16(hdr->seq_ctrl); in ccmp_aad_nonce() 61 seq &= ~0xfff0; /* Mask Seq#; do not modify Frag# */ in ccmp_aad_nonce() 62 WPA_PUT_LE16(pos, seq); in ccmp_aad_nonce()
|
/hostap-latest/src/utils/ |
D | edit.c | 726 static enum edit_key_code esc_seq_to_key(char *seq) in esc_seq_to_key() argument 733 for (pos = seq; *pos; pos++) in esc_seq_to_key() 736 if (seq[1] >= '0' && seq[1] <= '9') { in esc_seq_to_key() 737 param1 = atoi(&seq[1]); in esc_seq_to_key() 738 pos = os_strchr(seq, ';'); in esc_seq_to_key() 743 if (seq[0] == '[') in esc_seq_to_key() 745 else if (seq[0] == 'O') in esc_seq_to_key() 752 printf("\rUnknown escape sequence '%s'\n", seq); in esc_seq_to_key()
|
/hostap-latest/wpa_supplicant/ |
D | ibss_rsn.c | 148 const u8 *seq, size_t seq_len, in supp_set_key() argument 156 wpa_hexdump(MSG_DEBUG, "SUPP: set_key - seq", seq, seq_len); in supp_set_key() 176 key_idx, set_tx, seq, seq_len, key, key_len, in supp_set_key() 321 u8 seq[6]; in auth_set_key() local 323 os_memset(seq, 0, sizeof(seq)); in auth_set_key() 357 1, seq, 6, key, key_len, key_flag); in auth_set_key() 503 static int ibss_rsn_send_auth(struct ibss_rsn *ibss_rsn, const u8 *da, int seq) in ibss_rsn_send_auth() argument 518 auth.u.auth.auth_transaction = host_to_le16(seq); in ibss_rsn_send_auth() 522 seq, MAC2STR(da)); in ibss_rsn_send_auth()
|
D | mesh_rsn.c | 107 u8 seq[6]; in auth_set_key() local 109 os_memset(seq, 0, sizeof(seq)); in auth_set_key() 122 1, seq, 6, key, key_len, key_flag); in auth_set_key() 173 u8 seq[6] = {}; in __mesh_rsn_auth_init() local 219 seq, sizeof(seq), rsn->igtk, rsn->igtk_len, in __mesh_rsn_auth_init() 228 rsn->mgtk_key_id, 1, seq, sizeof(seq), in __mesh_rsn_auth_init()
|
D | driver_i.h | 152 const u8 *seq, size_t seq_len, in wpa_drv_set_key() argument 164 params.seq = seq; in wpa_drv_set_key() 191 const u8 *addr, int idx, u8 *seq) in wpa_drv_get_seqnum() argument 195 addr, idx, -1, seq); in wpa_drv_get_seqnum()
|
/hostap-latest/src/ap/ |
D | wpa_auth_ft.c | 1070 RRB_GET_AUTH(FT_RRB_SEQ, seq, msgtype, sizeof(*msg_both)); in wpa_ft_rrb_seq_chk() 1096 msg_seq = le_to_host32(msg_both->seq); in wpa_ft_rrb_seq_chk() 1140 RRB_GET_AUTH(FT_RRB_SEQ, seq, msgtype, sizeof(*msg_both)); in wpa_ft_rrb_seq_accept() 1143 msg_seq = le_to_host32(msg_both->seq); in wpa_ft_rrb_seq_accept() 1178 if (random_get_bytes((u8 *) &rkh_seq->tx.seq, in wpa_ft_new_seq() 1179 sizeof(rkh_seq->tx.seq))) { in wpa_ft_new_seq() 1182 rkh_seq->tx.seq = now.usec; in wpa_ft_new_seq() 1194 f_seq->seq = host_to_le32(rkh_seq->tx.seq); in wpa_ft_new_seq() 1197 rkh_seq->tx.seq++; in wpa_ft_new_seq() 1561 if (r0kh->seq) in wpa_ft_rrb_init_r0kh_seq() [all …]
|
D | ap_drv_ops.c | 410 u16 seq, u16 status, const u8 *ie, size_t len) in hostapd_sta_auth() argument 444 params.seq = seq; in hostapd_sta_auth() 619 const u8 *addr, int idx, int link_id, u8 *seq) in hostapd_get_seqnum() argument 624 link_id, seq); in hostapd_get_seqnum() 814 const u8 *seq, size_t seq_len, in hostapd_drv_set_key() argument 828 params.seq = seq; in hostapd_drv_set_key()
|
D | wpa_auth.h | 100 le32 seq; member 158 struct ft_remote_seq *seq; member 167 struct ft_remote_seq *seq; member 373 int (*get_seqnum)(void *ctx, const u8 *addr, int idx, u8 *seq);
|
D | ap_drv_ops.h | 70 const u8 *addr, int idx, int link_id, u8 *seq); 102 const u8 *seq, size_t seq_len, 130 u16 seq, u16 status, const u8 *ie, size_t len);
|
/hostap-latest/src/pasn/ |
D | pasn_initiator.c | 80 u16 len, res, alg, seq, status; in wpas_pasn_wd_sae_rx() local 106 seq = WPA_GET_LE16(data + 2); in wpas_pasn_wd_sae_rx() 110 alg, seq, status); in wpas_pasn_wd_sae_rx() 112 if (alg != WLAN_AUTH_SAE || seq != 1 || in wpas_pasn_wd_sae_rx() 151 seq = WPA_GET_LE16(data + 2); in wpas_pasn_wd_sae_rx() 155 alg, seq, status); in wpas_pasn_wd_sae_rx() 157 if (alg != WLAN_AUTH_SAE || seq != 2 || status != WLAN_STATUS_SUCCESS) { in wpas_pasn_wd_sae_rx() 311 u16 alg, seq, status; in wpas_pasn_wd_fils_rx() local 330 seq = WPA_GET_LE16(data + 2); in wpas_pasn_wd_fils_rx() 334 alg, seq, status); in wpas_pasn_wd_fils_rx() [all …]
|
D | pasn_responder.c | 46 u16 res, alg, seq, status; in pasn_wd_handle_sae_commit() local 63 seq = WPA_GET_LE16(data + 2); in pasn_wd_handle_sae_commit() 67 alg, seq, status); in pasn_wd_handle_sae_commit() 69 if (alg != WLAN_AUTH_SAE || seq != 1 || in pasn_wd_handle_sae_commit() 121 u16 res, alg, seq, status; in pasn_wd_handle_sae_confirm() local 136 seq = WPA_GET_LE16(data + 2); in pasn_wd_handle_sae_confirm() 140 alg, seq, status); in pasn_wd_handle_sae_confirm() 142 if (alg != WLAN_AUTH_SAE || seq != 2 || status != WLAN_STATUS_SUCCESS) { in pasn_wd_handle_sae_confirm()
|
/hostap-latest/src/drivers/ |
D | driver_privsep.c | 217 const u8 *seq = params->seq; in wpa_driver_privsep_set_key() local 234 if (seq && seq_len > 0 && seq_len < sizeof(cmd.seq)) { in wpa_driver_privsep_set_key() 235 os_memcpy(cmd.seq, seq, seq_len); in wpa_driver_privsep_set_key()
|
D | driver_bsd.c | 323 const u8 *seq = params->seq; in bsd_set_key() local 392 if (seq) { in bsd_set_key() 401 keyrsc[WPA_KEY_RSC_LEN - i - 1] = seq[i]; in bsd_set_key() 403 os_memcpy(&wk.ik_keyrsc, seq, seq_len); in bsd_set_key() 909 int link_id, u8 *seq) in bsd_get_seqnum() argument 938 seq[i] = tmp[WPA_KEY_RSC_LEN - i - 1]; in bsd_get_seqnum() 942 memcpy(seq, &wk.ik_keytsc, sizeof(wk.ik_keytsc)); in bsd_get_seqnum()
|
D | driver_hostap.h | 168 u8 seq[8]; /* sequence counter (set: RX, get: TX) */ member
|
D | driver_wext.c | 1719 int set_tx, const u8 *seq, in wpa_driver_wext_set_key_ext() argument 1788 if (seq && seq_len) { in wpa_driver_wext_set_key_ext() 1790 os_memcpy(ext->rx_seq, seq, seq_len); in wpa_driver_wext_set_key_ext() 1831 const u8 *seq = params->seq; in wpa_driver_wext_set_key() local 1842 seq, seq_len, key, key_len, key_flag); in wpa_driver_wext_set_key()
|
/hostap-latest/src/eap_server/ |
D | eap_server.c | 705 u8 flags, u16 seq, const char *nai) in erp_send_finish_reauth() argument 736 wpabuf_put_be16(msg, seq); in erp_send_finish_reauth() 775 WPA_PUT_BE16(seed, seq); in erp_send_finish_reauth() 803 u16 seq; in SM_STATE() local 834 seq = WPA_GET_BE16(pos); in SM_STATE() 836 wpa_printf(MSG_DEBUG, "EAP: Flags=0x%x SEQ=%u", flags, seq); in SM_STATE() 889 if (erp->recv_seq != (u32) -1 && erp->recv_seq >= seq) { in SM_STATE() 892 seq, erp->recv_seq); in SM_STATE() 982 erp->keyname_nai, seq); in SM_STATE() 983 erp->recv_seq = seq; in SM_STATE() [all …]
|
/hostap-latest/tests/fuzzing/eapol-key-supp/ |
D | eapol-key-supp.c | 177 const u8 *seq, size_t seq_len, in supp_set_key() argument 184 wpa_hexdump(MSG_DEBUG, "SUPP: set_key - seq", seq, seq_len); in supp_set_key()
|
/hostap-latest/src/common/ |
D | privsep_commands.h | 81 u8 seq[8]; member
|
/hostap-latest/hostapd/ |
D | hlr_auc_gw.c | 714 u64 val, seq, ind; in inc_sqn() local 726 seq = (val >> ind_len) + 1; in inc_sqn() 728 val = (seq << ind_len) | ind; in inc_sqn()
|
/hostap-latest/src/rsn_supp/ |
D | wpa_i.h | 261 int set_tx, const u8 *seq, size_t seq_len, in wpa_sm_set_key() argument 267 set_tx, seq, seq_len, key, key_len, key_flag); in wpa_sm_set_key()
|