Searched refs:hhook_id (Results 1 - 5 of 5) sorted by relevance
/freebsd-13-stable/sys/sys/ |
H A D | hhook.h | 77 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 { \ 155 _hhh = hhook_head_get(hhook_type, hhook_id); \
|
/freebsd-13-stable/share/examples/kld/khelp/ |
H A D | h_example.c | 60 static int example_hook(int hhook_type, int hhook_id, void *udata, 115 * - hhook_type and hhook_id are useful if you use a single function with many 133 example_hook(int hhook_type, int hhook_id, void *udata, void *ctx_data, argument 140 if (hhook_id == HHOOK_TCP_EST_IN) 142 else if (hhook_id == HHOOK_TCP_EST_OUT)
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_hhook.c | 294 hhook_head_register(int32_t hhook_type, int32_t hhook_id, struct hhook_head **hhh, argument 299 tmphhh = hhook_head_get(hhook_type, hhook_id); 314 tmphhh->hhh_id = hhook_id; 391 hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id) argument 396 hhh = hhook_head_get(hhook_type, hhook_id); 410 hhook_head_get(int32_t hhook_type, int32_t hhook_id) argument 416 if (hhh->hhh_type == hhook_type && hhh->hhh_id == hhook_id) {
|
/freebsd-13-stable/sys/netinet/khelp/ |
H A D | h_ertt.c | 73 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, argument 432 ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id, void *udata, argument
|
/freebsd-13-stable/sys/net/ |
H A D | if_enc.c | 237 * + from hhook_id we can determine address family: AF_INET or AF_INET6; 242 enc_hhook(int32_t hhook_type, int32_t hhook_id, void *udata, void *ctx_data, argument 258 if (ctx->af != hhook_id) 289 switch (hhook_id) {
|
Completed in 95 milliseconds