Home
last modified time | relevance | path

Searched refs:hhook_id (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/sys/
H A Dhhook.h77 typedef int (*hhook_func_t)(int32_t hhook_type, int32_t hhook_id, void *udata,
121 int hhook_head_register(int32_t hhook_type, int32_t hhook_id,
126 int hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id);
128 struct hhook_head * hhook_head_get(int32_t hhook_type, int32_t hhook_id);
152 #define HHOOKS_RUN_LOOKUP_IF(hhook_type, hhook_id, ctx_data, hosd) do { \ argument
155 _hhh = hhook_head_get(hhook_type, hhook_id); \
/f-stack/freebsd/kern/
H A Dkern_hhook.c294 hhook_head_register(int32_t hhook_type, int32_t hhook_id, struct hhook_head **hhh, in hhook_head_register() argument
299 tmphhh = hhook_head_get(hhook_type, hhook_id); in hhook_head_register()
314 tmphhh->hhh_id = hhook_id; in hhook_head_register()
391 hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id) in hhook_head_deregister_lookup() argument
396 hhh = hhook_head_get(hhook_type, hhook_id); in hhook_head_deregister_lookup()
410 hhook_head_get(int32_t hhook_type, int32_t hhook_id) in hhook_head_get() argument
416 if (hhh->hhh_type == hhook_type && hhh->hhh_id == hhook_id) { in hhook_head_get()
/f-stack/freebsd/netinet/khelp/
H A Dh_ertt.c73 static int ertt_packet_measurement_hook(int hhook_type, int hhook_id,
75 static int ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id,
197 ertt_packet_measurement_hook(int hhook_type, int hhook_id, void *udata, in ertt_packet_measurement_hook() argument
432 ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id, void *udata, in ertt_add_tx_segment_info_hook() argument
/f-stack/freebsd/net/
H A Dif_enc.c242 enc_hhook(int32_t hhook_type, int32_t hhook_id, void *udata, void *ctx_data, in enc_hhook() argument
258 if (ctx->af != hhook_id) in enc_hhook()
289 switch (hhook_id) { in enc_hhook()