Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_event_ipv4_route Struct Reference

Network Management event information structure Used to pass information on network events like NET_EVENT_IPV4_ROUTE_ADD and NET_EVENT_IPV4_ROUTE_DEL when CONFIG_NET_MGMT_EVENT_INFO enabled and event generator pass the information. More...

#include <net_event.h>

Data Fields

struct net_in_addr nexthop
 IPv4 address of the next hop.
struct net_in_addr addr
 IPv4 address or prefix of the route.
uint8_t prefix_len
 IPv4 prefix length.

Detailed Description

Network Management event information structure Used to pass information on network events like NET_EVENT_IPV4_ROUTE_ADD and NET_EVENT_IPV4_ROUTE_DEL when CONFIG_NET_MGMT_EVENT_INFO enabled and event generator pass the information.

Field Documentation

◆ addr

struct net_in_addr net_event_ipv4_route::addr

IPv4 address or prefix of the route.

◆ nexthop

struct net_in_addr net_event_ipv4_route::nexthop

IPv4 address of the next hop.

◆ prefix_len

uint8_t net_event_ipv4_route::prefix_len

IPv4 prefix length.


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