Searched refs:dir_hooks (Results 1 – 2 of 2) sorted by relevance
102 struct hooksq *dir_hooks[HD_DIR_MAX]; variable110 dir_hooks[i] = malloc(HD_HOOKS_LAST * sizeof(struct hooksq)); in hooks_init()111 if (dir_hooks[i] == NULL) in hooks_init()117 TAILQ_INIT(&dir_hooks[j][i]); in hooks_init()137 hooks = dir_hooks[dir]; in hooks_add_packet_hook()181 hooks = dir_hooks[dir]; in hooks_remove_packet_hook()212 hooks = dir_hooks[dir]; in hooks_dispatch()
295 dir_hooks = dir_yadm.mkdir('hooks')329 dir_hooks,