Searched refs:hhook_type (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
|
/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); 313 tmphhh->hhh_type = hhook_type; 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/net/ |
H A D | if_enc.c | 211 int32_t hhook_type, uint8_t enc, uint8_t af) 215 if (hhook_type == HHOOK_TYPE_IPSEC_IN && 218 else if (hhook_type == HHOOK_TYPE_IPSEC_OUT && 235 * + from hhook_type we can determine the packet direction: 242 enc_hhook(int32_t hhook_type, int32_t hhook_id, void *udata, void *ctx_data, argument 261 enc_bpftap(ifp, *ctx->mp, ctx->sav, hhook_type, ctx->enc, ctx->af); 262 switch (hhook_type) { 314 enc_bpftap(ifp, *ctx->mp, ctx->sav, hhook_type, 210 enc_bpftap(struct ifnet *ifp, struct mbuf *m, const struct secasvar *sav, int32_t hhook_type, uint8_t enc, uint8_t af) argument
|
/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
|
Completed in 163 milliseconds