Representation of a network interface. More...

Detailed Description

Representation of a network interface.

Definition at line 115 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
 
msg_bus_t bus [GNRC_NETIF_BUS_NUMOF]
 Event Message Bus.
 
uint32_t flags
 Flags for the interface. More...
 
event_queue_t evq
 Event queue for asynchronous events.
 
event_t event_isr
 ISR event for the network device.
 
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
 
gnrc_netif_pktq_t send_queue
 Packet queue for sending. More...
 
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 140 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 158 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 165 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 172 of file netif.h.

◆ send_queue

gnrc_netif_pktq_t gnrc_netif_t::send_queue

Packet queue for sending.

Note
Only available with Send queue for Network interface API.

Definition at line 184 of file netif.h.


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