Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/netbsd-src/external/ibm-public/postfix/dist/src/smtp/
H A Dsmtp_sasl_glue.c164 int smtp_sasl_passwd_lookup(SMTP_SESSION *session) in smtp_sasl_passwd_lookup() argument
167 SMTP_STATE *state = session->state; in smtp_sasl_passwd_lookup()
168 SMTP_ITERATOR *iter = session->iterator; in smtp_sasl_passwd_lookup()
202 if (session->sasl_username) in smtp_sasl_passwd_lookup()
203 myfree(session->sasl_username); in smtp_sasl_passwd_lookup()
204 session->sasl_username = mystrdup(value); in smtp_sasl_passwd_lookup()
205 passwd = split_at(session->sasl_username, ':'); in smtp_sasl_passwd_lookup()
206 if (session->sasl_passwd) in smtp_sasl_passwd_lookup()
207 myfree(session->sasl_passwd); in smtp_sasl_passwd_lookup()
208 session->sasl_passwd = mystrdup(passwd ? passwd : ""); in smtp_sasl_passwd_lookup()
[all …]
H A Dsmtp_session.c147 SMTP_SESSION *session; in smtp_session_alloc() local
152 session = (SMTP_SESSION *) mymalloc(sizeof(*session)); in smtp_session_alloc()
153 session->stream = stream; in smtp_session_alloc()
154 session->iterator = iter; in smtp_session_alloc()
155 session->namaddr = concatenate(host, "[", addr, "]", (char *) 0); in smtp_session_alloc()
156 session->helo = 0; in smtp_session_alloc()
157 session->port = port; in smtp_session_alloc()
158 session->features = 0; in smtp_session_alloc()
160 session->size_limit = 0; in smtp_session_alloc()
161 session->error_mask = 0; in smtp_session_alloc()
[all …]
H A Dsmtp_chat.c158 void smtp_chat_init(SMTP_SESSION *session) in smtp_chat_init() argument
160 session->history = 0; in smtp_chat_init()
165 void smtp_chat_reset(SMTP_SESSION *session) in smtp_chat_reset() argument
167 if (session->history) { in smtp_chat_reset()
168 argv_free(session->history); in smtp_chat_reset()
169 session->history = 0; in smtp_chat_reset()
175 static void smtp_chat_append(SMTP_SESSION *session, const char *direction, in smtp_chat_append() argument
180 if (session->history == 0) in smtp_chat_append()
181 session->history = argv_alloc(10); in smtp_chat_append()
183 argv_add(session->history, line, (char *) 0); in smtp_chat_append()
[all …]
H A Dsmtp_proto.c249 #define SMTP_MIME_DOWNGRADE(session, request) \ argument
251 && (session->features & SMTP_FEATURE_8BITMIME) == 0 \
295 SMTP_SESSION *session = state->session; in smtp_helo() local
327 int saved_features = session->features; in smtp_helo()
341 smtp_stream_setup(state->session->stream, var_smtp_starttls_tmout, in smtp_helo()
352 smtp_stream_setup(state->session->stream, var_smtp_helo_tmout, in smtp_helo()
354 if ((except = vstream_setjmp(state->session->stream)) != 0) in smtp_helo()
368 switch ((resp = smtp_chat_resp(session))->code / 100) { in smtp_helo()
378 session->namaddr, in smtp_helo()
416 > vstream_ftime(state->session->stream) - var_smtp_pix_thresh) in smtp_helo()
[all …]
H A Dsmtp_sasl_proto.c87 void smtp_sasl_helo_auth(SMTP_SESSION *session, const char *words) in smtp_sasl_helo_auth() argument
99 if (session->sasl_mechanism_list) { in smtp_sasl_helo_auth()
100 if (strcasecmp(session->sasl_mechanism_list, mech_list) != 0 in smtp_sasl_helo_auth()
102 && strlen(session->sasl_mechanism_list) < var_line_limit) { in smtp_sasl_helo_auth()
103 junk = concatenate(session->sasl_mechanism_list, " ", mech_list, in smtp_sasl_helo_auth()
105 myfree(session->sasl_mechanism_list); in smtp_sasl_helo_auth()
106 session->sasl_mechanism_list = junk; in smtp_sasl_helo_auth()
111 session->sasl_mechanism_list = mystrdup(mech_list); in smtp_sasl_helo_auth()
115 session->namaddrport, words); in smtp_sasl_helo_auth()
117 session->features |= SMTP_FEATURE_AUTH; in smtp_sasl_helo_auth()
[all …]
H A Dsmtp_reuse.c116 SMTP_SESSION *session = state->session; in smtp_save_session() local
144 fd = smtp_session_passivate(session, state->dest_prop, state->endp_prop); in smtp_save_session()
145 state->session = 0; in smtp_save_session()
175 SMTP_SESSION *session; in smtp_reuse_common() local
185 session = smtp_session_activate(fd, state->iterator, state->dest_prop, in smtp_reuse_common()
187 if (session == 0) { in smtp_reuse_common()
192 state->session = session; in smtp_reuse_common()
193 session->state = state; in smtp_reuse_common()
199 || (session->features & SMTP_FEATURE_RSET_REJECTED) != 0) { in smtp_reuse_common()
200 smtp_session_free(session); in smtp_reuse_common()
[all …]
H A Dsmtp_trouble.c188 static void smtp_check_code(SMTP_SESSION *session, int code) in smtp_check_code() argument
208 session->error_mask |= MAIL_ERROR_PROTOCOL; in smtp_check_code()
218 SMTP_SESSION *session = state->session; in smtp_bulk_fail() local
275 session ? session->namaddrport : "none", &why->dsn); in smtp_bulk_fail()
291 if (throttle_queue && session) in smtp_bulk_fail()
332 SMTP_SESSION *session = state->session; in vsmtp_fill_dsn() local
334 session->error_mask |= MAIL_ERROR_PROTOCOL; in vsmtp_fill_dsn()
359 if (state->session && mta_name) in smtp_misc_fail()
360 smtp_check_code(state->session, resp->code); in smtp_misc_fail()
374 SMTP_SESSION *session = state->session; in smtp_rcpt_fail() local
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ssl-tests/
H A D06-sni-ticket.conf5 test-0 = 0-sni-session-ticket
6 test-1 = 1-sni-session-ticket
7 test-2 = 2-sni-session-ticket
8 test-3 = 3-sni-session-ticket
9 test-4 = 4-sni-session-ticket
10 test-5 = 5-sni-session-ticket
11 test-6 = 6-sni-session-ticket
12 test-7 = 7-sni-session-ticket
13 test-8 = 8-sni-session-ticket
14 test-9 = 9-sni-session-ticket
[all …]
H A D27-ticket-appdata.conf5 test-0 = 0-session-ticket-app-data12
6 test-1 = 1-session-ticket-app-data12
7 test-2 = 2-session-ticket-app-data13
8 test-3 = 3-session-ticket-app-data13
11 [0-session-ticket-app-data12]
12 ssl_conf = 0-session-ticket-app-data12-ssl
14 [0-session-ticket-app-data12-ssl]
15 server = 0-session-ticket-app-data12-server
16 client = 0-session-ticket-app-data12-client
17 resume-server = 0-session-ticket-app-data12-server
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/ssl-tests/
H A D06-sni-ticket.cnf5 test-0 = 0-sni-session-ticket
6 test-1 = 1-sni-session-ticket
7 test-2 = 2-sni-session-ticket
8 test-3 = 3-sni-session-ticket
9 test-4 = 4-sni-session-ticket
10 test-5 = 5-sni-session-ticket
11 test-6 = 6-sni-session-ticket
12 test-7 = 7-sni-session-ticket
13 test-8 = 8-sni-session-ticket
14 test-9 = 9-sni-session-ticket
[all …]
H A D27-ticket-appdata.cnf5 test-0 = 0-session-ticket-app-data12
6 test-1 = 1-session-ticket-app-data12
7 test-2 = 2-session-ticket-app-data13
8 test-3 = 3-session-ticket-app-data13
11 [0-session-ticket-app-data12]
12 ssl_conf = 0-session-ticket-app-data12-ssl
14 [0-session-ticket-app-data12-ssl]
15 server = 0-session-ticket-app-data12-server
16 client = 0-session-ticket-app-data12-client
17 resume-server = 0-session-ticket-app-data12-server
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/smtpstone/
H A Dsmtp-source.c368 static void startup(SESSION *session) in startup() argument
371 myfree((void *) session); in startup()
375 if (session->stream == 0) { in startup()
376 enqueue_connect(session); in startup()
378 send_mail(session); in startup()
386 SESSION *session = (SESSION *) context; in start_event() local
388 startup(session); in start_event()
393 static void start_another(SESSION *session) in start_another() argument
396 event_request_timer(start_event, (void *) session, in start_another()
399 event_request_timer(start_event, (void *) session, fixed_delay); in start_another()
[all …]
H A Dqmqp-source.c241 static void startup(SESSION *session) in startup() argument
244 myfree((void *) session); in startup()
248 enqueue_connect(session); in startup()
255 SESSION *session = (SESSION *) context; in start_event() local
257 startup(session); in start_event()
262 static void start_another(SESSION *session) in start_another() argument
265 event_request_timer(start_event, (void *) session, in start_another()
268 event_request_timer(start_event, (void *) session, fixed_delay); in start_another()
270 startup(session); in start_another()
276 static void enqueue_connect(SESSION *session) in enqueue_connect() argument
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/librewrite/
H A Dsession.c82 struct rewrite_session *session, tmp; in rewrite_session_init() local
93 session = ( struct rewrite_session * )ldap_avl_find( info->li_cookies, in rewrite_session_init()
95 if ( session ) { in rewrite_session_init()
96 session->ls_count++; in rewrite_session_init()
100 return session; in rewrite_session_init()
103 session = calloc( sizeof( struct rewrite_session ), 1 ); in rewrite_session_init()
104 if ( session == NULL ) { in rewrite_session_init()
110 session->ls_cookie = ( void * )cookie; in rewrite_session_init()
111 session->ls_count = 1; in rewrite_session_init()
114 if ( ldap_pvt_thread_mutex_init( &session->ls_mutex ) ) { in rewrite_session_init()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/netmgr/
H A Dhttp.c175 isc_nm_http_session_t *session; member
191 http_send_outgoing(isc_nm_http_session_t *session, isc_nmhandle_t *httphandle,
195 http_do_bio(isc_nm_http_session_t *session, isc_nmhandle_t *send_httphandle,
200 isc_nm_http_session_t *session);
203 client_call_failed_read_cb(isc_result_t result, isc_nm_http_session_t *session);
206 server_call_failed_read_cb(isc_result_t result, isc_nm_http_session_t *session);
209 failed_read_cb(isc_result_t result, isc_nm_http_session_t *session);
219 finish_http_session(isc_nm_http_session_t *session);
250 http_session_active(isc_nm_http_session_t *session) { in http_malloc()
251 REQUIRE(VALID_HTTP2_SESSION(session)); in http_malloc()
244 http_session_active(isc_nm_http_session_t * session) http_session_active() argument
288 isc_nm_http_session_t *session = NULL; new_session() local
318 isc_nm_http_session_t *session = NULL; isc__nm_httpsession_detach() local
354 find_http_cstream(int32_t stream_id,isc_nm_http_session_t * session) find_http_cstream() argument
487 finish_http_session(isc_nm_http_session_t * session) finish_http_session() argument
530 on_client_data_chunk_recv_callback(int32_t stream_id,const uint8_t * data,size_t len,isc_nm_http_session_t * session) on_client_data_chunk_recv_callback() argument
553 on_server_data_chunk_recv_callback(int32_t stream_id,const uint8_t * data,size_t len,isc_nm_http_session_t * session) on_server_data_chunk_recv_callback() argument
588 isc_nm_http_session_t *session = (isc_nm_http_session_t *)user_data; on_data_chunk_recv_callback() local
607 call_unlink_cstream_readcb(http_cstream_t * cstream,isc_nm_http_session_t * session,isc_result_t result) call_unlink_cstream_readcb() argument
622 on_client_stream_close_callback(int32_t stream_id,isc_nm_http_session_t * session) on_client_stream_close_callback() argument
651 on_server_stream_close_callback(int32_t stream_id,isc_nm_http_session_t * session) on_server_stream_close_callback() argument
681 isc_nm_http_session_t *session = (isc_nm_http_session_t *)user_data; on_stream_close_callback() local
754 isc_nm_http_session_t *session = (isc_nm_http_session_t *)user_data; client_on_header_callback() local
807 initialize_nghttp2_client_session(isc_nm_http_session_t * session) initialize_nghttp2_client_session() argument
839 send_client_connection_header(isc_nm_http_session_t * session) send_client_connection_header() argument
869 isc_nm_http_session_t *session = (isc_nm_http_session_t *)user_data; client_read_callback() local
914 client_submit_request(isc_nm_http_session_t * session,http_cstream_t * stream) client_submit_request() argument
980 isc_nm_http_session_t *session = (isc_nm_http_session_t *)data; http_readcb() local
1033 isc_nm_http_session_t *session = req->session; http_writecb() local
1063 move_pending_send_callbacks(isc_nm_http_session_t * session,isc_http_send_req_t * send) move_pending_send_callbacks() argument
1076 http_send_outgoing(isc_nm_http_session_t * session,isc_nmhandle_t * httphandle,isc_nm_cb_t cb,void * cbarg) http_send_outgoing() argument
1226 http_do_bio(isc_nm_http_session_t * session,isc_nmhandle_t * send_httphandle,isc_nm_cb_t send_cb,void * send_cbarg) http_do_bio() argument
1315 http_call_connect_cb(isc_nmsocket_t * sock,isc_nm_http_session_t * session,isc_result_t result) http_call_connect_cb() argument
1351 isc_nm_http_session_t *session = NULL; transport_connect_cb() local
1519 isc_nm_http_session_t *session = sock->h2.session; client_send() local
1631 isc_nm_http_session_t *session = (isc_nm_http_session_t *)user_data; server_on_begin_headers_callback() local
1851 server_on_header_callback(nghttp2_session * session,const nghttp2_frame * frame,const uint8_t * name,size_t namelen,const uint8_t * value,size_t valuelen,uint8_t flags,void * user_data) server_on_header_callback() argument
1900 isc_nm_http_session_t *session = (isc_nm_http_session_t *)user_data; server_read_callback() local
2037 server_call_cb(isc_nmsocket_t * socket,isc_nm_http_session_t * session,const isc_result_t result,isc_region_t * data) server_call_cb() argument
2069 server_on_request_recv(nghttp2_session * ngsession,isc_nm_http_session_t * session,isc_nmsocket_t * socket) server_on_request_recv() argument
2271 isc_nm_http_session_t *session = NULL; isc__nm_async_httpsend() local
2296 isc_nm_http_session_t *session = NULL; isc__nm_http_read() local
2330 isc_nm_http_session_t *session = (isc_nm_http_session_t *)user_data; server_on_frame_recv_callback() local
2361 initialize_nghttp2_server_session(isc_nm_http_session_t * session) initialize_nghttp2_server_session() argument
2392 server_send_connection_header(isc_nm_http_session_t * session) server_send_connection_header() argument
2433 isc_nm_http_session_t *session = NULL; httplisten_acceptcb() local
2711 isc_nm_http_session_t *session = NULL; http_close_direct() local
2781 failed_httpstream_read_cb(isc_nmsocket_t * sock,isc_result_t result,isc_nm_http_session_t * session) failed_httpstream_read_cb() argument
2801 client_call_failed_read_cb(isc_result_t result,isc_nm_http_session_t * session) client_call_failed_read_cb() argument
2837 server_call_failed_read_cb(isc_result_t result,isc_nm_http_session_t * session) server_call_failed_read_cb() argument
2863 failed_read_cb(isc_result_t result,isc_nm_http_session_t * session) failed_read_cb() argument
2885 isc_nm_http_session_t *session; isc__nm_http_set_maxage() local
2902 isc_nm_http_session_t *session; isc__nm_http_has_encryption() local
2919 isc_nm_http_session_t *session; isc__nm_http_verify_tls_peer_result_string() local
[all...]
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dtls_g.c67 gnutls_session_t session; member
390 tlsg_session *session; in tlsg_session_new() local
392 session = ber_memcalloc ( 1, sizeof (*session) ); in tlsg_session_new()
393 if ( !session ) in tlsg_session_new()
396 session->ctx = c; in tlsg_session_new()
397 gnutls_init( &session->session, is_server ? GNUTLS_SERVER : GNUTLS_CLIENT ); in tlsg_session_new()
398 gnutls_priority_set( session->session, c->prios ); in tlsg_session_new()
400 gnutls_credentials_set( session->session, GNUTLS_CRD_CERTIFICATE, c->cred ); in tlsg_session_new()
409 gnutls_certificate_server_set_request( session->session, flag ); in tlsg_session_new()
412 return (tls_session *)session; in tlsg_session_new()
[all …]
/netbsd-src/external/bsd/tmux/dist/
H A Dsession.c40 static void session_group_remove(struct session *);
41 static void session_group_synchronize1(struct session *, struct session *);
44 session_cmp(struct session *s1, struct session *s2) in session_cmp()
48 RB_GENERATE(sessions, session, entry, session_cmp);
62 session_alive(struct session *s) in session_alive()
64 struct session *s_loop; in session_alive()
74 struct session *
77 struct session s; in session_find()
84 struct session *
100 struct session *
[all …]
H A Dcontrol-notify.c46 struct session *s; in control_notify_window_layout_changed()
55 if (!CONTROL_SHOULD_NOTIFY_CLIENT(c) || c->session == NULL) in control_notify_window_layout_changed()
57 s = c->session; in control_notify_window_layout_changed()
94 control_notify_window_unlinked(__unused struct session *s, struct window *w) in control_notify_window_unlinked()
97 struct session *cs; in control_notify_window_unlinked()
100 if (!CONTROL_SHOULD_NOTIFY_CLIENT(c) || c->session == NULL) in control_notify_window_unlinked()
102 cs = c->session; in control_notify_window_unlinked()
112 control_notify_window_linked(__unused struct session *s, struct window *w) in control_notify_window_linked()
115 struct session *cs; in control_notify_window_linked()
118 if (!CONTROL_SHOULD_NOTIFY_CLIENT(c) || c->session == NULL) in control_notify_window_linked()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/
H A D70-test_tlsextms.t97 (undef, my $session) = tempfile();
99 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
102 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
105 unlink $session;
114 (undef, $session) = tempfile();
116 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
119 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
123 unlink $session;
131 (undef, $session) = tempfile();
133 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/recipes/
H A D70-test_tlsextms.t99 (undef, my $session) = tempfile();
101 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
104 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
107 unlink $session;
116 (undef, $session) = tempfile();
118 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
121 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
125 unlink $session;
133 (undef, $session) = tempfile();
135 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DSSL_CTX_set_session_cache_mode.pod5 SSL_CTX_set_session_cache_mode, SSL_CTX_get_session_cache_mode - enable/disable session caching
16 SSL_CTX_set_session_cache_mode() enables/disables session caching
28 In order to reuse a session, a client must send the session's id to the
30 agrees to reuse the session or it starts a full handshake (to create a new
31 session).
33 A server will look up the session in its internal session storage. If the
34 session is not found in internal storage or lookups for the internal storage
38 Since a client may try to reuse a session intended for use in a different
39 context, the session id context must be set by the server (see
42 The following session cache modes and modifiers are available:
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DSSL_CTX_set_session_cache_mode.pod5 SSL_CTX_set_session_cache_mode, SSL_CTX_get_session_cache_mode - enable/disable session caching
16 SSL_CTX_set_session_cache_mode() enables/disables session caching
28 In order to reuse a session, a client must send the session's id to the
30 agrees to reuse the session or it starts a full handshake (to create a new
31 session).
33 A server will look up the session in its internal session storage. If the
34 session is not found in internal storage or lookups for the internal storage
38 Since a client may try to reuse a session intended for use in a different
39 context, the session id context must be set by the server (see
42 The following session cache modes and modifiers are available:
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dpkcs11.h717 typedef ck_rv_t (*ck_notify_t) (ck_session_handle_t session,
753 (ck_session_handle_t session, unsigned char *pin,
756 (ck_session_handle_t session, unsigned char *old_pin,
763 ck_session_handle_t *session));
764 _CK_DECLARE_FUNCTION (C_CloseSession, (ck_session_handle_t session));
767 (ck_session_handle_t session,
770 (ck_session_handle_t session,
774 (ck_session_handle_t session,
780 (ck_session_handle_t session, ck_user_type_t user_type,
782 _CK_DECLARE_FUNCTION (C_Logout, (ck_session_handle_t session));
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-wt/
H A Dctx.c43 if(!wc->session){ in wt_ctx_init()
44 rc = wi->wi_conn->open_session(wi->wi_conn, NULL, NULL, &wc->session); in wt_ctx_init()
61 if(wc->session){ in wt_ctx_free()
62 wc->session->close(wc->session, NULL); in wt_ctx_free()
63 wc->session = NULL; in wt_ctx_free()
101 WT_SESSION *session = wc->session; in wt_ctx_index_cursor() local
107 rc = session->open_cursor(session, tablename, NULL, in wt_ctx_index_cursor()
110 rc = session->create(session, in wt_ctx_index_cursor()
122 rc = session->open_cursor(session, tablename, NULL, in wt_ctx_index_cursor()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dtest_soft_pkcs11.c44 find_object(CK_SESSION_HANDLE session, in find_object() argument
59 ret = (*func->C_FindObjectsInit)(session, search_data, num_search_data); in find_object()
63 ret = (*func->C_FindObjects)(session, object, 1, &object_count); in find_object()
71 ret = (*func->C_FindObjectsFinal)(session); in find_object()
91 CK_SESSION_HANDLE session; in main() local
125 NULL, NULL, &session); in main()
134 ret = (*func->C_Login)(session, CKU_USER, in main()
147 ret = find_object(session, "cert", CKO_PUBLIC_KEY, &public); in main()
150 ret = find_object(session, "cert", CKO_PRIVATE_KEY, &private); in main()
161 ret = (*func->C_SignInit)(session, &mechanism, private); in main()
[all …]

12345678910>>...30