H A D | ng_base.c | 87 static struct mtx ng_nodelist_mtx; /* protects global node/hook lists */ 234 static int ng_con_part2(node_p node, item_p item, hook_p hook); 235 static int ng_con_part3(node_p node, item_p item, hook_p hook); 242 void ng_destroy_hook(hook_p hook); 246 int ng_path_parse(char *addr, char **node, char **path, char **hook); 254 "netgraph hook structures"); 262 #define _NG_ALLOC_HOOK(hook) \ argument 263 hook = malloc(sizeof(*hook), M_NETGRAPH_HOOK, M_NOWAIT | M_ZERO) 296 hook_p hook; in ng_alloc_hook() local 347 NG_ALLOC_HOOK(hook) global() argument 350 NG_FREE_HOOK(hook) global() argument 368 NG_ALLOC_HOOK(hook) global() argument 371 NG_FREE_HOOK(hook) global() argument 717 hook_p hook; ng_rmnode() local 1050 ng_unref_hook(hook_p hook) ng_unref_hook() argument 1070 hook_p hook; ng_add_hook() local 1131 hook_p hook; ng_findhook() local 1162 ng_destroy_hook(hook_p hook) ng_destroy_hook() argument 1345 ng_con_part3(node_p node,item_p item,hook_p hook) ng_con_part3() argument 1388 ng_con_part2(node_p node,item_p item,hook_p hook) ng_con_part2() argument 1486 hook_p hook; ng_con_nodes() local 1624 ng_rmhook_part2(node_p node,hook_p hook,void * arg1,int arg2) ng_rmhook_part2() argument 1631 ng_rmhook_self(hook_p hook) ng_rmhook_self() argument 1661 char *node, *path, *hook; ng_path_parse() local 1788 hook_p hook; ng_path2noderef() local 2229 hook_p hook; ng_snd_item() local 2366 hook_p hook; ng_apply_item() local 2582 hook_p hook; ng_generic_msg() local 2618 hook_p hook; ng_generic_msg() local 2650 if (NG_PEER_NODE_NAME(hook)[0] != '\0') ng_generic_msg() local 3264 dumphook(hook_p hook,char * file,int line) dumphook() argument 3362 hook_p hook; ng_dumphooks() local 3594 ng_address_hook(node_p here,item_p item,hook_p hook,ng_ID_t retaddr) ng_address_hook() argument 3633 hook_p hook = NULL; ng_address_path() local 3682 ng_package_msg_self(node_p here,hook_p hook,struct ng_mesg * msg) ng_package_msg_self() argument 3714 ng_send_fn(node_p node,hook_p hook,ng_item_fn * fn,void * arg1,int arg2) ng_send_fn() argument 3721 ng_send_fn1(node_p node,hook_p hook,ng_item_fn * fn,void * arg1,int arg2,int flags) ng_send_fn1() argument 3751 ng_send_fn2(node_p node,hook_p hook,item_p pitem,ng_item_fn2 * fn,void * arg1,int arg2,int flags) ng_send_fn2() argument 3803 ng_callout(struct callout * c,node_p node,hook_p hook,int ticks,ng_item_fn * fn,void * arg1,int arg2) ng_callout() argument [all...] |