Home
last modified time | relevance | path

Searched refs:hdata (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/sys/
H A Dmodule_khelp.h73 #define KHELP_DECLARE_MOD_UMA(hname, hdata, hhooks, version, size, ctor, dtor) \ argument
76 .helper = hdata, \
91 #define KHELP_DECLARE_MOD(hname, hdata, hhooks, version) \ argument
92 KHELP_DECLARE_MOD_UMA(hname, hdata, hhooks, version, 0, NULL, NULL)
H A Dhhook.h76 void *ctx_data, void *hdata, struct osd *hosd);
/freebsd/sys/kern/
H A Dkern_khelp.c151 void *hdata; in khelp_init_osd() local
162 hdata = uma_zalloc(h->h_zone, M_NOWAIT); in khelp_init_osd()
163 if (hdata == NULL) { in khelp_init_osd()
167 osd_set(OSD_KHELP, hosd, h->h_id, hdata); in khelp_init_osd()
211 void *hdata; in khelp_remove_osd() local
219 hdata = osd_get(OSD_KHELP, hosd, h->h_id); in khelp_remove_osd()
220 if (hdata != NULL) { in khelp_remove_osd()
221 uma_zfree(h->h_zone, hdata); in khelp_remove_osd()
H A Dkern_hhook.c96 void *hdata; in hhook_run_hooks() local
105 hdata = osd_get(OSD_KHELP, hosd, hhk->hhk_helper->h_id); in hhook_run_hooks()
106 if (hdata == NULL) in hhook_run_hooks()
109 hdata = NULL; in hhook_run_hooks()
121 ctx_data, hdata, hosd); in hhook_run_hooks()
/freebsd/share/examples/kld/khelp/
H A Dh_example.c58 void *ctx_data, void *hdata, struct osd *hosd);
131 void *hdata, struct osd *hosd) in example_hook() argument
135 data = hdata; in example_hook()
/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
208 KASSERT(hdata != NULL, ("%s: hdata is NULL!", __func__)); in ertt_packet_measurement_hook()
210 e_t = (struct ertt *)hdata; in ertt_packet_measurement_hook()
430 void *ctx_data, void *hdata, struct osd *hosd) in ertt_add_tx_segment_info_hook() argument
442 KASSERT(hdata != NULL, ("%s: hdata is NULL!", __func__)); in ertt_add_tx_segment_info_hook()
444 e_t = (struct ertt *)hdata; in ertt_add_tx_segment_info_hook()
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_lib.c213 void **hdata, size_t *hdatalen) in get_cert_verify_tbs_data() argument
256 *hdata = tls13tbs; in get_cert_verify_tbs_data()
262 retlen = retlen_l = BIO_get_mem_data(s->s3.handshake_buffer, hdata); in get_cert_verify_tbs_data()
280 void *hdata; in tls_construct_cert_verify() local
303 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_construct_cert_verify()
334 if (EVP_DigestSignUpdate(mctx, hdata, hdatalen) <= 0 in tls_construct_cert_verify()
354 if (EVP_DigestSign(mctx, NULL, &siglen, hdata, hdatalen) <= 0) { in tls_construct_cert_verify()
410 void *hdata; in tls_process_cert_verify() local
484 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_process_cert_verify()
524 if (EVP_DigestVerifyUpdate(mctx, hdata, hdatalen) <= 0 in tls_process_cert_verify()
[all …]
H A Dextensions.c1563 void *hdata; in tls_psk_do_binder() local
1566 BIO_get_mem_data(s->s3.handshake_buffer, &hdata); in tls_psk_do_binder()
1580 if (!PACKET_buf_init(&hashprefix, hdata, hdatalen) in tls_psk_do_binder()
1591 if (EVP_DigestUpdate(mctx, hdata, hdatalen) <= 0) { in tls_psk_do_binder()
/freebsd/crypto/openssl/ssl/
H A Ds3_enc.c375 void *hdata; in ssl3_digest_cached_records() local
378 hdatalen = BIO_get_mem_data(s->s3.handshake_buffer, &hdata); in ssl3_digest_cached_records()
397 || !EVP_DigestUpdate(s->s3.handshake_dgst, hdata, hdatalen)) { in ssl3_digest_cached_records()
H A Dtls13_enc.c481 void *hdata; in tls13_change_cipher_state() local
490 handlen = BIO_get_mem_data(s->s3.handshake_buffer, &hdata); in tls13_change_cipher_state()
541 || !EVP_DigestUpdate(mdctx, hdata, handlen) in tls13_change_cipher_state()
/freebsd/sys/netgraph/
H A Dng_vlan.c63 #define IS_HOOK_VLAN_SET(hdata) \ argument
64 ((((uintptr_t)hdata) & HOOK_VLAN_TAG_SET_MASK) == HOOK_VLAN_TAG_SET_MASK)
/freebsd/sys/net/
H A Dif_enc.c242 void *hdata, struct osd *hosd) in enc_hhook() argument
H A Dif_infiniband.c197 ah = (struct arphdr *)req->hdata; in infiniband_requestencap()
H A Dif_var.h177 char *hdata; /* Upper layer header data (rw) */ member
H A Dif_ethersubr.c173 ah = (struct arphdr *)req->hdata; in ether_requestencap()
/freebsd/sys/netinet/
H A Dif_ether.c328 ereq.hdata = (u_char *)ah; in arp_fillheader()
/freebsd/contrib/ntp/sntp/libevent/
H A DCMakeLists.txt520 "int gethostbyname_r(const char *name, struct hostent *hp, struct hostent_data *hdata)"
/freebsd/contrib/libevent/
H A DCMakeLists.txt520 "int gethostbyname_r(const char *name, struct hostent *hp, struct hostent_data *hdata)"