/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ |
H A D | ath_main.c | 28 struct io_buffer *iob; local 44 iob = alloc_iob(len + common->cachelsz - 1); 45 if (iob != NULL) { 46 *iob_addr = virt_to_bus(iob->data); 47 off = ((unsigned long) iob->data) % common->cachelsz; 50 iob_reserve(iob, common->cachelsz - off); 58 return iob;
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/ |
H A D | eapol.c | 37 * @v iob I/O buffer 45 static int eapol_rx ( struct io_buffer *iob, struct net_device *netdev, argument 48 struct eapol_frame *eapol = iob->data; 51 if ( iob_len ( iob ) < EAPOL_HDR_LEN ) { 52 free_iob ( iob ); 58 iob_pull ( iob, EAPOL_HDR_LEN ); 59 return handler->rx ( iob, netdev, ll_dest, ll_source ); 63 free_iob ( iob );
|
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | gdbudp.c | 61 struct io_buffer *iob; local 72 while ( ( iob = netdev_rx_dequeue ( netdev ) ) != NULL ) { 74 if ( iob_len ( iob ) < sizeof ( *ethhdr ) ) { 77 ethhdr = iob->data; 78 iob_pull ( iob, sizeof ( *ethhdr ) ); 82 arphdr = iob->data; 83 if ( iob_len ( iob ) < sizeof ( *arphdr ) + 2 * ( ETH_ALEN + sizeof ( struct in_addr ) ) || 100 ethhdr = iob_push ( iob, sizeof ( *ethhdr ) ); 104 netdev_tx ( netdev, iob ); 105 continue; /* no need to free iob */ 159 struct io_buffer *iob; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/net/80211/ |
H A D | 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...] |
H A D | sec80211.c | 394 * @v iob I/O buffer containing beacon frame 405 int sec80211_detect ( struct io_buffer *iob, argument 409 struct ieee80211_frame *hdr = iob->data; 419 if ( ! ( rsn = sec80211_find_rsn ( beacon->info_element, iob->tail,
|
H A D | wpa.c | 218 struct io_buffer *iob; local 231 iob = dev->associating->beacon; 232 hdr = iob->data; 234 ap_rsn_ie = sec80211_find_rsn ( beacon->info_element, iob->tail, 405 * @ret iob Newly allocated I/O buffer 408 * EAPOL headers, and will have @c iob->tail pointing to the start of 431 * @v iob I/O buffer, with sufficient headroom for headers 439 static int wpa_send_eapol ( struct io_buffer *iob, struct wpa_common_ctx *ctx, argument 442 struct eapol_key_pkt *pkt = iob->data; 443 struct eapol_frame *eapol = iob_push ( iob, EAPOL_HDR_LE 477 struct io_buffer *iob = wpa_alloc_frame ( ctx->dev->rsn_ie->len + 2 ); local 545 struct io_buffer *iob = wpa_alloc_frame ( 0 ); local 766 eapol_key_rx( struct io_buffer *iob, struct net_device *netdev, const void *ll_dest __unused, const void *ll_source ) argument [all...] |
H A D | wpa_tkip.c | 372 * @v iob I/O buffer containing cleartext packet 376 struct io_buffer *iob ) 379 struct ieee80211_frame *hdr = iob->data; 387 int datalen = iob_len ( iob ) - hdrlen; 398 eiob = alloc_iob ( iob_len ( iob ) + TKIP_HEAD_LEN + TKIP_FOOT_LEN ); 403 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen ); 415 cipher_encrypt ( &arc4_algorithm, &arc4, iob->data + hdrlen, 419 hdr = iob->data; 421 iob->data + hdrlen, datalen, mic ); 426 icv = crc32_le ( ~0, iob 450 struct io_buffer *iob; local [all...] |
H A D | wpa_ccmp.c | 316 * @v iob I/O buffer containing cleartext packet 320 struct io_buffer *iob ) 323 struct ieee80211_frame *hdr = iob->data; 326 int datalen = iob_len ( iob ) - hdrlen; 337 eiob = alloc_iob ( iob_len ( iob ) + CCMP_HEAD_LEN + CCMP_MIC_LEN ); 342 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen ); 364 ccmp_cbc_mac ( ctx, &nonce, iob->data + hdrlen, datalen, &aad, mic ); 370 iob->data + hdrlen, edata, datalen, 375 iob, eiob ); 385 * @ret iob 392 struct io_buffer *iob; local [all...] |
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | ip_icmpwin.c | 53 static VOID WINAPI icmpwin_callback_apc(void *ctx, PIO_STATUS_BLOCK iob, ULONG reserved); 247 icmpwin_callback_apc(void *ctx, PIO_STATUS_BLOCK iob, ULONG reserved) argument
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/vxge/ |
H A D | vxge_traffic.c | 372 * @iob: data buffer. 376 struct io_buffer *iob) 380 txdp->control_0 |= VXGE_HW_FIFO_TXD_BUFFER_SIZE(iob_len(iob)); 385 txdp->host_control = (intptr_t)iob; 386 txdp->buffer_pointer = virt_to_bus(iob->data); 374 vxge_hw_fifo_txdl_buffer_set(struct __vxge_hw_fifo *fifo, struct vxge_hw_fifo_txd *txdp, struct io_buffer *iob) argument
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/ |
H A D | 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 */
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/ |
H A D | ath9k_recv.c | 38 // struct io_buffer *iob; 47 // iob = bf->bf_mpdu; 48 // ds->ds_vdata = iob->data; 100 struct io_buffer *iob; local 125 iob = ath_rxbuf_alloc(common, common->rx_bufsize, 127 if (iob == NULL) { 132 bf->bf_mpdu = iob; 146 struct io_buffer *iob; local 150 iob = bf->bf_mpdu; 151 if (iob) { 435 struct io_buffer *iob = NULL, *requeue_iob; local [all...] |
H A D | ath9k_main.c | 642 static int ath9k_tx(struct net80211_device *dev, struct io_buffer *iob) argument 651 DBGIO("ath9k: transmitting packet, iob: %p\n", iob); 653 ret = ath_tx_start(dev, iob, &txctl); 661 free_iob(iob);
|
H A D | ath9k_xmit.c | 381 static enum ath9k_pkt_type get_hw_packet_type(struct io_buffer *iob) argument 387 hdr = (struct ieee80211_frame *)iob->data; 400 static int setup_tx_flags(struct io_buffer *iob __unused) 500 struct io_buffer *iob) 523 bf->bf_flags = setup_tx_flags(iob); 524 bf->bf_mpdu = iob; 526 bf->bf_buf_addr = virt_to_bus(iob->data); 528 frm_type = get_hw_packet_type(iob); 533 ath9k_hw_set11n_txdesc(ah, ds, iob_len(iob) + FCS_LEN, frm_type, MAX_RATE_POWER, 537 iob_len(iob), /* segmen 498 ath_tx_setup_buffer(struct net80211_device *dev, struct ath_txq *txq, struct io_buffer *iob) argument 569 ath_tx_start(struct net80211_device *dev, struct io_buffer *iob, struct ath_tx_control *txctl) argument 601 ath_tx_complete(struct ath_softc *sc, struct io_buffer *iob, int tx_flags __unused, struct ath_tx_status *ts, struct ath_txq *txq) argument 627 struct io_buffer *iob = bf->bf_mpdu; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/igbvf/ |
H A D | igbvf_main.c | 116 struct io_buffer *iob; local 132 iob = alloc_iob ( MAXIMUM_ETHERNET_VLAN_SIZE ); 133 adapter->rx_iobuf[rx_curr] = iob; 137 if ( ! iob ) { 142 rx_curr_desc->read.pkt_addr = virt_to_bus ( iob->data ); 568 struct io_buffer *iob; local 586 iob = alloc_iob ( MAXIMUM_ETHERNET_VLAN_SIZE ); 587 adapter->rx_iobuf[i] = iob; 589 if ( ! iob ) { 593 rx_curr_desc->read.pkt_addr = virt_to_bus ( iob [all...] |
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | pxping_win.c | 290 pxping_icmp4_callback_apc(void *ctx, PIO_STATUS_BLOCK iob, ULONG reserved) argument 293 LWIP_UNUSED_ARG(iob); 576 pxping_icmp6_callback_apc(void *ctx, PIO_STATUS_BLOCK iob, ULONG reserved) argument 579 LWIP_UNUSED_ARG(iob);
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ |
H A D | 3c90x.c | 316 * @v iob io_buffer containing the data to be send 321 struct io_buffer *iob) 337 inf_3c90x->tx_iobuf[inf_3c90x->tx_cur] = iob; 343 len = iob_len(iob); 355 tx_cur_desc->DataAddr = virt_to_bus(iob->data); 320 a3c90x_transmit(struct net_device *netdev, struct io_buffer *iob) argument
|
H A D | eepro100.c | 454 if ( tcb->status || tcb->iob ) { 466 tcb->iob = iobuf; 805 struct io_buffer *iob = priv->rx_iobs[cur_rx]; local 813 while ( iob && rfd && ( status = rfd->status ) ) { 823 netdev_rx_err ( netdev, iob, -EINVAL ); 826 iob_put ( iob, rx_len ); 827 DBG2 ( "Received packet: %p, len: %d\n", iob, rx_len ); 828 netdev_rx ( netdev, iob ); 838 iob = priv->rx_iobs[cur_rx]; 1002 while ( ( status = tcb->status ) && tcb->iob ) { [all...] |
H A D | b44.c | 845 struct io_buffer *iob; /* received data */ local 853 iob = bp->rx_iobuf[i]; 854 if (iob == NULL) 857 rh = iob->data; 877 netdev_rx_err(bp->netdev, iob, -EINVAL); 887 iob_reserve(iob, RX_PKT_OFFSET); 888 iob_put(iob, len); 889 netdev_rx(bp->netdev, iob);
|
H A D | jme.c | 411 DBG("Allocate receive iob error.\n"); 770 jme_fill_tx_desc(struct jme_adapter *jme, struct io_buffer *iob, int idx) argument 774 uint16_t len = iob_len(iob); 778 mapping = virt_to_bus(iob->data); 780 iob->data, mapping, len); 802 txring->bufinf[idx] = iob;
|
H A D | myri10ge.c | 246 * @v iob The I/O buffer to fill. 251 struct io_buffer *iob ) 260 priv->receive_iob[receives_posted & MYRI10GE_RECEIVE_WRAP] = iob; 268 request->addr_low = htonl ( virt_to_bus ( iob->data ) ); 382 struct io_buffer *iob; local 384 iob = priv->transmit_iob [priv->transmits_done 386 DBG2 ( "%p ", iob ); 387 netdev_tx_complete ( netdev, iob ); 969 struct io_buffer *iob; local 1132 iob 1173 struct io_buffer *iob; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/rtl818x/ |
H A D | 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) argument 343 struct io_buffer *iob = alloc_iob(MAX_RX_SIZE); local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/tg3/ |
H A D | tg3.c | 298 static int tg3_transmit(struct net_device *dev, struct io_buffer *iob) argument 313 iob_pad(iob, ETH_ZLEN); 314 mapping = virt_to_bus(iob->data); 315 len = iob_len(iob); 317 tp->tx_buffers[entry].iob = iob; 345 struct io_buffer *iob = tp->tx_buffers[sw_idx].iob; local 347 DBGC2(dev, "Transmitted packet: %zd bytes\n", iob_len(iob)); 349 netdev_tx_complete(dev, iob); 376 struct io_buffer *iob; local 444 struct io_buffer *iob = tpr->rx_iobufs[iob_idx]; local [all...] |
/vbox/src/libs/xpcom18a4/python/src/module/ |
H A D | _xpcom.cpp | 309 nsIInternalPython *iob = NULL; local 316 if (NS_FAILED(uob->QueryInterface(NS_GET_IID(nsIInternalPython), reinterpret_cast<void **>(&iob)))) { 320 ret = iob->UnwrapPythonObject(); 324 NS_IF_RELEASE(iob);
|
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | 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 ); 1132 u8 bssid[ETH_ALEN], struct io_buffer *iob ); 1159 void net80211_rx ( struct net80211_device *dev, struct io_buffer *iob, 1162 struct io_buffer *iob, int rc ); 1164 struct io_buffer *iob, in [all...] |