Home
last modified time | relevance | path

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

12345678910>>...13

/openbsd-src/sys/net/
H A Dpipex.c95 pipex_session_list, /* [L] master session list */
96 pipex_close_wait_list, /* [L] expired session list */
145 struct pipex_session *session, *session_tmp; in pipex_destroy_all_sessions() local
149 LIST_FOREACH_SAFE(session, &pipex_session_list, session_list, in pipex_destroy_all_sessions()
151 if (session->flags & PIPEX_SFLAGS_ITERATOR) in pipex_destroy_all_sessions()
153 if (session->ownersc == ownersc) { in pipex_destroy_all_sessions()
154 KASSERT((session->flags & PIPEX_SFLAGS_PPPX) == 0); in pipex_destroy_all_sessions()
155 pipex_unlink_session_locked(session); in pipex_destroy_all_sessions()
156 pipex_rele_session(session); in pipex_destroy_all_sessions()
196 struct pipex_session *session; in pipexintr() local
234 struct pipex_session *session; pipex_init_session() local
412 pipex_rele_session(struct pipex_session * session) pipex_rele_session() argument
424 pipex_link_session(struct pipex_session * session,struct ifnet * ifp,void * ownersc) pipex_link_session() argument
489 pipex_unlink_session_locked(struct pipex_session * session) pipex_unlink_session_locked() argument
527 pipex_unlink_session(struct pipex_session * session) pipex_unlink_session() argument
535 pipex_notify_close_session(struct pipex_session * session) pipex_notify_close_session() argument
547 pipex_export_session_stats(struct pipex_session * session,struct pipex_statistics * stats) pipex_export_session_stats() argument
567 struct pipex_session *session; pipex_get_stat() local
588 struct pipex_session *session, *session_tmp; pipex_get_closed() local
618 struct pipex_session *session; pipex_lookup_by_ip_address_locked() local
653 struct pipex_session *session; pipex_lookup_by_ip_address() local
671 struct pipex_session *session; pipex_lookup_by_session_id_locked() local
695 struct pipex_session *session; pipex_lookup_by_session_id() local
728 struct pipex_session *session, *session_tmp; pipex_timer() local
777 pipex_iterator(struct pipex_session * session,struct pipex_session_iterator * iter,void * ownersc) pipex_iterator() argument
817 pipex_ip_output(struct mbuf * m0,struct pipex_session * session) pipex_ip_output() argument
881 pipex_ppp_output(struct mbuf * m0,struct pipex_session * session,int proto) pipex_ppp_output() argument
938 pipex_ppp_input(struct mbuf * m0,struct pipex_session * session,int decrypted) pipex_ppp_input() argument
1031 pipex_ip_input(struct mbuf * m0,struct pipex_session * session) pipex_ip_input() argument
1108 pipex_ip6_input(struct mbuf * m0,struct pipex_session * session) pipex_ip6_input() argument
1156 pipex_common_input(struct pipex_session * session,struct mbuf * m0,int hlen,int plen,int locked) pipex_common_input() argument
1228 pipex_ppp_proto(struct mbuf * m0,struct pipex_session * session,int off,int * hlenp) pipex_ppp_proto() argument
1275 struct pipex_session *session; pipex_pppoe_lookup_session() local
1302 pipex_pppoe_input(struct mbuf * m0,struct pipex_session * session) pipex_pppoe_input() argument
1327 pipex_pppoe_output(struct mbuf * m0,struct pipex_session * session) pipex_pppoe_output() argument
1373 pipex_pptp_output(struct mbuf * m0,struct pipex_session * session,int has_seq,int has_ack) pipex_pptp_output() argument
1460 struct pipex_session *session; pipex_pptp_lookup_session() local
1525 pipex_pptp_input(struct mbuf * m0,struct pipex_session * session) pipex_pptp_input() argument
1716 struct pipex_session *session; pipex_pptp_userland_lookup_session() local
1776 pipex_pptp_userland_output(struct mbuf * m0,struct pipex_session * session) pipex_pptp_userland_output() argument
1836 pipex_l2tp_output(struct mbuf * m0,struct pipex_session * session) pipex_l2tp_output() argument
1975 struct pipex_session *session; pipex_l2tp_lookup_session() local
2022 pipex_l2tp_input(struct mbuf * m0,int off0,struct pipex_session * session,uint32_t ipsecflowinfo) pipex_l2tp_input() argument
2193 struct pipex_session *session; pipex_l2tp_userland_lookup_session() local
2255 pipex_l2tp_userland_output(struct mbuf * m0,struct pipex_session * session) pipex_l2tp_userland_output() argument
2361 pipex_session_init_mppe_recv(struct pipex_session * session,int stateless,int keylenbits,u_char * master_key) pipex_session_init_mppe_recv() argument
2370 pipex_session_init_mppe_send(struct pipex_session * session,int stateless,int keylenbits,u_char * master_key) pipex_session_init_mppe_send() argument
2450 pipex_mppe_input(struct mbuf * m0,struct pipex_session * session) pipex_mppe_input() argument
2597 pipex_mppe_output(struct mbuf * m0,struct pipex_session * session,uint16_t protocol) pipex_mppe_output() argument
2686 pipex_ccp_input(struct mbuf * m0,struct pipex_session * session) pipex_ccp_input() argument
2729 pipex_ccp_output(struct pipex_session * session,int code,int id) pipex_ccp_output() argument
2984 pipex_session_log(struct pipex_session * session,int prio,const char * fmt,...) pipex_session_log() argument
[all...]
/openbsd-src/usr.sbin/snmpd/
H A Dapplication_agentx.c259 struct appl_agentx_session *session; in appl_agentx_free() local
261 while ((session = TAILQ_FIRST(&(conn->conn_sessions))) != NULL) { in appl_agentx_free()
263 appl_agentx_session_free(session); in appl_agentx_free()
265 appl_agentx_forceclose(&(session->sess_backend), in appl_agentx_free()
286 struct appl_agentx_session *session = NULL; in appl_agentx_recv() local
314 TAILQ_FOREACH(session, &(conn->conn_sessions), in appl_agentx_recv()
316 if (session->sess_id == pdu->ap_header.aph_sessionid) in appl_agentx_recv()
319 if (session == NULL) { in appl_agentx_recv()
325 strlcpy(name, session->sess_backend.ab_name, sizeof(name)); in appl_agentx_recv()
393 appl_agentx_close(session, pdu); in appl_agentx_recv()
[all …]
/openbsd-src/usr.sbin/npppd/pppoe/
H A Dpppoe_local.h43 #define pppoe_session_listen_ifname(session) \ argument
44 ((pppoed_listener *)slist_get(&(session)->pppoed->listener, \
45 (session)->listener_index))->listen_ifname
46 #define pppoe_session_sock_ether_addr(session) \ argument
47 ((pppoed_listener *)slist_get(&(session)->pppoed->listener, \
48 (session)->listener_index))->ether_addr
49 #define pppoe_session_sock_bpf(session) \ argument
50 ((pppoed_listener *)slist_get(&(session)->pppoed->listener, \
51 (session)->listener_index))->bpf
54 #define PPPOE_SESSION_LISTENER_TUN_NAME(session) \ argument
[all …]
H A Dpppoed.c393 pppoe_session *session; in pppoed_stop() local
403 session = (pppoe_session *)hl->item; in pppoed_stop()
404 pppoe_session_disconnect(session); in pppoed_stop()
405 pppoe_session_stop(session); in pppoed_stop()
437 pppoed_pppoe_session_close_notify(pppoed *_this, pppoe_session *session) in pppoed_pppoe_session_close_notify() argument
440 (void *)(intptr_t)session->session_id); in pppoed_pppoe_session_close_notify()
444 (void *)(intptr_t)session->acookie, 0); in pppoed_pppoe_session_close_notify()
447 (void *)(intptr_t)session->session_id, 0); in pppoed_pppoe_session_close_notify()
449 pppoe_session_fini(session); in pppoed_pppoe_session_close_notify()
450 free(session); in pppoed_pppoe_session_close_notify()
[all …]
/openbsd-src/usr.sbin/smtpd/
H A Dmail.lmtp.c40 struct session { struct
50 static void lmtp_engine(int, struct session *); argument
59 struct session session; in main() local
64 session.lhlo = "localhost"; in main()
65 session.mailfrom = getenv("SENDER"); in main()
66 session.rcptto = NULL; in main()
74 session.lhlo = optarg; in main()
77 session.mailfrom = optarg; in main()
81 session.rcptto = getenv("RECIPIENT"); in main()
85 session.rcptto = getenv("USER"); in main()
[all …]
/openbsd-src/usr.bin/tmux/
H A Dserver-fn.c32 static void server_destroy_session_group(struct session *);
47 server_redraw_session(struct session *s) in server_redraw_session()
52 if (c->session == s) in server_redraw_session()
58 server_redraw_session_group(struct session *s) in server_redraw_session_group()
71 server_status_session(struct session *s) in server_status_session()
76 if (c->session == s) in server_status_session()
82 server_status_session_group(struct session *s) in server_status_session_group()
100 if (c->session != NULL && c->session->curw->window == w) in server_redraw_window()
111 if (c->session ! in server_redraw_window_borders()
398 server_find_session(struct session * s,int (* f)(struct session *,struct session *)) server_find_session() argument
399 server_find_session(struct session * s,int (* f)(struct session *,struct session *)) server_find_session() argument
[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 …]
H A Dsession.c1 /* $OpenBSD: session.c,v 1.98 2024/11/25 08:34:01 nicm Exp $ */
39 static void session_group_remove(struct session *);
40 static void session_group_synchronize1(struct session *, struct session *);
43 session_cmp(struct session *s1, struct session *s2)
47 RB_GENERATE(sessions, session, entry, session_cmp); in session_cmp()
57 * Find if session is still alive. This is true if it is still on the global
61 session_alive(struct session *s)
63 struct session *s_loo
[all...]
H A Dcmd-find.c30 static int cmd_find_session_better(struct session *, struct session *,
32 static struct session *cmd_find_best_session(struct session **, u_int, int);
114 cmd_find_best_client(struct session *s) in cmd_find_best_client()
123 if (c_loop->session == NULL) in cmd_find_best_client()
125 if (s != NULL && c_loop->session != s) in cmd_find_best_client()
135 cmd_find_session_better(struct session *s, struct session *than, int flags) in cmd_find_session_better()
152 static struct session *
153 cmd_find_best_session(struct session **slist, u_int ssize, int flags) in cmd_find_best_session()
155 struct session *s_loop, *s; in cmd_find_best_session()
179 struct session **slist = NULL; in cmd_find_best_session_with_window()
[all …]
H A Dalerts.c82 action = options_get_number(wl->session->options, name); in alerts_action_applies()
86 return (wl == wl->session->curw); in alerts_action_applies()
88 return (wl != wl->session->curw); in alerts_action_applies()
104 alerts_check_session(struct session *s) in alerts_check_session()
187 struct session *s; in alerts_check_bell()
195 wl->session->flags &= ~SESSION_ALERTED; in alerts_check_bell()
202 s = wl->session; in alerts_check_bell()
225 struct session *s; in alerts_check_activity()
233 wl->session->flags &= ~SESSION_ALERTED; in alerts_check_activity()
238 s = wl->session; in alerts_check_activity()
[all …]
H A Dtmux.h66 struct session;
1053 struct session *, struct winlink *, key_code,
1058 struct session *, struct winlink *, struct args *,
1247 struct session *session;
1331 /* Client session. */
1334 TAILQ_HEAD(, session) sessions;
1340 struct session {
1373 TAILQ_ENTRY(session) gentry;
1374 RB_ENTRY(session) entr
1173 struct session *session; global() member
1249 struct session { global() struct
1250 idsession global() argument
1252 namesession global() argument
1253 cwdsession global() argument
1255 creation_timesession global() argument
1256 last_attached_timesession global() argument
1257 activity_timesession global() argument
1258 last_activity_timesession global() argument
1283 referencessession global() argument
1891 struct session *session; global() member
[all...]
H A Dnotify.c33 struct session *session; member
137 control_notify_window_unlinked(ne->session, ne->window); in notify_callback()
139 control_notify_window_linked(ne->session, ne->window); in notify_callback()
147 control_notify_session_renamed(ne->session); in notify_callback()
149 control_notify_session_created(ne->session); in notify_callback()
151 control_notify_session_closed(ne->session); in notify_callback()
153 control_notify_session_window_changed(ne->session); in notify_callback()
163 if (ne->session != NULL) in notify_callback()
164 session_remove_ref(ne->session, __func__); in notify_callback()
181 struct session *s, struct window *w, struct window_pane *wp, in notify_add()
[all …]
H A Dresize.c73 if (c->session == NULL) in ignore_client_size()
83 if (loop->session == NULL) in ignore_client_size()
105 if (ignore_client_size(loop) || !session_has(loop->session, w)) in clients_with_window()
115 struct session *s, struct window *w, int (*skip_client)(struct client *, in clients_calculate_size() argument
116 int, int, struct session *, struct window *), u_int *sx, u_int *sy, in clients_calculate_size()
268 __unused int current, struct session *s, struct window *w) in default_window_size_skip_client()
270 if (w != NULL && !session_has(loop->session, w)) in default_window_size_skip_client()
272 if (w == NULL && loop->session != s) in default_window_size_skip_client()
278 default_window_size(struct client *c, struct session *s, struct window *w, in default_window_size_skip_client()
338 int current, __unused struct session * in default_window_size()
[all...]
/openbsd-src/lib/libssl/
H A Dssl_asn1.c50 CBB cbb, session, cipher_suite, session_id, master_key, time, timeout; in SSL_SESSION_encode() local
58 if (!CBB_add_asn1(&cbb, &session, CBS_ASN1_SEQUENCE)) in SSL_SESSION_encode()
62 if (!CBB_add_asn1_uint64(&session, SSL_SESSION_ASN1_VERSION)) in SSL_SESSION_encode()
68 if (!CBB_add_asn1_uint64(&session, s->ssl_version)) in SSL_SESSION_encode()
72 if (!CBB_add_asn1(&session, &cipher_suite, CBS_ASN1_OCTETSTRING)) in SSL_SESSION_encode()
78 if (!CBB_add_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING)) in SSL_SESSION_encode()
85 if (!CBB_add_asn1(&session, &master_key, CBS_ASN1_OCTETSTRING)) in SSL_SESSION_encode()
94 if (!CBB_add_asn1(&session, &time, SSLASN1_TIME_TAG)) in SSL_SESSION_encode()
104 if (!CBB_add_asn1(&session, &timeout, SSLASN1_TIMEOUT_TAG)) in SSL_SESSION_encode()
114 if (!CBB_add_asn1(&session, in SSL_SESSION_encode()
246 CBS cbs, session, cipher_suite, session_id, master_key, peer_cert; d2i_SSL_SESSION() local
[all...]
H A Dtls12_lib.c30 if (s->session->master_key_length == 0) in tls12_finished_verify_data()
40 if (!tls1_PRF(s, s->session->master_key, s->session->master_key_length, in tls12_finished_verify_data()
101 s->session->master_key_length = 0; in tls12_derive_master_secret()
106 CTASSERT(sizeof(s->session->master_key) == SSL_MAX_MASTER_KEY_LENGTH); in tls12_derive_master_secret()
112 s->session->master_key, sizeof(s->session->master_key))) in tls12_derive_master_secret()
115 s->session->master_key_length = SSL_MAX_MASTER_KEY_LENGTH; in tls12_derive_master_secret()
/openbsd-src/usr.bin/ssh/
H A Dpkcs11.h716 typedef ck_rv_t (*ck_notify_t) (ck_session_handle_t session,
752 (ck_session_handle_t session, unsigned char *pin,
755 (ck_session_handle_t session, unsigned char *old_pin,
762 ck_session_handle_t *session));
763 _CK_DECLARE_FUNCTION (C_CloseSession, (ck_session_handle_t session));
766 (ck_session_handle_t session,
769 (ck_session_handle_t session,
773 (ck_session_handle_t session,
779 (ck_session_handle_t session, ck_user_type_t user_type,
781 _CK_DECLARE_FUNCTION (C_Logout, (ck_session_handle_t session));
[all …]
H A Dssh-pkcs11.c44 CK_SESSION_HANDLE session; member
109 if (p->slotinfo[i].session && in pkcs11_provider_finalize()
111 p->slotinfo[i].session)) != CKR_OK) in pkcs11_provider_finalize()
211 CK_SESSION_HANDLE session; in pkcs11_find() local
217 session = p->slotinfo[slotidx].session; in pkcs11_find()
218 if ((rv = f->C_FindObjectsInit(session, attr, nattr)) != CKR_OK) { in pkcs11_find()
222 if ((rv = f->C_FindObjects(session, obj, 1, &nfound)) != CKR_OK || in pkcs11_find()
228 if ((rv = f->C_FindObjectsFinal(session)) != CKR_OK) in pkcs11_find()
261 rv = provider->function_list->C_Login(si->session, typ in pkcs11_login_slot()
643 CK_SESSION_HANDLE session; pkcs11_open_session() local
695 CK_SESSION_HANDLE session; pkcs11_fetch_ecdsa_pubkey() local
818 CK_SESSION_HANDLE session; pkcs11_fetch_rsa_pubkey() local
907 CK_SESSION_HANDLE session; pkcs11_fetch_x509_pubkey() local
1093 CK_SESSION_HANDLE session; pkcs11_fetch_certs() local
1198 CK_SESSION_HANDLE session; pkcs11_fetch_keys() local
1311 CK_SESSION_HANDLE session; pkcs11_rsa_generate_private_key() local
1432 CK_SESSION_HANDLE session; pkcs11_ecdsa_generate_private_key() local
1689 CK_SESSION_HANDLE session; pkcs11_gakp() local
1758 CK_SESSION_HANDLE session; pkcs11_destroy_keypair() local
[all...]
/openbsd-src/usr.sbin/iscsid/
H A Dsession.c1 /* $OpenBSD: session.c,v 1.13 2025/01/22 16:06:36 claudio Exp $ */
38 int sess_do_start(struct session *, struct sessev *);
39 int sess_do_conn_loggedin(struct session *, struct sessev *);
40 int sess_do_conn_fail(struct session *, struct sessev *);
41 int sess_do_conn_closed(struct session *, struct sessev *);
42 int sess_do_stop(struct session *, struct sessev *);
43 int sess_do_free(struct session *, struct sessev *);
44 int sess_do_reinstatement(struct session *, struct sessev *);
50 session_cleanup(struct session *s)
65 session_shutdown(struct session * in session_new()
[all...]
H A Discsid.h72 TAILQ_HEAD(session_head, session);
161 /* unique session ID */
165 * S = session wide, C = connection only
233 struct session *sess;
238 struct session { argument
239 TAILQ_ENTRY(session) entry; argument
251 u_int16_t tsih; /* target session id handle */
280 struct session *session;
337 struct session *initiator_new_sessio
234 struct session { global() struct
240 hissession global() argument
241 activesession global() argument
247 tsihsession global() argument
254 actionsession global() argument
275 struct session *session; global() member
[all...]
H A Dinitiator.c55 struct pdu *initiator_text_build(struct task *, struct session *,
86 struct session *s; in initiator_cleanup()
110 struct session *s; in initiator_isdown()
121 struct session *s;
131 struct session * in initiator_t2s()
134 struct session *s; in initiator_login()
162 struct session * in initiator_discovery()
165 struct session *s; in initiator_discovery()
174 struct session * in initiator_discovery()
177 struct session * in initiator_discovery()
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/
H A DHarness.pm605 my ( $self, $result, $parser, $session, $aggregate, $job ) = @_;
607 $self->finish_parser( $parser, $session );
633 my ( $parser, $session ) = $self->make_parser($job);
634 $mux->add( $parser, [ $session, $job ] );
642 my ( $session, $job ) = @$stash;
644 $session->result($result);
645 $self->_bailout($result, $parser, $session, $aggregate, $job )
651 $self->finish_parser( $parser, $session );
669 my ( $parser, $session ) = $self->make_parser($job);
672 $session
[all...]
/openbsd-src/gnu/usr.bin/texinfo/po/
H A Dde_AT.po20 #: info/echo-area.c:284 info/session.c:689
24 #: info/echo-area.c:296 info/session.c:705
36 #: info/echo-area.c:321 info/session.c:723
40 #: info/echo-area.c:361 info/session.c:772
975 #: info/nodemenu.c:337 info/session.c:2264
980 #: info/session.c:162
987 #: info/session.c:620
991 #: info/session.c:635
995 #: info/session.c:650
999 #: info/session.c:670
[all …]
H A Dtexinfo.pot19 #: info/echo-area.c:284 info/session.c:689
23 #: info/echo-area.c:296 info/session.c:705
35 #: info/echo-area.c:321 info/session.c:723
39 #: info/echo-area.c:361 info/session.c:772
974 #: info/nodemenu.c:337 info/session.c:2264
979 #: info/session.c:162
986 #: info/session.c:620
990 #: info/session.c:635
994 #: info/session.c:650
998 #: info/session.c:670
[all …]
/openbsd-src/usr.sbin/unbound/testcode/
H A Ddohclient.c61 nghttp2_session* session; member
126 nghttp2_session* ATTR_UNUSED(session), in http2_submit_request_read_cb() argument
206 stream_id = nghttp2_submit_request(h2_session->session, NULL, headers, in submit_query()
255 static ssize_t http2_recv_cb(nghttp2_session* ATTR_UNUSED(session), in http2_recv_cb() argument
305 static ssize_t http2_send_cb(nghttp2_session* ATTR_UNUSED(session), in http2_send_cb() argument
336 static int http2_stream_close_cb(nghttp2_session* ATTR_UNUSED(session), in http2_stream_close_cb() argument
343 h2_session->session, stream_id))) { in http2_stream_close_cb()
355 static int http2_data_chunk_recv_cb(nghttp2_session* ATTR_UNUSED(session), in http2_data_chunk_recv_cb() argument
363 h2_session->session, stream_id))) { in http2_data_chunk_recv_cb()
377 static int http2_frame_recv_cb(nghttp2_session *session, in http2_frame_recv_cb() argument
[all …]
/openbsd-src/regress/lib/libssl/interop/session/
H A DMakefile11 run-session-client-libressl-server-libressl:
12 # TLS 1.3 needs some extra setup for session reuse
18 REGRESS_TARGETS += run-session-client-${clib}-server-${slib}
20 run-session-client-${clib}-server-${slib}: \
33 grep '^session 2: new$$' ${@:S/^run/server/}.out
34 grep '^session 2: new$$' ${@:S/^run/client/}.out
35 grep '^session 1: reuse$$' ${@:S/^run/server/}.out
36 grep '^session 1: reuse$$' ${@:S/^run/client/}.out
37 grep '^session 0: reuse$$' ${@:S/^run/server/}.out
38 grep '^session
[all...]

12345678910>>...13