#include "opt_inet.h"
#include "opt_inet6.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
#include <sys/ctype.h>
#include <sys/errno.h>
#include <sys/rwlock.h>
#include <sys/socket.h>
#include <sys/syslog.h>
#include <net/if.h>
#include <net/if_var.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/in_var.h>
#include <netinet/ip_var.h>
#include <netinet/ip_fw.h>
#include <netinet/ip.h>
#include <netinet/ip6.h>
#include <netinet6/ip6_var.h>
#include <netpfil/ipfw/ip_fw_private.h>
#include <netgraph/ng_message.h>
#include <netgraph/ng_parse.h>
#include <netgraph/ng_ipfw.h>
#include <netgraph/netgraph.h>
Go to the source code of this file.
|
static int | ng_ipfw_mod_event (module_t mod, int event, void *data) |
|
static hook_p | ng_ipfw_findhook1 (node_p, u_int16_t) |
|
static int | ng_ipfw_input (struct mbuf **, struct ip_fw_args *, bool) |
|
| NETGRAPH_INIT (ipfw, &ng_ipfw_typestruct) |
|
| MODULE_DEPEND (ng_ipfw, ipfw, 3, 3, 3) |
|
static int | ng_ipfw_constructor (node_p node) |
|
static int | ng_ipfw_newhook (node_p node, hook_p hook, const char *name) |
|
static int | ng_ipfw_connect (hook_p hook) |
|
static hook_p | ng_ipfw_findhook (node_p node, const char *name) |
|
static int | ng_ipfw_rcvdata (hook_p hook, item_p item) |
|
static int | ng_ipfw_shutdown (node_p node) |
|
static int | ng_ipfw_disconnect (hook_p hook) |
|
◆ hpriv_p
◆ MODULE_DEPEND()
MODULE_DEPEND |
( |
ng_ipfw |
, |
|
|
ipfw |
, |
|
|
3 |
, |
|
|
3 |
, |
|
|
3 |
|
|
) |
| |
◆ NETGRAPH_INIT()
NETGRAPH_INIT |
( |
ipfw |
, |
|
|
& |
ng_ipfw_typestruct |
|
) |
| |
◆ ng_ipfw_connect()
static int ng_ipfw_connect |
( |
hook_p |
hook | ) |
|
|
static |
◆ ng_ipfw_constructor()
static int ng_ipfw_constructor |
( |
node_p |
node | ) |
|
|
static |
◆ ng_ipfw_disconnect()
static int ng_ipfw_disconnect |
( |
hook_p |
hook | ) |
|
|
static |
◆ ng_ipfw_findhook()
static hook_p ng_ipfw_findhook |
( |
node_p |
node, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ ng_ipfw_findhook1()
static hook_p ng_ipfw_findhook1 |
( |
node_p |
node, |
|
|
u_int16_t |
rulenum |
|
) |
| |
|
static |
◆ ng_ipfw_input()
static int ng_ipfw_input |
( |
struct mbuf ** |
m0, |
|
|
struct ip_fw_args * |
fwa, |
|
|
bool |
tee |
|
) |
| |
|
static |
◆ ng_ipfw_mod_event()
static int ng_ipfw_mod_event |
( |
module_t |
mod, |
|
|
int |
event, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ ng_ipfw_newhook()
static int ng_ipfw_newhook |
( |
node_p |
node, |
|
|
hook_p |
hook, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ ng_ipfw_rcvdata()
◆ ng_ipfw_shutdown()
static int ng_ipfw_shutdown |
( |
node_p |
node | ) |
|
|
static |
◆ fw_node
◆ ng_ipfw_connect
◆ ng_ipfw_constructor
◆ ng_ipfw_disconnect
◆ ng_ipfw_findhook
◆ ng_ipfw_newhook
◆ ng_ipfw_rcvdata
◆ ng_ipfw_shutdown
◆ ng_ipfw_typestruct
Initial value:= {
}
static ng_connect_t ng_ipfw_connect
static ng_shutdown_t ng_ipfw_shutdown
static ng_newhook_t ng_ipfw_newhook
static ng_disconnect_t ng_ipfw_disconnect
static int ng_ipfw_mod_event(module_t mod, int event, void *data)
static ng_rcvdata_t ng_ipfw_rcvdata
static ng_constructor_t ng_ipfw_constructor
static ng_findhook_t ng_ipfw_findhook
#define NG_IPFW_NODE_TYPE
Definition at line 81 of file ng_ipfw.c.
Referenced by ng_ipfw_mod_event().