From 002fd2bc81ff941ff180d77d008adefb0468fcee Mon Sep 17 00:00:00 2001 From: Hauke Petersen <hauke.petersen@fu-berlin.de> Date: Wed, 18 Mar 2015 18:34:19 +0100 Subject: [PATCH] net/ng_netdev: added error code to send() --- sys/include/net/ng_netdev.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/include/net/ng_netdev.h b/sys/include/net/ng_netdev.h index 563b485fe6..dc5fd82966 100644 --- a/sys/include/net/ng_netdev.h +++ b/sys/include/net/ng_netdev.h @@ -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); -- GitLab