|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
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. | |
This header defines the data structures and APIs used for IPv4 NAT (Network Address Translation) and rule-based iptable manipulation in the Zephyr networking subsystem.
| void net_ipv4_nat_init | ( | void | ) |
#include <zephyr/net/ipv4_nat.h>
Initialize IPv4 NAT subsystem.
Prepares internal NAT state for operation.
| int net_ipv4_table_rule_add | ( | struct net_iptable_rule_params * | param | ) |
#include <zephyr/net/ipv4_nat.h>
Add a new iptable rule.
| param | Rule configuration and match criteria. |
| void net_ipv4_table_rule_del | ( | int | idx | ) |
#include <zephyr/net/ipv4_nat.h>
Remove an iptable rule by index.
| idx | Index of the rule to remove. |