#include <stddef.h>#include <stdlib.h>#include <stdio.h>#include <stdint.h>#include <inttypes.h>#include <string.h>#include <syslog.h>#include <arpa/inet.h>#include <linux/netfilter.h>#include <netinet/ip_icmp.h>#include <netinet/icmp6.h>#include <statement.h>#include <utils.h>#include <list.h>#include <netinet/in.h>#include <linux/netfilter/nf_nat.h>
Functions | |
| struct stmt * | stmt_alloc (const struct location *loc, const struct stmt_ops *ops) |
| void | stmt_free (struct stmt *stmt) |
| void | stmt_list_free (struct list_head *list) |
| void | stmt_print (const struct stmt *stmt) |
| struct stmt * | expr_stmt_alloc (const struct location *loc, struct expr *expr) |
| struct stmt * | verdict_stmt_alloc (const struct location *loc, struct expr *expr) |
| struct stmt * | counter_stmt_alloc (const struct location *loc) |
| struct stmt * | log_stmt_alloc (const struct location *loc) |
| struct stmt * | limit_stmt_alloc (const struct location *loc) |
| struct stmt * | queue_stmt_alloc (const struct location *loc) |
| struct stmt * | reject_stmt_alloc (const struct location *loc) |
| struct stmt * | nat_stmt_alloc (const struct location *loc) |
| struct stmt * | masq_stmt_alloc (const struct location *loc) |
| struct stmt * | redir_stmt_alloc (const struct location *loc) |
References stmt::expr, and stmt_alloc().
Referenced by payload_gen_dependency().


References stmt::list, stmt::location, stmt::ops, and xzalloc().
Referenced by counter_stmt_alloc(), ct_stmt_alloc(), expr_stmt_alloc(), limit_stmt_alloc(), log_stmt_alloc(), masq_stmt_alloc(), meta_stmt_alloc(), nat_stmt_alloc(), queue_stmt_alloc(), redir_stmt_alloc(), reject_stmt_alloc(), and verdict_stmt_alloc().


References stmt_ops::destroy, stmt::ops, and xfree.
Referenced by stmt_list_free().

References stmt::list, list_for_each_entry_safe, and stmt_free().
Referenced by rule_free().


References stmt::ops, and stmt_ops::print.
Referenced by stmt_evaluate().
