net/ng_netdev: added error code to send()

This commit is contained in:
Hauke Petersen 2015-03-18 18:34:19 +01:00
parent dd0a6496f7
commit 002fd2bc81

View File

@ -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);