Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

IPv4 configuration. More...

#include <net_if.h>

Data Fields

struct net_if_addr_ipv4 unicast [NET_IF_MAX_IPV4_ADDR]
 Unicast IP addresses.
 
struct net_if_mcast_addr mcast [NET_IF_MAX_IPV4_MADDR]
 Multicast IP addresses.
 
struct in_addr gw
 Gateway.
 
uint8_t ttl
 IPv4 time-to-live.
 
uint8_t mcast_ttl
 IPv4 time-to-live for multicast packets.
 

Detailed Description

IPv4 configuration.

Field Documentation

◆ gw

struct in_addr net_if_ipv4::gw

Gateway.

◆ mcast

struct net_if_mcast_addr net_if_ipv4::mcast[NET_IF_MAX_IPV4_MADDR]

Multicast IP addresses.

◆ mcast_ttl

uint8_t net_if_ipv4::mcast_ttl

IPv4 time-to-live for multicast packets.

◆ ttl

uint8_t net_if_ipv4::ttl

IPv4 time-to-live.

◆ unicast

struct net_if_addr_ipv4 net_if_ipv4::unicast[NET_IF_MAX_IPV4_ADDR]

Unicast IP addresses.


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