Morse Micro IoT SDK  2.9.7
mmwlan_config_whitelist Struct Reference

Detailed Description

Whitelist filter configuration.

Definition at line 1705 of file mmwlan.h.

#include <mmwlan.h>

Data Fields

uint8_t flags
 Flags - clear any active whitelist filters if bit 0 is set. More...
 
uint8_t ip_protocol
 The IP protocol to match - 6 for TCP, 17 for UDP, 0 for any. More...
 
uint16_t llc_protocol
 The LLC protocol to match - 0x0800 for IPv4 and 0x86DD for IPv6, 0 for any. More...
 
uint32_t src_ip
 The IPv4 source address to match, 0.0.0.0 for any. More...
 
uint32_t dest_ip
 The IPv4 destination address to match, 0.0.0.0 for any - this is usually our IP address. More...
 
uint32_t netmask
 The netmask to apply to the source or destination IP, 0.0.0.0 for any. More...
 
uint16_t src_port
 The source TCP or UDP port to match, 0 for any. More...
 
uint16_t dest_port
 The destination TCP or UDP port to match, 0 for any. More...
 

Field Documentation

◆ dest_ip

uint32_t mmwlan_config_whitelist::dest_ip

The IPv4 destination address to match, 0.0.0.0 for any - this is usually our IP address.

Definition at line 1716 of file mmwlan.h.

◆ dest_port

uint16_t mmwlan_config_whitelist::dest_port

The destination TCP or UDP port to match, 0 for any.

Definition at line 1722 of file mmwlan.h.

◆ flags

uint8_t mmwlan_config_whitelist::flags

Flags - clear any active whitelist filters if bit 0 is set.

Definition at line 1708 of file mmwlan.h.

◆ ip_protocol

uint8_t mmwlan_config_whitelist::ip_protocol

The IP protocol to match - 6 for TCP, 17 for UDP, 0 for any.

Definition at line 1710 of file mmwlan.h.

◆ llc_protocol

uint16_t mmwlan_config_whitelist::llc_protocol

The LLC protocol to match - 0x0800 for IPv4 and 0x86DD for IPv6, 0 for any.

Definition at line 1712 of file mmwlan.h.

◆ netmask

uint32_t mmwlan_config_whitelist::netmask

The netmask to apply to the source or destination IP, 0.0.0.0 for any.

Definition at line 1718 of file mmwlan.h.

◆ src_ip

uint32_t mmwlan_config_whitelist::src_ip

The IPv4 source address to match, 0.0.0.0 for any.

Definition at line 1714 of file mmwlan.h.

◆ src_port

uint16_t mmwlan_config_whitelist::src_port

The source TCP or UDP port to match, 0 for any.

Definition at line 1720 of file mmwlan.h.


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