![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
A network request to only a single destination. More...
#include <request.h>
Inherited by Ixl_net_request::Ixl_net_transfer, and Virtio_net_request::Virtio_net_transfer.
Public Member Functions | |
void const * | req_id () const |
Identifier for the underlying Net_request , used for logging purposes. | |
virtual void | copy_header (Virtio_net::Hdr *dst_header) const =0 |
Populate the virtio-net header for the destination. | |
Buffer & | cur_buf () |
Buffer containing (a part of) the packet data. | |
virtual bool | done ()=0 |
Check whether the transfer has been completed, i.e. | |
A network request to only a single destination.
A Net_request
can have multiple destinations (being a broadcast request, for example). That is why it is processed by multiple Net_transfer
s, each representing the delivery to a single destination port.
Port_iface::handle_request
uses the Net_transfer
to move one packet to the destination of the request.
|
inline |
|
pure virtual |
Check whether the transfer has been completed, i.e.
the entire packet data has been copied.
false | There is remaining packet data that needs to be copied. |
true | The entire packet data has been copied. |
L4virtio::Svr::Bad_descriptor | Exception raised in SRC port queue. |