Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ipv4_nat.h File Reference

IPv4 NAT and iptable interface for Zephyr networking stack. More...

#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <stdbool.h>
#include <zephyr/net/net_core.h>
#include <zephyr/net/net_if.h>
#include <zephyr/net/net_ip.h>
#include <zephyr/net/net_pkt.h>

Go to the source code of this file.

Data Structures

struct  net_iptable_rule_params
 Parameters to define an iptable rule. More...

Functions

int net_ipv4_table_rule_add (struct net_iptable_rule_params *param)
 Add a new iptable rule.
void net_ipv4_table_rule_del (int idx)
 Remove an iptable rule by index.
void net_ipv4_nat_init (void)
 Initialize IPv4 NAT subsystem.

Detailed Description

IPv4 NAT and iptable interface for Zephyr networking stack.