Home
last modified time | relevance | path

Searched refs:session_id (Results 1 – 25 of 71) sorted by relevance

123

/openbsd/regress/usr.sbin/rpki-client/
H A Dtest-rrdp.c136 rrdp_new(unsigned int id, char *local, char *notify, char *session_id, in rrdp_new() argument
148 s->repository.session_id = session_id; in rrdp_new()
177 free(s->repository.session_id); in rrdp_free()
179 free(s->current.session_id); in rrdp_free()
272 char *session_id = NULL; in main() local
284 session_id, serial, NULL); in main()
304 session_id, serial, NULL); in main()
310 session_id = optarg; in main()
316 session_id, serial, NULL); in main()
/openbsd/lib/libssl/
H A Dssl_sess.c268 if (!CBS_write_bytes(&cbs, copy->session_id, sizeof(copy->session_id), in ssl_session_dup()
359 return ss->session_id; in SSL_SESSION_get_id()
486 if (!cb(s, ss->session_id, &tmp)) { in ssl_get_new_session()
542 ssl_session_from_cache(SSL *s, CBS *session_id) in ssl_session_from_cache() argument
555 if (!CBS_write_bytes(session_id, data.session_id, in ssl_session_from_cache()
582 CBS_data(session_id), CBS_len(session_id), &copy)) == NULL) in ssl_session_from_callback()
609 ssl_session_by_id(SSL *s, CBS *session_id) in ssl_session_by_id() argument
613 if (CBS_len(session_id) == 0) in ssl_session_by_id()
674 if (!CBS_write_bytes(session_id, sess->session_id, in ssl_get_prev_session()
880 explicit_bzero(ss->session_id, sizeof ss->session_id); in SSL_SESSION_free()
[all …]
H A Dssl_asn1.c50 CBB cbb, session, cipher_suite, session_id, master_key, time, timeout; in SSL_SESSION_encode() local
83 if (!CBB_add_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING)) in SSL_SESSION_encode()
85 if (!CBB_add_bytes(&session_id, s->session_id, in SSL_SESSION_encode()
246 CBS cbs, session, cipher_suite, session_id, master_key, peer_cert; in d2i_SSL_SESSION() local
296 if (!CBS_get_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING)) in d2i_SSL_SESSION()
298 if (!CBS_write_bytes(&session_id, s->session_id, sizeof(s->session_id), in d2i_SSL_SESSION()
347 if (!CBS_get_optional_asn1_octet_string(&session, &session_id, &present, in d2i_SSL_SESSION()
351 if (!CBS_write_bytes(&session_id, (uint8_t *)&s->sid_ctx, in d2i_SSL_SESSION()
H A Dtls13_server.c147 CBS cipher_suites, client_random, compression_methods, session_id; in tls13_client_hello_process() local
159 if (!CBS_get_u8_length_prefixed(cbs, &session_id)) in tls13_client_hello_process()
181 if (!ctx->middlebox_compat && CBS_len(&session_id) != 0) { in tls13_client_hello_process()
200 if (!tls13_clienthello_hash_update(ctx, &session_id)) { in tls13_client_hello_process()
252 if (CBS_len(&session_id) != 0 && in tls13_client_hello_process()
253 CBS_len(&session_id) != sizeof(ctx->hs->tls13.legacy_session_id)) { in tls13_client_hello_process()
257 if (!CBS_write_bytes(&session_id, ctx->hs->tls13.legacy_session_id, in tls13_client_hello_process()
334 CBB session_id; in tls13_server_hello_build() local
350 if (!CBB_add_u8_length_prefixed(cbb, &session_id)) in tls13_server_hello_build()
352 if (!CBB_add_bytes(&session_id, ctx->hs->tls13.legacy_session_id, in tls13_server_hello_build()
H A Dssl_clnt.c644 CBB cbb, client_hello, session_id, cookie, cipher_suites; in ssl3_send_client_hello() local
689 if (!CBB_add_u8_length_prefixed(&client_hello, &session_id)) in ssl3_send_client_hello()
694 if (sl > sizeof(s->session->session_id)) { in ssl3_send_client_hello()
698 if (!CBB_add_bytes(&session_id, in ssl3_send_client_hello()
699 s->session->session_id, sl)) in ssl3_send_client_hello()
817 CBS cbs, server_random, session_id; in ssl3_get_server_hello() local
911 if (!CBS_get_u8_length_prefixed(&cbs, &session_id)) in ssl3_get_server_hello()
914 if (CBS_len(&session_id) > SSL3_SESSION_ID_SIZE) { in ssl3_get_server_hello()
951 CBS_mem_equal(&session_id, s->session->session_id, in ssl3_get_server_hello()
980 if (!CBS_write_bytes(&session_id, s->session->session_id, in ssl3_get_server_hello()
[all …]
H A Dtls13_client.c90 CBB cipher_suites, compression_methods, session_id; in tls13_client_hello_build() local
103 if (!CBB_add_u8_length_prefixed(cbb, &session_id)) in tls13_client_hello_build()
105 if (!CBB_add_bytes(&session_id, ctx->hs->tls13.legacy_session_id, in tls13_client_hello_build()
211 CBS server_random, session_id; in tls13_server_hello_process() local
223 if (!CBS_get_u8_length_prefixed(cbs, &session_id)) in tls13_server_hello_process()
287 if (!CBS_mem_equal(&session_id, ctx->hs->tls13.legacy_session_id, in tls13_server_hello_process()
/openbsd/usr.sbin/rpki-client/
H A Drrdp_snapshot.c43 char *session_id; member
74 sxml->session_id = xstrdup(attr[i + 1]); in start_snapshot_elem()
87 if (!(has_xmlns && sxml->version && sxml->session_id && sxml->serial)) in start_snapshot_elem()
90 if (strcmp(sxml->current->session_id, sxml->session_id) != 0) in start_snapshot_elem()
246 free(sxml->session_id); in free_snapshot_xml()
257 logx("session_id: %s serial: %lld", sxml->session_id, sxml->serial); in log_snapshot_xml()
H A Drrdp_delta.c45 char *session_id; member
76 dxml->session_id = xstrdup(attr[i + 1]); in start_delta_elem()
88 if (!(has_xmlns && dxml->version && dxml->session_id && dxml->serial)) in start_delta_elem()
90 if (strcmp(dxml->current->session_id, dxml->session_id) != 0) in start_delta_elem()
265 free(dxml->session_id); in free_delta_xml()
275 logx("session_id: %s serial: %lld", dxml->session_id, dxml->serial); in log_delta_xml()
H A Drrdp_notification.c58 char *session_id; member
176 nxml->session_id = xstrdup(attr[i + 1]); in start_notification_elem()
194 if (!(has_xmlns && nxml->version && nxml->session_id && nxml->serial)) in start_notification_elem()
417 free(nxml->session_id); in free_notification_xml()
481 nxml->notifyuri, nxml->session_id, in notification_check_deltas()
512 nxml->current->session_id = xstrdup(nxml->session_id); in notification_done()
516 if (nxml->repository->session_id == NULL || in notification_done()
517 strcmp(nxml->session_id, nxml->repository->session_id) != 0) in notification_done()
618 logx("session_id: %s, serial: %lld", nxml->session_id, nxml->serial); in log_notification_xml()
H A Drrdp.c320 s->local, s->repository->session_id, in rrdp_finished()
328 s->local, s->current->session_id, in rrdp_finished()
338 s->current->session_id, s->current->serial); in rrdp_finished()
365 s->repository->session_id, s->repository->serial); in rrdp_finished()
/openbsd/usr.sbin/npppd/pppoe/
H A Dpppoe_session.c87 int session_id, u_char *ether_addr) in pppoe_session_init() argument
92 _this->session_id = session_id; in pppoe_session_init()
214 pppoe0.session_id = htons(_this->session_id); in pppoe_session_output()
257 pppoe.session_id = htons(_this->session_id); in pppoe_session_send_PADT()
309 pppoe.session_id = htons(_this->session_id); in pppoe_session_send_PADS()
427 _this->pppoed->id, _this->session_id, fmt); in pppoe_session_log()
430 pppoe_session_listen_ifname(_this), _this->session_id, fmt); in pppoe_session_log()
496 ppp->tunnel_session_id = _this->session_id; in pppoe_session_bind_ppp()
H A Dpppoed.c440 (void *)(intptr_t)session->session_id); in pppoed_pppoe_session_close_notify()
447 (void *)(intptr_t)session->session_id, 0); in pppoed_pppoe_session_close_notify()
632 int session_id; in pppoed_input() local
642 session_id = pppoe->session_id = ntohs(pppoe->session_id); in pppoed_input()
650 pppoe->ver, pppoe->type, pppoe->session_id, in pppoed_input()
671 if (session_id != 0) { in pppoed_input()
673 (void *)(intptr_t)session_id); in pppoed_input()
799 int session_id, shuffle_cnt; in pppoed_recv_PADR() local
813 session_id = (intptr_t)slist_remove_first( in pppoed_recv_PADR()
815 if (session_id != PPPOED_SESSION_SHUFFLE_MARK) in pppoed_recv_PADR()
[all …]
H A Dpppoe.h71 uint16_t session_id; member
162 uint16_t session_id; member
/openbsd/usr.sbin/bgpd/
H A Drtr_proto.c201 int session_id; member
262 rs->session_id = -1; in rtr_reset_cache()
271 uint16_t session_id) in rtr_newmsg() argument
407 if (session_id != ntohs(rh->session_id)) { in rtr_check_session_id()
410 log_rtr_type(rh->type), ntohs(rh->session_id), session_id); in rtr_check_session_id()
555 if (rs->session_id == -1) in rtr_parse_notify()
556 rs->session_id = ntohs(notify.hdr.session_id); in rtr_parse_notify()
586 if (rs->session_id == -1) in rtr_parse_cache_response()
587 rs->session_id = ntohs(resp.hdr.session_id); in rtr_parse_cache_response()
1392 rs->session_id = -1; in rtr_new()
[all …]
/openbsd/usr.sbin/npppd/l2tp/
H A Dl2tp_call.c168 int i, len, session_id, send_cdn; in l2tp_call_recv_packet() local
190 session_id = _this->id; in l2tp_call_recv_packet()
193 session_id &= 0xffff; in l2tp_call_recv_packet()
194 if (session_id == 0) in l2tp_call_recv_packet()
195 session_id = 1; in l2tp_call_recv_packet()
198 if (call->session_id == session_id) { in l2tp_call_recv_packet()
199 session_id++; in l2tp_call_recv_packet()
203 _this->session_id = session_id; in l2tp_call_recv_packet()
417 avp_set_val16(avp, _this->session_id); in l2tp_call_send_ICRP()
426 _this->session_id); in l2tp_call_send_ICRP()
[all …]
/openbsd/sys/dev/pci/drm/i915/pxp/
H A Dintel_pxp_tee.c342 msg_in.session_id = arb_session_id; in intel_pxp_tee_cmd_create_arb_session()
369 void intel_pxp_tee_end_arb_fw_session(struct intel_pxp *pxp, u32 session_id) in intel_pxp_tee_end_arb_fw_session() argument
385 msg_in.header.stream_id |= FIELD_PREP(PXP_CMDHDR_EXTDATA_SESSION_ID, session_id); in intel_pxp_tee_end_arb_fw_session()
398 session_id, ret); in intel_pxp_tee_end_arb_fw_session()
403 session_id, msg_out.header.status, in intel_pxp_tee_end_arb_fw_session()
407 session_id, msg_out.header.status, in intel_pxp_tee_end_arb_fw_session()
H A Dintel_pxp_gsccs.c246 void intel_pxp_gsccs_end_arb_fw_session(struct intel_pxp *pxp, u32 session_id) in intel_pxp_gsccs_end_arb_fw_session() argument
263 msg_in.header.stream_id |= FIELD_PREP(PXP_CMDHDR_EXTDATA_SESSION_ID, session_id); in intel_pxp_gsccs_end_arb_fw_session()
270 session_id, ret); in intel_pxp_gsccs_end_arb_fw_session()
275 session_id, msg_out.header.status, in intel_pxp_gsccs_end_arb_fw_session()
279 session_id, msg_out.header.status, in intel_pxp_gsccs_end_arb_fw_session()
H A Dintel_pxp_cmd_interface_42.h23 u32 session_id; member
/openbsd/regress/lib/libssl/asn1/
H A Dasn1test.c100 .session_id = "0123456789",
125 .session_id = "0123456789",
301 if (session_strcmp(s1->session_id, s2->session_id, in session_cmp()
/openbsd/sys/net/
H A Dpipex.c442 session->session_id)) { in pipex_link_session()
678 list = PIPEX_ID_HASHTABLE(session_id); in pipex_lookup_by_session_id_locked()
681 session->session_id == session_id) in pipex_lookup_by_session_id_locked()
689 session_id)); in pipex_lookup_by_session_id_locked()
1287 pppoe.session_id = ntohs(pppoe.session_id); in pipex_pppoe_lookup_session()
1289 pppoe.session_id); in pipex_pppoe_lookup_session()
1293 __func__, pppoe.session_id)); in pipex_pppoe_lookup_session()
1355 pppoe->session_id = htons(session->session_id); in pipex_pppoe_output()
1979 uint16_t flags, session_id, ver; in pipex_l2tp_lookup_session() local
2226 session_id = ntohs(l2tp.session_id); in pipex_l2tp_userland_lookup_session()
[all …]
H A Dpipex_local.h195 uint16_t session_id; /* [I] session-id (PK) */ member
274 uint16_t session_id; /* session id */ member
291 uint16_t session_id; member
H A Dif_pppoe.h58 u_int session_id; /* if state == PPPOE_STATE_SESSION */ member
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Dpsp_gfx_if.h142 uint32_t session_id; /* Session ID of the loaded TA to be unloaded */ member
175 uint32_t session_id; /* Session ID of the TA to be executed */ member
396 uint32_t session_id; /* +4 session ID in response to LoadTa command */ member
H A Damdgpu_psp_ta.c231 if (copy_to_user((char *)buf, (void *)&context->session_id, sizeof(uint32_t))) in ta_if_load_debugfs_write()
269 context->session_id = ta_id; in ta_if_unload_debugfs_write()
349 context->session_id = ta_id; in ta_if_invoke_debugfs_write()
/openbsd/regress/usr.sbin/rpki-client/rrdp/
H A Drrdp-r1.out1 test-rrdp: session_id: 8fe05c2e-047d-49e7-8398-cd4250a572b1, serial: 50550

123