Skip to content
Snippets Groups Projects
Commit 002fd2bc authored by Hauke Petersen's avatar Hauke Petersen
Browse files

net/ng_netdev: added error code to send()

parent dd0a6496
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,8 @@ typedef struct {
* @return number of bytes that were actually send out
* @return -ENODEV if @p dev is invalid
* @return -ENOMSG if pkt is invalid
* @return -EOVERFLOW if the payload size of @p pkt exceeds the
* payload size that can be handled by the device
*/
int (*send_data)(ng_netdev_t *dev, ng_pktsnip_t *pkt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment