1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #2637 from haukepetersen/ng_opt_netdev_send

net/ng_netdev: added error code to send()
This commit is contained in:
Martine Lenders 2015-03-19 11:42:19 +01:00
commit 631977fba6

View File

@ -82,6 +82,8 @@ typedef struct {
* @return number of bytes that were actually send out * @return number of bytes that were actually send out
* @return -ENODEV if @p dev is invalid * @return -ENODEV if @p dev is invalid
* @return -ENOMSG if pkt 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); int (*send_data)(ng_netdev_t *dev, ng_pktsnip_t *pkt);