Home
last modified time | relevance | path

Searched refs:session_data (Results 1 – 17 of 17) sorted by relevance

/third_party/nghttp2/examples/
Dlibevent-client.c154 http2_session_data *session_data = malloc(sizeof(http2_session_data)); in create_http2_session_data() local
156 memset(session_data, 0, sizeof(http2_session_data)); in create_http2_session_data()
157 session_data->dnsbase = evdns_base_new(evbase, 1); in create_http2_session_data()
158 return session_data; in create_http2_session_data()
161 static void delete_http2_session_data(http2_session_data *session_data) { in delete_http2_session_data() argument
162 SSL *ssl = bufferevent_openssl_get_ssl(session_data->bev); in delete_http2_session_data()
167 bufferevent_free(session_data->bev); in delete_http2_session_data()
168 session_data->bev = NULL; in delete_http2_session_data()
169 evdns_base_free(session_data->dnsbase, 1); in delete_http2_session_data()
170 session_data->dnsbase = NULL; in delete_http2_session_data()
[all …]
Dlibevent-server.c199 static void add_stream(http2_session_data *session_data, in add_stream() argument
201 stream_data->next = session_data->root.next; in add_stream()
202 session_data->root.next = stream_data; in add_stream()
203 stream_data->prev = &session_data->root; in add_stream()
209 static void remove_stream(http2_session_data *session_data, in remove_stream() argument
211 (void)session_data; in remove_stream()
220 create_http2_stream_data(http2_session_data *session_data, int32_t stream_id) { in create_http2_stream_data() argument
227 add_stream(session_data, stream_data); in create_http2_stream_data()
244 http2_session_data *session_data; in create_http2_session_data() local
250 session_data = malloc(sizeof(http2_session_data)); in create_http2_session_data()
[all …]
/third_party/nghttp2/doc/sources/
Dtutorial-client.rst118 http2_session_data *session_data) {
128 bufferevent_setcb(bev, readcb, writecb, eventcb, session_data);
129 rv = bufferevent_socket_connect_hostname(bev, session_data->dnsbase,
135 session_data->bev = bev;
146 http2_session_data *session_data = (http2_session_data *)ptr;
156 ssl = bufferevent_openssl_get_ssl(session_data->bev);
167 delete_http2_session_data(session_data);
172 initialize_nghttp2_session(session_data);
173 send_client_connection_header(session_data);
174 submit_request(session_data);
[all …]
Dtutorial-server.rst189 http2_session_data *session_data;
191 session_data = create_http2_session_data(app_ctx, fd, addr, addrlen);
193 bufferevent_setcb(session_data->bev, readcb, writecb, eventcb, session_data);
206 http2_session_data *session_data = (http2_session_data *)ptr;
212 fprintf(stderr, "%s connected\n", session_data->client_addr);
214 ssl = bufferevent_openssl_get_ssl(session_data->bev);
224 fprintf(stderr, "%s h2 is not negotiated\n", session_data->client_addr);
225 delete_http2_session_data(session_data);
229 initialize_nghttp2_session(session_data);
231 if (send_server_connection_header(session_data) != 0 ||
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_gnutls.c28 void *session_data; member
137 os_free(global->session_data); in tls_deinit()
338 if (global->session_data) { in tls_connection_shutdown()
340 global->session_data, in tls_connection_shutdown()
1546 if (global->session_data == NULL || in tls_connection_handshake()
1548 os_free(global->session_data); in tls_connection_handshake()
1549 global->session_data = os_malloc(size); in tls_connection_handshake()
1551 if (global->session_data) { in tls_connection_handshake()
1554 global->session_data, in tls_connection_handshake()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_gnutls.c28 void *session_data; member
137 os_free(global->session_data); in tls_deinit()
338 if (global->session_data) { in tls_connection_shutdown()
340 global->session_data, in tls_connection_shutdown()
1546 if (global->session_data == NULL || in tls_connection_handshake()
1548 os_free(global->session_data); in tls_connection_handshake()
1549 global->session_data = os_malloc(size); in tls_connection_handshake()
1551 if (global->session_data) { in tls_connection_handshake()
1554 global->session_data, in tls_connection_handshake()
/third_party/mbedtls/programs/ssl/
Dssl_client2.c708 unsigned char *session_data = NULL; in main() local
2298 if( session_data != NULL ) in main()
2300 mbedtls_platform_zeroize( session_data, session_data_len ); in main()
2301 mbedtls_free( session_data ); in main()
2302 session_data = NULL; in main()
2317 session_data = mbedtls_calloc( 1, session_data_len ); in main()
2318 if( session_data == NULL ) in main()
2329 session_data, session_data_len, in main()
2960 session_data, in main()
3033 if( session_data != NULL ) in main()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dvb/
Dcamsession.h65 CamReturn (*session_data) (CamSL *sl, CamSLSession *session, member
Dcamsession.c559 if (sl->session_data) in handle_session_data()
561 return sl->session_data (sl, session, spdu + 4, length - 4); in handle_session_data()
Dcamapplication.c107 sl->session_data = session_data_cb; in cam_al_new()
/third_party/nghttp2/src/
Dshrpx_tls.h59 std::vector<uint8_t> session_data; member
Dshrpx_tls.cc1892 cache->session_data = serialize_ssl_session(session); in try_cache_tls_session()
1897 if (cache.session_data.empty()) { in reuse_tls_session()
1901 auto p = cache.session_data.data(); in reuse_tls_session()
1902 return d2i_SSL_SESSION(nullptr, &p, cache.session_data.size()); in reuse_tls_session()
/third_party/libusb/libusb/
Dcore.c711 dev->session_data = session_id; in usbi_alloc_device()
795 if (dev->session_data == session_id) { in usbi_get_device_by_session_id()
Dlibusbi.h467 unsigned long session_data; member
/third_party/libusb/libusb/os/
Ddarwin_usb.c1128 dev->session_data = cached_device->session; in process_new_device()
Dwindows_winusb.c1750 usbi_dbg("setting HID interface for [%lX]:", parent_dev->session_data); in winusb_get_device_list()
1753 usbi_dbg("setting composite interface for [%lX]:", parent_dev->session_data); in winusb_get_device_list()
/third_party/node/src/
Dnode_crypto.cc1815 unsigned char* session_data = reinterpret_cast<unsigned char*>( in NewSessionCallback() local
1817 memset(session_data, 0, size); in NewSessionCallback()
1818 i2d_SSL_SESSION(sess, &session_data); in NewSessionCallback()