The friendly Operating System for the Internet of Things
neterr.h File Reference

Error reporting definitions. More...

Detailed Description

#include <errno.h>
#include <stdint.h>
#include "kernel_types.h"
#include "msg.h"
#include "net/gnrc/pkt.h"
#include "thread.h"
+ Include dependency graph for neterr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GNRC_NETERR_MSG_TYPE   (0x0206)
 Messaging / IPC type for reporting an error.
 
#define GNRC_NETERR_SUCCESS   (0)
 Error code to signalise success (no error occured) to an gnrc_neterr subscriber.
 
#define gnrc_neterr_report(pkt, err)   (void)pkt; (void)err
 Reports an error to all subscribers of errors to pkt. More...
 
#define gnrc_neterr_reg(pkt)   (0)
 Registers the current thread for errors on a gnrc_pktsnip_t. More...