• Home
  • Raw
  • Download

Lines Matching refs:iob

216 	struct io_buffer *iob;  in wpa_start()  local
229 iob = dev->associating->beacon; in wpa_start()
230 hdr = iob->data; in wpa_start()
232 ap_rsn_ie = sec80211_find_rsn ( beacon->info_element, iob->tail, in wpa_start()
475 static int wpa_send_eapol ( struct io_buffer *iob, struct wpa_common_ctx *ctx, in wpa_send_eapol() argument
478 struct eapol_key_pkt *pkt = iob->data; in wpa_send_eapol()
479 struct eapol_frame *eapol = iob_push ( iob, EAPOL_HDR_LEN ); in wpa_send_eapol()
487 eapol->length = htons ( iob->tail - iob->data - sizeof ( *eapol ) ); in wpa_send_eapol()
495 return net_tx ( iob, ctx->dev->netdev, &eapol_protocol, in wpa_send_eapol()
513 struct io_buffer *iob = wpa_alloc_frame ( ctx->dev->rsn_ie->len + 2 ); in wpa_send_2_of_4() local
516 if ( ! iob ) in wpa_send_2_of_4()
519 npkt = iob->data; in wpa_send_2_of_4()
527 memcpy ( iob_put ( iob, npkt->datalen ), ctx->dev->rsn_ie, in wpa_send_2_of_4()
532 return wpa_send_eapol ( iob, ctx, kie ); in wpa_send_2_of_4()
606 struct io_buffer *iob = wpa_alloc_frame ( 0 ); in wpa_send_final() local
609 if ( ! iob ) in wpa_send_final()
612 npkt = iob->data; in wpa_send_final()
627 return wpa_send_eapol ( iob, ctx, kie ); in wpa_send_final()
826 static int eapol_key_rx ( struct io_buffer *iob, struct net_device *netdev, in eapol_key_rx() argument
830 struct eapol_key_pkt *pkt = iob->data; in eapol_key_rx()
879 if ( ( void * ) ( pkt + 1 ) + ntohs ( pkt->datalen ) > iob->tail ) { in eapol_key_rx()
881 "states %d)\n", ctx, iob->tail - ( void * ) ( pkt + 1 ), in eapol_key_rx()
963 free_iob ( iob ); in eapol_key_rx()