Home
last modified time | relevance | path

Searched refs:hook_type (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/gdb/gdb/
H A Dcorefile.c52 typedef void (*hook_type) (char *); typedef
54 hook_type exec_file_display_hook; /* the original hook */
55 static hook_type *exec_file_extra_hooks; /* array of additional hooks */
101 hook_type *new_array; in specify_exec_file_hook()
110 exec_file_extra_hooks = (hook_type *) xmalloc (sizeof (hook_type)); in specify_exec_file_hook()
121 (hook_type *) xrealloc (exec_file_extra_hooks, in specify_exec_file_hook()
122 exec_file_hook_count * sizeof (hook_type)); in specify_exec_file_hook()
/freebsd-12.1/sys/net/
H A Dif_enc.c327 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_add_hhooks()
332 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_add_hhooks()
340 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_add_hhooks()
345 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_add_hhooks()
364 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_remove_hhooks()
366 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_remove_hhooks()
371 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_remove_hhooks()
373 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_remove_hhooks()
/freebsd-12.1/share/examples/kld/khelp/
H A Dh_example.c99 .hook_type = HHOOK_TYPE_TCP,
105 .hook_type = HHOOK_TYPE_TCP,
/freebsd-12.1/sys/sys/
H A Dhhook.h89 int32_t hook_type; member
134 uint32_t hhook_head_is_virtualised_lookup(int32_t hook_type, int32_t hook_id);
/freebsd-12.1/sys/kern/
H A Dkern_hhook.c210 if (hhh->hhh_type == hki->hook_type && in hhook_add_hook_lookup()
281 if (hhh->hhh_type == hki->hook_type && in hhook_remove_hook_lookup()
463 hhook_head_is_virtualised_lookup(int32_t hook_type, int32_t hook_id) in hhook_head_is_virtualised_lookup() argument
468 hhh = hhook_head_get(hook_type, hook_id); in hhook_head_is_virtualised_lookup()
H A Dkern_khelp.c89 h->h_name, h->h_hooks[i].hook_type, in khelp_register_helper()
299 if (hhh->hhh_type != h->h_hooks[i].hook_type || in khelp_new_hhook_registered()
307 h->h_hooks[i].hook_type, in khelp_new_hhook_registered()
/freebsd-12.1/contrib/libevent/
H A Devrpc.c121 enum EVRPC_HOOK_TYPE hook_type, in evrpc_add_hook() argument
128 switch (hook_type) { in evrpc_add_hook()
136 EVUTIL_ASSERT(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_add_hook()
169 evrpc_remove_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, void *handle) in evrpc_remove_hook() argument
173 switch (hook_type) { in evrpc_remove_hook()
181 EVUTIL_ASSERT(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_remove_hook()
/freebsd-12.1/contrib/ntp/sntp/libevent/
H A Devrpc.c121 enum EVRPC_HOOK_TYPE hook_type, in evrpc_add_hook() argument
128 switch (hook_type) { in evrpc_add_hook()
136 EVUTIL_ASSERT(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_add_hook()
169 evrpc_remove_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, void *handle) in evrpc_remove_hook() argument
173 switch (hook_type) { in evrpc_remove_hook()
181 EVUTIL_ASSERT(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_remove_hook()
/freebsd-12.1/contrib/gdb/gdb/cli/
H A Dcli-script.c1078 int hook_type = CMD_NO_HOOK; in define_command() local
1110 hook_type = CMD_PRE_HOOK; in define_command()
1115 hook_type = CMD_POST_HOOK; in define_command()
1119 if (hook_type != CMD_NO_HOOK) in define_command()
1158 switch (hook_type) in define_command()
/freebsd-12.1/contrib/libevent/include/event2/
H A Drpc.h493 enum EVRPC_HOOK_TYPE hook_type,
506 enum EVRPC_HOOK_TYPE hook_type,
/freebsd-12.1/contrib/ntp/sntp/libevent/include/event2/
H A Drpc.h493 enum EVRPC_HOOK_TYPE hook_type,
506 enum EVRPC_HOOK_TYPE hook_type,
/freebsd-12.1/contrib/libevent/test/
H A Dregress_rpc.c400 const char *hook_type = arg; in rpc_hook_add_header() local
401 if (strcmp("input", hook_type) == 0) in rpc_hook_add_header()
402 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header()
404 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()
/freebsd-12.1/contrib/ntp/sntp/libevent/test/
H A Dregress_rpc.c400 const char *hook_type = arg; in rpc_hook_add_header() local
401 if (strcmp("input", hook_type) == 0) in rpc_hook_add_header()
402 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header()
404 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()
/freebsd-12.1/sys/netinet/khelp/
H A Dh_ertt.c114 .hook_type = HHOOK_TYPE_TCP,
120 .hook_type = HHOOK_TYPE_TCP,