Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_if_router Struct Reference

Information about routers in the system. More...

#include <net_if.h>

Data Fields

sys_snode_t node
 
struct net_addr address
 
struct net_ififace
 
uint32_t life_start
 
uint16_t lifetime
 
uint8_t is_used: 1
 
uint8_t is_default: 1
 
uint8_t is_infinite: 1
 

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: