Go to the documentation of this file.
20 #ifndef NET_GNRC_NETERR_H
21 #define NET_GNRC_NETERR_H
38 #define GNRC_NETERR_MSG_TYPE (0x0206)
43 #define GNRC_NETERR_SUCCESS (0)
51 #ifdef MODULE_GNRC_NETERR
64 #define gnrc_neterr_report(pkt, err) (void)pkt; (void)err
75 #ifdef MODULE_GNRC_NETERR
85 #define gnrc_neterr_reg(pkt) (0)
#define EALREADY
Connection already in progress.
#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.
Messaging API for inter process communication.
#define gnrc_neterr_reg(pkt)
Registers the current thread for errors on a gnrc_pktsnip_t.
static kernel_pid_t thread_getpid(void)
Returns the process ID of the currently running thread.
union msg_t::@2 content
Content of the message.
General definitions for network packets and their helper functions.
uint32_t value
Value content field.
int msg_send(msg_t *m, kernel_pid_t target_pid)
Send a message (blocking).
Describes a message object which can be sent between threads.
Type to represent parts (either headers or payload) of a packet, called snips.
Types used by the kernel.
#define KERNEL_PID_UNDEF
Canonical identifier for an invalid PID.