Home
last modified time | relevance | path

Searched refs:ctx_data (Results 1 – 7 of 7) sorted by relevance

/src/sys/sys/
H A Dhhook.h76 void *ctx_data, void *hdata, struct osd *hosd);
108 void hhook_run_hooks(struct hhook_head *hhh, void *ctx_data, struct osd *hosd);
138 #define HHOOKS_RUN_IF(hhh, ctx_data, hosd) do { \ argument
140 hhook_run_hooks(hhh, ctx_data, hosd); \
150 #define HHOOKS_RUN_LOOKUP_IF(hhook_type, hhook_id, ctx_data, hosd) do { \ argument
156 hhook_run_hooks(_hhh, ctx_data, hosd); \
/src/crypto/openssl/test/helpers/
H A Dhandshake_srp.c24 CTX_DATA *ctx_data = (CTX_DATA *)(arg); in client_srp_cb() local
25 return OPENSSL_strdup(ctx_data->srp_password); in client_srp_cb()
30 CTX_DATA *ctx_data = (CTX_DATA *)(arg); in server_srp_cb() local
31 if (strcmp(ctx_data->srp_user, SSL_get_srp_username(s)) != 0) in server_srp_cb()
33 if (SSL_set_srp_server_param_pw(s, ctx_data->srp_user, in server_srp_cb()
34 ctx_data->srp_password, in server_srp_cb()
H A Dhandshake.c65 static void ctx_data_free_data(CTX_DATA *ctx_data) in ctx_data_free_data() argument
67 OPENSSL_free(ctx_data->npn_protocols); in ctx_data_free_data()
68 ctx_data->npn_protocols = NULL; in ctx_data_free_data()
69 OPENSSL_free(ctx_data->alpn_protocols); in ctx_data_free_data()
70 ctx_data->alpn_protocols = NULL; in ctx_data_free_data()
71 OPENSSL_free(ctx_data->srp_user); in ctx_data_free_data()
72 ctx_data->srp_user = NULL; in ctx_data_free_data()
73 OPENSSL_free(ctx_data->srp_password); in ctx_data_free_data()
74 ctx_data->srp_password = NULL; in ctx_data_free_data()
75 OPENSSL_free(ctx_data->session_ticket_app_data); in ctx_data_free_data()
[all …]
/src/sys/netinet/khelp/
H A Dh_ertt.c71 void *udata, void *ctx_data, void *hdata, struct osd *hosd);
73 void *udata, void *ctx_data, void *hdata, struct osd *hosd);
195 void *ctx_data, void *hdata, struct osd *hosd) in ertt_packet_measurement_hook() argument
207 KASSERT(ctx_data != NULL, ("%s: ctx_data is NULL!", __func__)); in ertt_packet_measurement_hook()
211 thdp = ctx_data; in ertt_packet_measurement_hook()
430 void *ctx_data, void *hdata, struct osd *hosd) in ertt_add_tx_segment_info_hook() argument
441 KASSERT(ctx_data != NULL, ("%s: ctx_data is NULL!", __func__)); in ertt_add_tx_segment_info_hook()
445 thdp = ctx_data; in ertt_add_tx_segment_info_hook()
/src/share/examples/kld/khelp/
H A Dh_example.c59 void *ctx_data, void *hdata, struct osd *hosd);
131 example_hook(int hhook_type, int hhook_id, void *udata, void *ctx_data, in example_hook() argument
/src/sys/kern/
H A Dkern_hhook.c93 hhook_run_hooks(struct hhook_head *hhh, void *ctx_data, struct osd *hosd) in hhook_run_hooks() argument
121 ctx_data, hdata, hosd); in hhook_run_hooks()
/src/sys/net/
H A Dif_enc.c236 enc_hhook(int32_t hhook_type, int32_t hhook_id, void *udata, void *ctx_data, in enc_hhook() argument
250 ctx = (struct ipsec_ctx_data *)ctx_data; in enc_hhook()