Morse Micro IoT SDK  2.13.1

Detailed Description

IPv4 configuration structure.

This should be initialized using MMIPAL_IP_CONFIG_DEFAULT. For example:

#define MMIPAL_IP_CONFIG_DEFAULT
Initializer for mmipal_ip_config.
Definition: mmipal.h:111
IPv4 configuration structure.
Definition: mmipal.h:97

Definition at line 96 of file mmipal.h.

#include <mmipal.h>

Data Fields

enum mmipal_addr_mode mode
 IP address allocation mode. More...
 
mmipal_ip_addr_t ip_addr
 local IP address More...
 
mmipal_ip_addr_t netmask
 Netmask address. More...
 
mmipal_ip_addr_t gateway_addr
 Gateway address. More...
 
char hostname [MM_HOSTNAME_MAX_LEN]
 Interface hostname. More...
 

Field Documentation

◆ gateway_addr

mmipal_ip_addr_t mmipal_ip_config::gateway_addr

Gateway address.

Definition at line 105 of file mmipal.h.

◆ hostname

char mmipal_ip_config::hostname[MM_HOSTNAME_MAX_LEN]

Interface hostname.

Definition at line 107 of file mmipal.h.

◆ ip_addr

mmipal_ip_addr_t mmipal_ip_config::ip_addr

local IP address

Definition at line 101 of file mmipal.h.

◆ mode

enum mmipal_addr_mode mmipal_ip_config::mode

IP address allocation mode.

Definition at line 99 of file mmipal.h.

◆ netmask

mmipal_ip_addr_t mmipal_ip_config::netmask

Netmask address.

Definition at line 103 of file mmipal.h.


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