Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dif_enc.c328 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_add_hhooks()
332 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_add_hhooks()
339 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_add_hhooks()
343 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_add_hhooks()
360 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_remove_hhooks()
362 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_remove_hhooks()
367 hki.hook_type = HHOOK_TYPE_IPSEC_IN; in enc_remove_hhooks()
369 hki.hook_type = HHOOK_TYPE_IPSEC_OUT; in enc_remove_hhooks()
H A Dpfil.c77 enum pfil_types hook_type; member
318 hook->hook_type = pa->pa_type; in pfil_add_hook()
412 if (head->head_type != hook->hook_type || in pfil_link()
698 iohook[hk].pio_type = hook->hook_type; in pfilioc_listhooks()
/freebsd/sys/sys/
H A Dhhook.h87 int32_t hook_type; member
132 uint32_t hhook_head_is_virtualised_lookup(int32_t hook_type, int32_t hook_id);
/freebsd/sys/kern/
H A Dkern_hhook.c207 if (hhh->hhh_type == hki->hook_type && in hhook_add_hook_lookup()
278 if (hhh->hhh_type == hki->hook_type && in hhook_remove_hook_lookup()
460 hhook_head_is_virtualised_lookup(int32_t hook_type, int32_t hook_id) in hhook_head_is_virtualised_lookup() argument
465 hhh = hhook_head_get(hook_type, hook_id); in hhook_head_is_virtualised_lookup()
H A Dkern_khelp.c86 h->h_name, h->h_hooks[i].hook_type, in khelp_register_helper()
296 if (hhh->hhh_type != h->h_hooks[i].hook_type || in khelp_new_hhook_registered()
304 h->h_hooks[i].hook_type, in khelp_new_hhook_registered()
/freebsd/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/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/contrib/ntp/sntp/libevent/include/event2/
H A Drpc.h514 enum EVRPC_HOOK_TYPE hook_type,
528 enum EVRPC_HOOK_TYPE hook_type,
/freebsd/contrib/libevent/include/event2/
H A Drpc.h514 enum EVRPC_HOOK_TYPE hook_type,
528 enum EVRPC_HOOK_TYPE hook_type,
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_rpc.c399 const char *hook_type = arg; in rpc_hook_add_header() local
400 if (strcmp("input", hook_type) == 0) in rpc_hook_add_header()
401 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header()
403 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()
/freebsd/contrib/libevent/test/
H A Dregress_rpc.c399 const char *hook_type = arg; in rpc_hook_add_header() local
400 if (strcmp("input", hook_type) == 0) in rpc_hook_add_header()
401 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header()
403 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()
/freebsd/sys/netinet/khelp/
H A Dh_ertt.c111 .hook_type = HHOOK_TYPE_TCP,
117 .hook_type = HHOOK_TYPE_TCP,