Searched refs:hhook_type (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/sys/ |
H A D | hhook.h | 75 typedef int (*hhook_func_t)(int32_t hhook_type, int32_t hhook_id, void *udata, 119 int hhook_head_register(int32_t hhook_type, int32_t hhook_id, 124 int hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id); 126 struct hhook_head * hhook_head_get(int32_t hhook_type, int32_t hhook_id); 150 #define HHOOKS_RUN_LOOKUP_IF(hhook_type, hhook_id, ctx_data, hosd) do { \ argument 153 _hhh = hhook_head_get(hhook_type, hhook_id); \
|
/freebsd/sys/kern/ |
H A D | kern_hhook.c | 291 hhook_head_register(int32_t hhook_type, int32_t hhook_id, struct hhook_head **hhh, in hhook_head_register() argument 296 tmphhh = hhook_head_get(hhook_type, hhook_id); in hhook_head_register() 310 tmphhh->hhh_type = hhook_type; in hhook_head_register() 388 hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id) in hhook_head_deregister_lookup() argument 393 hhh = hhook_head_get(hhook_type, hhook_id); in hhook_head_deregister_lookup() 407 hhook_head_get(int32_t hhook_type, int32_t hhook_id) in hhook_head_get() argument 413 if (hhh->hhh_type == hhook_type && hhh->hhh_id == hhook_id) { in hhook_head_get()
|
/freebsd/sys/net/ |
H A D | if_enc.c | 205 int32_t hhook_type, uint8_t enc, uint8_t af) in enc_bpftap() argument 209 if (hhook_type == HHOOK_TYPE_IPSEC_IN && in enc_bpftap() 212 else if (hhook_type == HHOOK_TYPE_IPSEC_OUT && in enc_bpftap() 236 enc_hhook(int32_t hhook_type, int32_t hhook_id, void *udata, void *ctx_data, in enc_hhook() argument 255 enc_bpftap(ifp, *ctx->mp, ctx->sav, hhook_type, ctx->enc, ctx->af); in enc_hhook() 256 switch (hhook_type) { in enc_hhook() 312 enc_bpftap(ifp, *ctx->mp, ctx->sav, hhook_type, in enc_hhook()
|
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 70 static int ertt_packet_measurement_hook(int hhook_type, int hhook_id, 72 static int ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id, 194 ertt_packet_measurement_hook(int hhook_type, int hhook_id, void *udata, in ertt_packet_measurement_hook() argument 429 ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id, void *udata, in ertt_add_tx_segment_info_hook() argument
|