The friendly Operating System for the Internet of Things
gnrc_netreg_entry Struct Reference

Entry to the Network protocol registry. More...

Detailed Description

Definition at line 142 of file netreg.h.

#include <net/gnrc/netreg.h>

Data Fields

struct gnrc_netreg_entrynext
 next element in list
 
uint32_t demux_ctx
 The demultiplexing context for the registering thread. More...
 
gnrc_netreg_type_t type
 Type of the registry entry. More...
 
union {
   kernel_pid_t   pid
 The PID of the registering thread.
 
   mbox_t *   mbox
 Target mailbox for the registry entry. More...
 
   gnrc_netreg_entry_cbd_t *   cbd
 Target callback for the registry entry. More...
 
target
 Target for the registry entry.
 

Field Documentation

gnrc_netreg_entry_cbd_t* gnrc_netreg_entry::cbd
Note
Only available with Callback extension.

Definition at line 185 of file netreg.h.

uint32_t gnrc_netreg_entry::demux_ctx

This can be defined by the network protocol themselves. E. g. protocol numbers / next header numbers in IPv4/IPv6, ports in UDP/TCP, or similar.

Definition at line 157 of file netreg.h.

mbox_t* gnrc_netreg_entry::mbox
Note
Only available with Mailbox IPC extension.

Definition at line 176 of file netreg.h.

gnrc_netreg_type_t gnrc_netreg_entry::type
Note
Only available with Mailbox IPC extension or Callback extension.

Definition at line 166 of file netreg.h.


The documentation for this struct was generated from the following file: