Zephyr API Documentation  3.7.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_if_router Struct Reference

Information about routers in the system. More...

#include <net_if.h>

Data Fields

sys_snode_t node
 Slist lifetime timer node.
 
struct net_addr address
 IP address.
 
struct net_ififace
 Network interface the router is connected to.
 
uint32_t life_start
 Router life timer start.
 
uint16_t lifetime
 Router lifetime.
 
uint8_t is_used: 1
 Is this router used or not.
 
uint8_t is_default: 1
 Is default router.
 
uint8_t is_infinite: 1
 Is the router valid forever.
 

Detailed Description

Information about routers in the system.

Stores the router information.

Field Documentation

◆ address

struct net_addr net_if_router::address

IP address.

◆ iface

struct net_if* net_if_router::iface

Network interface the router is connected to.

◆ is_default

uint8_t net_if_router::is_default

Is default router.

◆ is_infinite

uint8_t net_if_router::is_infinite

Is the router valid forever.

◆ is_used

uint8_t net_if_router::is_used

Is this router used or not.

◆ life_start

uint32_t net_if_router::life_start

Router life timer start.

◆ lifetime

uint16_t net_if_router::lifetime

Router lifetime.

◆ node

sys_snode_t net_if_router::node

Slist lifetime timer node.


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