Home
last modified time | relevance | path

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

/freebsd/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); \
/freebsd/crypto/openssl/test/helpers/
H A Dhandshake_srp.c23 CTX_DATA *ctx_data = (CTX_DATA*)(arg); in client_srp_cb() local
24 return OPENSSL_strdup(ctx_data->srp_password); in client_srp_cb()
29 CTX_DATA *ctx_data = (CTX_DATA*)(arg); in server_srp_cb() local
30 if (strcmp(ctx_data->srp_user, SSL_get_srp_username(s)) != 0) in server_srp_cb()
32 if (SSL_set_srp_server_param_pw(s, ctx_data->srp_user, in server_srp_cb()
33 ctx_data->srp_password, in server_srp_cb()
H A Dhandshake.c66 OPENSSL_free(ctx_data->npn_protocols); in ctx_data_free_data()
67 ctx_data->npn_protocols = NULL; in ctx_data_free_data()
68 OPENSSL_free(ctx_data->alpn_protocols); in ctx_data_free_data()
69 ctx_data->alpn_protocols = NULL; in ctx_data_free_data()
70 OPENSSL_free(ctx_data->srp_user); in ctx_data_free_data()
71 ctx_data->srp_user = NULL; in ctx_data_free_data()
72 OPENSSL_free(ctx_data->srp_password); in ctx_data_free_data()
73 ctx_data->srp_password = NULL; in ctx_data_free_data()
75 ctx_data->session_ticket_app_data = NULL; in ctx_data_free_data()
412 *data = ctx_data->npn_protocols; in server_npn_cb()
[all …]
/freebsd/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()
/freebsd/share/examples/kld/khelp/
H A Dh_example.c58 void *ctx_data, void *hdata, struct osd *hosd);
130 example_hook(int hhook_type, int hhook_id, void *udata, void *ctx_data, in example_hook() argument
/freebsd/sys/net/
H A Dif_enc.c241 enc_hhook(int32_t hhook_type, int32_t hhook_id, void *udata, void *ctx_data, in enc_hhook() argument
255 ctx = (struct ipsec_ctx_data *)ctx_data; in enc_hhook()
/freebsd/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()