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

1 2

  /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...]
wpa.c 216 struct io_buffer *iob; local
229 iob = dev->associating->beacon;
230 hdr = iob->data;
232 ap_rsn_ie = sec80211_find_rsn ( beacon->info_element, iob->tail,
441 * @ret iob Newly allocated I/O buffer
444 * EAPOL headers, and will have @c iob->tail pointing to the start of
467 * @v iob I/O buffer, with sufficient headroom for headers
475 static int wpa_send_eapol ( struct io_buffer *iob, struct wpa_common_ctx *ctx,
478 struct eapol_key_pkt *pkt = iob->data;
479 struct eapol_frame *eapol = iob_push ( iob, EAPOL_HDR_LEN )
513 struct io_buffer *iob = wpa_alloc_frame ( ctx->dev->rsn_ie->len + 2 ); local
606 struct io_buffer *iob = wpa_alloc_frame ( 0 ); local
    [all...]
sec80211.c 380 * @v iob I/O buffer containing beacon frame
391 int _sec80211_detect ( struct io_buffer *iob,
395 struct ieee80211_frame *hdr = iob->data;
405 if ( ! ( rsn = sec80211_find_rsn ( beacon->info_element, iob->tail,
  /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...]
base.h 60 struct io_buffer *iob; /* I/O buffer for buf */ member in struct:ath5k_buf
61 u32 iobaddr;/* physical addr of iob data */
  /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...]
sis190.c 205 struct io_buffer *iob; local
207 iob = alloc_iob(RX_BUF_SIZE);
208 if (iob) {
211 mapping = virt_to_bus(iob->data);
218 return iob;
269 struct io_buffer *iob = tp->Rx_iobuf[entry]; local
280 iob_put(iob, pkt_size);
283 netdev_rx(tp->dev, iob);
284 DBGIO_HD(iob->data, 60);
322 struct io_buffer *iob; local
    [all...]
atl1e.c 272 if (tx_buffer->iob) {
273 netdev_tx_complete(adapter->netdev, tx_buffer->iob);
275 tx_buffer->iob = NULL;
732 if (tx_buffer->iob) {
733 netdev_tx_complete(adapter->netdev, tx_buffer->iob);
734 tx_buffer->iob = NULL;
762 struct io_buffer *iob = NULL; local
800 iob = alloc_iob(packet_size + NET_IP_ALIGN);
801 if (iob == NULL) {
806 iob_reserve(iob, NET_IP_ALIGN)
    [all...]
eepro100.c 452 if ( tcb->status || tcb->iob ) {
464 tcb->iob = iobuf;
842 struct io_buffer *iob = priv->rx_iobs[cur_rx]; local
850 while ( iob && rfd && ( status = rfd->status ) ) {
860 netdev_rx_err ( netdev, iob, -EINVAL );
863 iob_put ( iob, rx_len );
864 DBG2 ( "Received packet: %p, len: %d\n", iob, rx_len );
865 netdev_rx ( netdev, iob );
875 iob = priv->rx_iobs[cur_rx];
1039 while ( ( status = tcb->status ) && tcb->iob ) {
    [all...]
sky2.c 936 struct io_buffer *iob = re->iob; local
937 re->data_addr = virt_to_bus(iob->data);
997 if (re->iob) {
998 free_iob(re->iob);
999 re->iob = NULL;
1005 * Allocate an iob for receiving.
1009 struct io_buffer *iob; local
1011 iob = alloc_iob(sky2->rx_data_size + ETH_DATA_ALIGN);
1012 if (!iob)
1548 struct io_buffer *iob, *niob; local
1574 struct io_buffer *iob = NULL; local
1652 struct io_buffer *iob; local
    [all...]
skge.c 70 static int skge_xmit_frame(struct net_device *dev, struct io_buffer *iob);
342 struct io_buffer *iob, unsigned int bufsize)
347 map = ( iob != NULL ) ? virt_to_bus(iob->data) : 0;
351 e->iob = iob;
389 if (e->iob) {
390 free_iob(e->iob);
391 e->iob = NULL;
1971 struct io_buffer *iob; local
2014 struct io_buffer *iob; local
    [all...]
etherfabric.c 3667 struct io_buffer *iob; local
3704 struct io_buffer *iob; local
3778 struct io_buffer *iob = tx_queue->buf[read_ptr]; local
    [all...]
b44.c 843 struct io_buffer *iob; /* received data */ local
851 iob = bp->rx_iobuf[i];
852 if (iob == NULL)
855 rh = iob->data;
875 netdev_rx_err(bp->netdev, iob, -EINVAL);
885 iob_reserve(iob, RX_PKT_OFFSET);
886 iob_put(iob, len);
887 netdev_rx(bp->netdev, iob);
3c90x.c 321 * @v iob io_buffer containing the data to be send
326 struct io_buffer *iob)
342 inf_3c90x->tx_iobuf[inf_3c90x->tx_cur] = iob;
348 len = iob_len(iob);
360 tx_cur_desc->DataAddr = virt_to_bus(iob->data);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
richole.h 75 STDMETHOD (GetObject) (THIS_ LONG iob, REOBJECT *lpreobject, DWORD dwFlags) PURE;
77 STDMETHOD (ConvertObject) (THIS_ LONG iob, REFCLSID rclsidNew, LPCSTR lpstrUserTypeNew) PURE;
80 STDMETHOD (SetLinkAvailable) (THIS_ LONG iob, WINBOOL fAvailable) PURE;
81 STDMETHOD (SetDvaspect) (THIS_ LONG iob, DWORD dvaspect) PURE;
82 STDMETHOD (HandsOffStorage) (THIS_ LONG iob) PURE;
83 STDMETHOD (SaveCompleted) (THIS_ LONG iob, LPSTORAGE lpstg) PURE;
  /external/syslinux/gpxe/src/drivers/net/rtl818x/
rtl818x.c 69 struct io_buffer *iob = priv->rx_buf[priv->rx_idx]; local
97 iob_put(iob, flags & 0xFFF);
99 net80211_rx(dev, iob, (flags2 >> 8) & 0x7f,
102 iob = new_iob;
103 priv->rx_buf[priv->rx_idx] = iob;
107 entry->rx_buf = cpu_to_le32(virt_to_bus(iob->data));
124 struct io_buffer *iob = priv->tx_buf[priv->tx_cons]; local
128 if ((flags & RTL818X_TX_DESC_FLAG_OWN) || !iob)
137 net80211_tx_complete(dev, iob, flags & 0xFF, rc);
163 static int rtl818x_tx(struct net80211_device *dev, struct io_buffer *iob)
343 struct io_buffer *iob = alloc_iob(MAX_RX_SIZE); local
    [all...]
  /external/syslinux/gpxe/src/drivers/net/e1000/
e1000.c 307 struct io_buffer *iob; local
323 iob = alloc_iob ( MAXIMUM_ETHERNET_VLAN_SIZE );
324 adapter->rx_iobuf[rx_curr] = iob;
326 if ( ! iob ) {
331 rx_curr_desc->buffer_addr = virt_to_bus ( iob->data );
    [all...]

Completed in 1550 milliseconds

1 2