Loading...
Searching...
No Matches
gnrc_netreg_entry Struct Reference

Entry to the Network protocol registry. More...

Detailed Description

Entry to the Network protocol registry.

Definition at line 167 of file netreg.h.

#include <netreg.h>

Data Fields

struct gnrc_netreg_entrynext
 next element in list
 
uint32_t demux_ctx
 The demultiplexing context for the registering thread.
 
gnrc_netreg_type_t type
 Type of the registry entry.
 
union { 
 
   kernel_pid_t   pid 
 The PID of the registering thread. More...
 
   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

◆ cbd

gnrc_netreg_entry_cbd_t* gnrc_netreg_entry::cbd

Target callback for the registry entry.

Note
Only available with Callback extension.

Definition at line 210 of file netreg.h.

◆ demux_ctx

uint32_t gnrc_netreg_entry::demux_ctx

The demultiplexing context for the registering thread.

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 182 of file netreg.h.

◆ mbox

mbox_t* gnrc_netreg_entry::mbox

Target mailbox for the registry entry.

Note
Only available with Mailbox IPC extension.

Definition at line 201 of file netreg.h.

◆ next

struct gnrc_netreg_entry* gnrc_netreg_entry::next

next element in list

Definition at line 173 of file netreg.h.

◆ pid

kernel_pid_t gnrc_netreg_entry::pid

The PID of the registering thread.

Definition at line 194 of file netreg.h.

◆ type

gnrc_netreg_type_t gnrc_netreg_entry::type

Type of the registry entry.

Note
Only available with Mailbox IPC extension or Callback extension.

Definition at line 191 of file netreg.h.


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