Loading...
Searching...
No Matches

Error reporting definitions. More...

Detailed Description

Error reporting definitions.

Author
Martine Lenders mlend.nosp@m.ers@.nosp@m.inf.f.nosp@m.u-be.nosp@m.rlin..nosp@m.de

Definition in file neterr.h.

#include <errno.h>
#include <stdint.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 occurred) 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.
 
#define gnrc_neterr_reg(pkt)   (0)
 Registers the current thread for errors on a gnrc_pktsnip_t.