/openbsd/regress/usr.sbin/rpki-client/ |
H A D | test-rrdp.c | 136 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 D | ssl_sess.c | 268 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), ©)) == 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 D | ssl_asn1.c | 50 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 D | tls13_server.c | 147 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 D | ssl_clnt.c | 644 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 D | tls13_client.c | 90 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 D | rrdp_snapshot.c | 43 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 D | rrdp_delta.c | 45 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 D | rrdp_notification.c | 58 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 D | rrdp.c | 320 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 D | pppoe_session.c | 87 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 D | pppoed.c | 440 (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 D | pppoe.h | 71 uint16_t session_id; member 162 uint16_t session_id; member
|
/openbsd/usr.sbin/bgpd/ |
H A D | rtr_proto.c | 201 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 D | l2tp_call.c | 168 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 D | intel_pxp_tee.c | 342 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 D | intel_pxp_gsccs.c | 246 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 D | intel_pxp_cmd_interface_42.h | 23 u32 session_id; member
|
/openbsd/regress/lib/libssl/asn1/ |
H A D | asn1test.c | 100 .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 D | pipex.c | 442 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 D | pipex_local.h | 195 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 D | if_pppoe.h | 58 u_int session_id; /* if state == PPPOE_STATE_SESSION */ member
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | psp_gfx_if.h | 142 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 D | amdgpu_psp_ta.c | 231 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 D | rrdp-r1.out | 1 test-rrdp: session_id: 8fe05c2e-047d-49e7-8398-cd4250a572b1, serial: 50550
|