Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 25 of 48) sorted by relevance

12

/hostap-latest/tests/hwsim/
Dnetlink.py109 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
Dstart.sh174 for j in `seq 1 10`; do
186 for j in `seq 1 10`; do
197 for j in `seq 1 10`; do
Dstop.sh43 for i in `seq 1 5`; do
/hostap-latest/wlantest/
Drx_ip.c20 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()
Dgcmp.c22 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()
Dccmp.c22 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/
Dedit.c726 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/
Dibss_rsn.c148 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()
Dmesh_rsn.c107 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()
Ddriver_i.h152 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/
Dwpa_auth_ft.c1070 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 …]
Dap_drv_ops.c410 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()
Dwpa_auth.h100 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);
Dap_drv_ops.h70 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/
Dpasn_initiator.c80 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 …]
Dpasn_responder.c46 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/
Ddriver_privsep.c217 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()
Ddriver_bsd.c323 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()
Ddriver_hostap.h168 u8 seq[8]; /* sequence counter (set: RX, get: TX) */ member
Ddriver_wext.c1719 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/
Deap_server.c705 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/
Deapol-key-supp.c177 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/
Dprivsep_commands.h81 u8 seq[8]; member
/hostap-latest/hostapd/
Dhlr_auc_gw.c714 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/
Dwpa_i.h261 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()

12