| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | corefile.c | 52 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 D | if_enc.c | 327 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 D | h_example.c | 99 .hook_type = HHOOK_TYPE_TCP, 105 .hook_type = HHOOK_TYPE_TCP,
|
| /freebsd-12.1/sys/sys/ |
| H A D | hhook.h | 89 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 D | kern_hhook.c | 210 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 D | kern_khelp.c | 89 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 D | evrpc.c | 121 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 D | evrpc.c | 121 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 D | cli-script.c | 1078 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 D | rpc.h | 493 enum EVRPC_HOOK_TYPE hook_type, 506 enum EVRPC_HOOK_TYPE hook_type,
|
| /freebsd-12.1/contrib/ntp/sntp/libevent/include/event2/ |
| H A D | rpc.h | 493 enum EVRPC_HOOK_TYPE hook_type, 506 enum EVRPC_HOOK_TYPE hook_type,
|
| /freebsd-12.1/contrib/libevent/test/ |
| H A D | regress_rpc.c | 400 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 D | regress_rpc.c | 400 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 D | h_ertt.c | 114 .hook_type = HHOOK_TYPE_TCP, 120 .hook_type = HHOOK_TYPE_TCP,
|