| /freebsd-13.1/sys/net/ |
| H A D | if_enc.c | 331 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_add_hhooks() 336 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_add_hhooks() 344 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_add_hhooks() 349 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_add_hhooks() 368 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_remove_hhooks() 370 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_remove_hhooks() 375 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_remove_hhooks() 377 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_remove_hhooks()
|
| H A D | pfil.c | 77 enum pfil_types hook_type; member 268 hook->hook_type = pa->pa_type; in pfil_add_hook() 362 if (head->head_type != hook->hook_type || in pfil_link() 646 iohook[hk].pio_type = hook->hook_type; in pfilioc_listhooks()
|
| /freebsd-13.1/share/examples/kld/khelp/ |
| H A D | h_example.c | 99 .hook_type = HHOOK_TYPE_TCP, 105 .hook_type = HHOOK_TYPE_TCP,
|
| /freebsd-13.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-13.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-13.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-13.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-13.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-13.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-13.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-13.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-13.1/sys/netinet/khelp/ |
| H A D | h_ertt.c | 114 .hook_type = HHOOK_TYPE_TCP, 120 .hook_type = HHOOK_TYPE_TCP,
|