Skip to content
Snippets Groups Projects
Commit 631977fb authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #2637 from haukepetersen/ng_opt_netdev_send

net/ng_netdev: added error code to send()
parents 67674dc1 002fd2bc
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