IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


Functions
Netfilter functions (NAT and Firewall)

Detailed Description

This interface provides functions to configure the @CHIP-RTOS-LNX's NAT (Network Address Translation) and Firewall functionality.

TCP/IP API main page

Functions

int netfEnableFirewall (unsigned int maxFirewallRules)
 Initialise and start Firewall. More...
 
int netfEnableNat (const char *internalIfaceName, const char *externalIfaceName, unsigned int maxNatMappings)
 Initialise and start NAT service. More...
 
int netfSetTtl (unsigned int timeToLive)
 Initialise Time-To-Live value. More...
 
int netfConfigRefresh (void)
 Refresh Netfilter configuration. More...
 
int netfAddFirewallRule (unsigned char protocol, unsigned short portMin, unsigned short portMax, unsigned long ipMin, unsigned long ipMax, const char *ifaceName)
 Setup a firewall rule. More...
 
int netfAddNatMapping (unsigned char protocol, unsigned short localPort, unsigned short remotePort, unsigned long remoteIP)
 Setup a static NAT mapping entry. More...
 
int netfGetTrafficCounters (const char *ifaceName, unsigned long *receivedBytes, unsigned long *sentBytes)
 Get traffic counters for a given interface. More...
 
int netfResetTrafficCounters (const char *ifaceName)
 Reset traffic counters for a given interface. More...
 





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:15 by Doxygen 1.8.13