Searched refs:hhook_id (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.3-release/sys/sys/ |
H A D | hhook.h | 72 typedef int (*hhook_func_t)(int32_t hhook_type, int32_t hhook_id, void *udata, 116 int hhook_head_register(int32_t hhook_type, int32_t hhook_id, 121 int hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id); 123 struct hhook_head * hhook_head_get(int32_t hhook_type, int32_t hhook_id); 147 #define HHOOKS_RUN_LOOKUP_IF(hhook_type, hhook_id, ctx_data, hosd) do { \ 150 _hhh = hhook_head_get(hhook_type, hhook_id); \
|
/freebsd-10.3-release/share/examples/kld/khelp/ |
H A D | h_example.c | 58 static int example_hook(int hhook_type, int hhook_id, void *udata, 113 * - hhook_type and hhook_id are useful if you use a single function with many 131 example_hook(int hhook_type, int hhook_id, void *udata, void *ctx_data, argument 138 if (hhook_id == HHOOK_TCP_EST_IN) 140 else if (hhook_id == HHOOK_TCP_EST_OUT)
|
/freebsd-10.3-release/sys/kern/ |
H A D | kern_hhook.c | 291 hhook_head_register(int32_t hhook_type, int32_t hhook_id, struct hhook_head **hhh, argument 296 tmphhh = hhook_head_get(hhook_type, hhook_id); 311 tmphhh->hhh_id = hhook_id; 388 hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id) argument 393 hhh = hhook_head_get(hhook_type, hhook_id); 407 hhook_head_get(int32_t hhook_type, int32_t hhook_id) argument 413 if (hhh->hhh_type == hhook_type && hhh->hhh_id == hhook_id) {
|
/freebsd-10.3-release/sys/netinet/khelp/ |
H A D | h_ertt.c | 71 static int ertt_packet_measurement_hook(int hhook_type, int hhook_id, 73 static int ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id, 195 ertt_packet_measurement_hook(int hhook_type, int hhook_id, void *udata, argument 429 ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id, void *udata, argument
|
Completed in 56 milliseconds