|
Data Structures |
struct | rxdriver |
| A network driver. More...
|
struct | rxdrv_ops |
| Operations defined on all drivers. More...
|
Defines |
#define | rx_owner(r) ((r)->owner) |
Typedefs |
typedef void(* | rx_data_t )(struct rxdriver *, pmsg_t *mb) |
typedef rxdriver | rxdrv_t |
| A network driver.
|
Functions |
rxdrv_t * | rx_make (gpointer owner, gnet_host_t *host, const struct rxdrv_ops *ops, gpointer args) |
rxdrv_t * | rx_make_above (rxdrv_t *lrx, const struct rxdrv_ops *ops, gconstpointer args) |
| Creation routine for a driver to be stacked above specified lower `lrx'.
|
void | rx_set_data_ind (rxdrv_t *rx, rx_data_t data_ind) |
| Set the `data_ind' callback, invoked when a new message has been fully received by the RX stack.
|
void | rx_free (rxdrv_t *d) |
| Dispose of the driver resources, recursively and asynchronously.
|
void | rx_collect (void) |
| Collect freed stacks.
|
void | rx_recv (rxdrv_t *rx, pmsg_t *mb) |
| Inject data into driver, from lower layer.
|
void | rx_enable (rxdrv_t *rx) |
| Enable reception, recursively.
|
void | rx_disable (rxdrv_t *rx) |
| Disable reception, recursively.
|
rxdrv_t * | rx_bottom (rxdrv_t *rx) |
bio_source * | rx_bio_source (rxdrv_t *rx) |
bio_source * | rx_no_source (rxdrv_t *rx) |
| No I/O source can be fetched from this layer.
|