20#ifndef NET_GNRC_NETERR_H
21#define NET_GNRC_NETERR_H
37#define GNRC_NETERR_MSG_TYPE (0x0206)
42#define GNRC_NETERR_SUCCESS (0)
50#ifdef MODULE_GNRC_NETERR
63#define gnrc_neterr_report(pkt, err) (void)pkt; (void)err
74#ifdef MODULE_GNRC_NETERR
84#define gnrc_neterr_reg(pkt) (0)
int msg_send(msg_t *m, kernel_pid_t target_pid)
Send a message (blocking).
#define KERNEL_PID_UNDEF
Canonical identifier for an invalid PID.
static kernel_pid_t thread_getpid(void)
Returns the process ID of the currently running thread.
#define EALREADY
Connection already in progress.
#define gnrc_neterr_reg(pkt)
Registers the current thread for errors on a gnrc_pktsnip_t.
#define GNRC_NETERR_MSG_TYPE
Messaging / IPC type for reporting an error.
#define gnrc_neterr_report(pkt, err)
Reports an error to all subscribers of errors to pkt.
General definitions for network packets and their helper functions.
Type to represent parts (either headers or payload) of a packet, called snips.
Describes a message object which can be sent between threads.
union msg_t::@1 content
Content of the message.
uint32_t value
Value content field.