50#include <sys/kernel.h>
51#include <sys/malloc.h>
135 hip = malloc(
sizeof(*hip), M_NETGRAPH, M_NOWAIT | M_ZERO);
210 hip->
stats.octets +=
NGI_M(item)->m_pkthdr.len;
#define NG_HOOK_NODE(hook)
int ng_rcvmsg_t(node_p node, item_p item, hook_p lasthook)
int ng_disconnect_t(hook_p hook)
#define NG_RESPOND_MSG(error, here, item, resp)
#define NG_HOOK_SET_PRIVATE(hook, val)
int ng_rmnode_self(node_p here)
int ng_rcvdata_t(hook_p hook, item_p item)
#define NG_FREE_ITEM(item)
int ng_constructor_t(node_p node)
#define NG_NODE_NUMHOOKS(node)
#define NGI_GET_MSG(i, m)
int ng_newhook_t(node_p node, hook_p hook, const char *name)
hook_p ng_findhook(node_p node, const char *name)
#define NG_HOOK_PRIVATE(hook)
static ng_disconnect_t ngh_disconnect
static ng_rcvmsg_t ngh_rcvmsg
struct ng_hole_hookinfo * hinfo_p
static ng_constructor_t ngh_cons
static const struct ng_parse_struct_field ng_hole_hookstat_type_fields[]
static struct ng_type typestruct
static const struct ng_cmdlist ng_hole_cmdlist[]
static const struct ng_parse_type ng_hole_hookstat_type
static ng_rcvdata_t ngh_rcvdata
static ng_newhook_t ngh_newhook
NETGRAPH_INIT(hole, &typestruct)
#define NG_HOLE_NODE_TYPE
#define NG_HOLE_HOOKSTAT_TYPE_INFO
#define NG_MKRESPONSE(rsp, msg, len, how)
const struct ng_parse_type ng_parse_struct_type
const struct ng_parse_type ng_parse_hookbuf_type
struct ng_bpf_hookstat stats
struct ng_mesg::ng_msghdr header