Skip to content
Snippets Groups Projects
Unverified Commit 87055d7b authored by Marian Buschsieweke's avatar Marian Buschsieweke
Browse files

netdev_driver_t::recv: Added drop and size to doc

netdev_driver_t::recv does on of three things:
 - Receive the frame
 - Drop it
 - Get (an estimation of) the size of the frame

The brief section of the documentation was changed to reflect this. (And it
starts with the least obvious thing in the hope readers of the API stumble upon
it...)
parent b6069eb5
Branches
No related tags found
No related merge requests found
......@@ -310,7 +310,8 @@ typedef struct netdev_driver {
int (*send)(netdev_t *dev, const iolist_t *iolist);
/**
* @brief Get a received frame
* @brief Drop a received frame, **OR** get the length of a received frame,
* **OR** get a received frame.
*
* @pre `(dev != NULL)`
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment