Morse Micro IoT SDK  2.9.7

Detailed Description

Command arguments structure for ip_set_whitelist_filter.

Definition at line 4004 of file mmagic_controller.h.

#include <mmagic_controller.h>

Data Fields

struct struct_ip_addr src_ip
 The IPv4 source address to match, 0.0.0.0 for any. More...
 
struct struct_ip_addr dest_ip
 The IPv4 destination address to match, 0.0.0.0 for any (Usually our IP address). More...
 
struct struct_ip_addr netmask
 The netmask to apply to the source or destination IP, 0.0.0.0 for any. More...
 
uint16_t src_port
 The source port to match, 0 for any. More...
 
uint16_t dest_port
 The destination port to match, 0 for any. More...
 
uint8_t ip_protocol
 The IPv4 protocol number to match - 6 for TCP, 17 for UDP, 0 for any. More...
 
uint16_t llc_protocol
 The LLC protocol (or EtherType) to match - 0x0800 for IPv4 and 0x86DD for IPv6, 0 for any. More...
 

Field Documentation

◆ dest_ip

struct struct_ip_addr mmagic_core_ip_set_whitelist_filter_cmd_args::dest_ip

The IPv4 destination address to match, 0.0.0.0 for any (Usually our IP address).

Definition at line 4009 of file mmagic_controller.h.

◆ dest_port

uint16_t mmagic_core_ip_set_whitelist_filter_cmd_args::dest_port

The destination port to match, 0 for any.

Definition at line 4015 of file mmagic_controller.h.

◆ ip_protocol

uint8_t mmagic_core_ip_set_whitelist_filter_cmd_args::ip_protocol

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

Definition at line 4017 of file mmagic_controller.h.

◆ llc_protocol

uint16_t mmagic_core_ip_set_whitelist_filter_cmd_args::llc_protocol

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

Definition at line 4020 of file mmagic_controller.h.

◆ netmask

struct struct_ip_addr mmagic_core_ip_set_whitelist_filter_cmd_args::netmask

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

Definition at line 4011 of file mmagic_controller.h.

◆ src_ip

struct struct_ip_addr mmagic_core_ip_set_whitelist_filter_cmd_args::src_ip

The IPv4 source address to match, 0.0.0.0 for any.

Definition at line 4007 of file mmagic_controller.h.

◆ src_port

uint16_t mmagic_core_ip_set_whitelist_filter_cmd_args::src_port

The source port to match, 0 for any.

Definition at line 4013 of file mmagic_controller.h.


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