Representation of a network interface. More...

Detailed Description

Representation of a network interface.

Definition at line 74 of file netif.h.

#include <netif.h>

Data Fields

netif_t netif
 network interface descriptor
 
const gnrc_netif_ops_tops
 Operations of the network interface.
 
netdev_tdev
 Network device of the network interface.
 
rmutex_t mutex
 Mutex of the interface.
 
gnrc_netif_lorawan_t lorawan
 LoRaWAN component.
 
gnrc_netif_ipv6_t ipv6
 IPv6 component.
 
gnrc_netif_mac_t mac
 Common MAC module component
 
uint32_t flags
 Flags for the interface. More...
 
uint8_t l2addr [GNRC_NETIF_L2ADDR_MAXLEN]
 The link-layer address currently used as the source address on this interface. More...
 
uint8_t l2addr_len
 Length in bytes of gnrc_netif_t::l2addr. More...
 
gnrc_netif_dedup_t last_pkt
 Last received packet information. More...
 
gnrc_netif_6lo_t sixlo
 6Lo component
 
uint8_t cur_hl
 Current hop-limit for out-going packets.
 
uint8_t device_type
 Device type.
 
kernel_pid_t pid
 PID of the network interface's thread.
 

Field Documentation

◆ flags

uint32_t gnrc_netif_t::flags

Flags for the interface.

See also
net_gnrc_netif_flags

Definition at line 96 of file netif.h.

◆ l2addr

uint8_t gnrc_netif_t::l2addr[GNRC_NETIF_L2ADDR_MAXLEN]

The link-layer address currently used as the source address on this interface.

Note
Only available if GNRC_NETIF_L2ADDR_MAXLEN > 0

Definition at line 104 of file netif.h.

◆ l2addr_len

uint8_t gnrc_netif_t::l2addr_len

Length in bytes of gnrc_netif_t::l2addr.

Note
Only available if GNRC_NETIF_L2ADDR_MAXLEN > 0

Definition at line 111 of file netif.h.

◆ last_pkt

gnrc_netif_dedup_t gnrc_netif_t::last_pkt

Last received packet information.

Note
Only available with Link-layer Broadcast deduplication.

Definition at line 118 of file netif.h.


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