HomeSort by relevance Sort by last modified time
    Searched refs:iob (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/syslinux/gpxe/src/net/
eapol.c 37 * @v iob I/O buffer
43 static int eapol_rx ( struct io_buffer *iob, struct net_device *netdev,
46 struct eapol_frame *eapol = iob->data;
49 if ( iob_len ( iob ) < EAPOL_HDR_LEN ) {
50 free_iob ( iob );
56 iob_pull ( iob, EAPOL_HDR_LEN );
57 return handler->rx ( iob, netdev, ll_source );
61 free_iob ( iob );
  /external/syslinux/gpxe/src/core/
gdbudp.c 59 struct io_buffer *iob; local
70 while ( ( iob = netdev_rx_dequeue ( netdev ) ) != NULL ) {
72 if ( iob_len ( iob ) < sizeof ( *ethhdr ) ) {
75 ethhdr = iob->data;
76 iob_pull ( iob, sizeof ( *ethhdr ) );
80 arphdr = iob->data;
81 if ( iob_len ( iob ) < sizeof ( *arphdr ) + 2 * ( ETH_ALEN + sizeof ( struct in_addr ) ) ||
98 ethhdr = iob_push ( iob, sizeof ( *ethhdr ) );
102 netdev_tx ( netdev, iob );
103 continue; /* no need to free iob */
157 struct io_buffer *iob; local
    [all...]
  /external/syslinux/gpxe/src/include/gpxe/
sec80211.h 41 int _sec80211_detect ( struct io_buffer *iob,
50 * @v iob I/O buffer containing beacon frame
59 static inline int sec80211_detect ( struct io_buffer *iob,
63 return _sec80211_detect ( iob, secprot, crypt );
eapol.h 91 * @v iob I/O buffer containing packet payload
97 * @c iob->data points to the first byte of the payload.
101 int ( * rx ) ( struct io_buffer *iob, struct net_device *netdev,
net80211.h 545 struct io_buffer *iob[16]; member in struct:net80211_frag_cache
713 * @v iob I/O buffer
724 * iob, including the 802.11 header, but with the PROTECTED
734 struct io_buffer *iob );
740 * @ret iob Newly allocated I/O buffer with decrypted packet
760 struct io_buffer *iob );
    [all...]
  /external/syslinux/gpxe/src/net/80211/
wep.c 112 * @v iob I/O buffer of plaintext packet
118 struct io_buffer *iob )
124 int datalen = iob_len ( iob ) - hdrlen;
132 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen );
145 cipher_encrypt ( &arc4_algorithm, &ctx->arc4, iob->data + hdrlen,
149 icv = ~crc32_le ( ~0, iob->data + hdrlen, datalen );
161 * @ret iob Newly allocated I/O buffer for plaintext packet, or NULL
170 struct io_buffer *iob; local
177 iob = alloc_iob ( newlen );
178 if ( ! iob )
    [all...]
wpa_ccmp.c 315 * @v iob I/O buffer containing cleartext packet
319 struct io_buffer *iob )
322 struct ieee80211_frame *hdr = iob->data;
325 int datalen = iob_len ( iob ) - hdrlen;
336 eiob = alloc_iob ( iob_len ( iob ) + CCMP_HEAD_LEN + CCMP_MIC_LEN );
341 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen );
363 ccmp_cbc_mac ( ctx, &nonce, iob->data + hdrlen, datalen, &aad, mic );
369 iob->data + hdrlen, edata, datalen,
374 iob, eiob );
384 * @ret iob I/O buffer containing cleartext packe
391 struct io_buffer *iob; local
    [all...]
wpa_tkip.c 371 * @v iob I/O buffer containing cleartext packet
375 struct io_buffer *iob )
378 struct ieee80211_frame *hdr = iob->data;
386 int datalen = iob_len ( iob ) - hdrlen;
397 eiob = alloc_iob ( iob_len ( iob ) + TKIP_HEAD_LEN + TKIP_FOOT_LEN );
402 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen );
414 cipher_encrypt ( &arc4_algorithm, &arc4, iob->data + hdrlen,
418 hdr = iob->data;
420 iob->data + hdrlen, datalen, mic );
425 icv = crc32_le ( ~0, iob->data + hdrlen, datalen )
449 struct io_buffer *iob; local
    [all...]
net80211.c 189 struct io_buffer *iob );
191 struct io_buffer *iob );
195 struct io_buffer *iob, int signal );
206 struct io_buffer *iob, int signal );
354 /* Free the non-encrypted iob */
357 /* Transmit the encrypted iob; the Protected flag is
676 * @ret iob I/O buffer, or NULL if no management frame is queued
712 * @v iob I/O buffer
720 * It is required that @a iob have at least 24 bytes of headroom
724 struct io_buffer *iob )
1377 struct io_buffer *iob; local
2216 struct io_buffer *iob = alloc_iob ( 64 ); local
2303 struct io_buffer *iob = alloc_iob ( 128 ); local
2377 struct io_buffer *iob = alloc_iob ( 64 ); local
    [all...]
  /external/syslinux/gpxe/src/drivers/net/ath5k/
ath5k.c 222 if (!bf->iob)
225 net80211_tx_complete(sc->dev, bf->iob, 0, ECANCELED);
226 bf->iob = NULL;
232 free_iob(bf->iob);
233 bf->iob = NULL;
780 struct io_buffer *iob; local
787 iob = alloc_iob(sc->rxbufsize + sc->cachelsz - 1);
789 if (!iob) {
795 *iob_addr = virt_to_bus(iob->data);
804 iob_reserve(iob, sc->cachelsz - off)
815 struct io_buffer *iob = bf->iob; local
862 struct io_buffer *iob = bf->iob; local
1139 struct io_buffer *iob, *next_iob; local
1274 struct io_buffer *iob; local
    [all...]
  /development/ndk/platforms/android-9/arch-mips/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /external/syslinux/gpxe/src/drivers/net/
myri10ge.c 205 * @v iob The I/O buffer to fill.
210 struct io_buffer *iob )
219 priv->receive_iob[receives_posted & MYRI10GE_RECEIVE_WRAP] = iob;
227 request->addr_low = htonl ( virt_to_bus ( iob->data ) );
341 struct io_buffer *iob; local
343 iob = priv->transmit_iob [priv->transmits_done
345 DBG2 ( "%p ", iob );
346 netdev_tx_complete ( netdev, iob );
675 struct io_buffer *iob; local
838 iob = alloc_iob ( MXGEFW_PAD + ETH_FRAME_LEN )
879 struct io_buffer *iob; local
    [all...]
  /prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r10/platforms/android-14/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r10/platforms/android-15/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r10/platforms/android-16/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r10/platforms/android-17/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r10/platforms/android-18/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r10/platforms/android-19/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r10/platforms/android-9/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r11/platforms/android-12/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r11/platforms/android-13/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r11/platforms/android-14/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro
  /prebuilts/ndk/r11/platforms/android-15/arch-mips/usr/include/asm/
barrier.h 35 #define iob() fast_iob() macro

Completed in 447 milliseconds

1 2 3