33#include <sys/kernel.h>
41#ifdef NG_SEPARATE_MALLOC
44#define M_NETGRAPH_HUB M_NETGRAPH
109 priv->persistent = 1;
124 struct mbuf *
const m =
NGI_M(item), *m2;
131 LIST_FOREACH(hook2, &node->nd_hooks, hk_hooks) {
137 if ((m2 = m_dup(m, M_NOWAIT)) == NULL) {
#define NG_HOOK_NODE(hook)
int ng_rcvmsg_t(node_p node, item_p item, hook_p lasthook)
#define NG_FWD_ITEM_HOOK(error, item, hook)
int ng_disconnect_t(hook_p hook)
#define NG_NODE_SET_PRIVATE(node, val)
#define NG_NODE_IS_VALID(node)
#define NG_NODE_UNREF(node)
int ng_rmnode_self(node_p here)
#define NG_SEND_DATA_ONLY(error, hook, m)
int ng_rcvdata_t(hook_p hook, item_p item)
int ng_shutdown_t(node_p node)
#define NG_FREE_ITEM(item)
int ng_constructor_t(node_p node)
#define NG_NODE_NUMHOOKS(node)
#define NGI_GET_MSG(i, m)
#define NG_NODE_PRIVATE(node)
MALLOC_DEFINE(M_NG_CCATM, "ng_ccatm", "netgraph uni api node")
static ng_shutdown_t ng_hub_shutdown
static const struct ng_cmdlist ng_hub_cmdlist[]
static ng_rcvmsg_t ng_hub_rcvmsg
static ng_constructor_t ng_hub_constructor
static struct ng_type ng_hub_typestruct
static ng_rcvdata_t ng_hub_rcvdata
static ng_disconnect_t ng_hub_disconnect
struct ng_hub_private * priv_p
NETGRAPH_INIT(hub, &ng_hub_typestruct)
struct ng_mesg::ng_msghdr header