Home | History | Annotate | Download | only in pxe

Lines Matching defs:iobuf

33 #include <gpxe/iobuf.h>
226 struct io_buffer *iobuf;
274 iobuf = alloc_iob ( ll_hlen + len );
275 if ( ! iobuf ) {
276 DBG2 ( " could not allocate iobuf\n" );
280 iob_reserve ( iobuf, ll_hlen );
281 copy_from_real ( iob_put ( iobuf, tbd.ImmedLength ), tbd.Xmit.segment,
285 copy_from_real ( iob_put ( iobuf, datablk->TDDataLen ),
308 if ( ( rc = ll_protocol->push ( pxe_netdev, iobuf, ll_dest,
313 free_iob ( iobuf );
327 if ( ( rc = netdev_tx ( pxe_netdev, iobuf ) ) != 0 ) {
643 struct io_buffer *iobuf;
710 iobuf = netdev_rx_dequeue ( pxe_netdev );
711 if ( ! iobuf ) {
721 len = iob_len ( iobuf );
728 memcpy ( basemem_packet, iobuf->data, len );
732 if ( ( rc = ll_protocol->pull ( pxe_netdev, iobuf, &ll_dest,
738 ll_hlen = ( len - iob_len ( iobuf ) );
776 free_iob ( iobuf );