| /freebsd/sys/netgraph/bluetooth/l2cap/ |
| H A D | ng_l2cap_evnt.c | 116 hdr->dcid = le16toh(hdr->dcid); in ng_l2cap_receive() 129 switch (hdr->dcid) { in ng_l2cap_receive() 463 u_int16_t dcid, psm; in ng_l2cap_process_con_req() local 473 dcid = le16toh(cp->scid); in ng_l2cap_process_con_req() 477 if(dcid == NG_L2CAP_ATT_CID) in ng_l2cap_process_con_req() 479 else if(dcid == NG_L2CAP_SMP_CID) in ng_l2cap_process_con_req() 494 return (send_l2cap_con_rej(con, ident, 0, dcid, in ng_l2cap_process_con_req() 498 ch->dcid = dcid; in ng_l2cap_process_con_req() 506 send_l2cap_con_rej(con, ident, ch->scid, dcid, in ng_l2cap_process_con_req() 526 u_int16_t scid, dcid, result, status; in ng_l2cap_process_con_rsp() local [all …]
|
| H A D | ng_l2cap_ulpi.c | 229 u_int16_t dcid; in ng_l2cap_l2ca_con_rsp_req() local 275 dcid = ch->dcid; in ng_l2cap_l2ca_con_rsp_req() 319 _ng_l2cap_con_rsp(cmd->aux, cmd->ident, ip->lcid, dcid, in ng_l2cap_l2ca_con_rsp_req() 553 _ng_l2cap_cfg_req(cmd->aux, cmd->ident, ch->dcid, 0, opt); in ng_l2cap_l2ca_cfg_req() 716 _ng_l2cap_cfg_rsp(cmd->aux,cmd->ident,ch->dcid,0,NG_L2CAP_SUCCESS,opt); in ng_l2cap_l2ca_cfg_rsp_req() 1006 if(hdr->dcid == NG_L2CAP_ATT_CID){ in ng_l2cap_l2ca_receive() 1014 hdr->dcid = con->con_handle; in ng_l2cap_l2ca_receive() 1016 }else if(hdr->dcid == NG_L2CAP_SMP_CID){ in ng_l2cap_l2ca_receive() 1025 hdr->dcid = con->con_handle; in ng_l2cap_l2ca_receive() 1030 ch = ng_l2cap_chan_by_scid(l2cap, hdr->dcid, idtype); in ng_l2cap_l2ca_receive() [all …]
|
| H A D | ng_l2cap_cmds.h | 76 c->data.cid.dcid = htole16((_dcid)); \ 128 c->param.dcid = htole16((_dcid)); \ 155 c->param.dcid = htole16((_dcid)); \ 315 c->param.dcid = htole16((_dcid)); \ 338 c->param.dcid = htole16((_dcid)); \
|
| H A D | ng_l2cap_cmds.c | 200 if (cmd->ch->dcid == NG_L2CAP_CLT_CID) { in ng_l2cap_con_wakeup() 210 error = ng_l2cap_lp_send(con, cmd->ch->dcid, m); in ng_l2cap_con_wakeup()
|
| H A D | ng_l2cap_var.h | 155 u_int16_t dcid; /* destination channel ID */ member
|
| H A D | ng_l2cap_llpi.c | 543 ng_l2cap_lp_send(ng_l2cap_con_p con, u_int16_t dcid, struct mbuf *m0) in ng_l2cap_lp_send() argument 569 l2cap_hdr->dcid = htole16(dcid); in ng_l2cap_lp_send()
|
| H A D | ng_l2cap_misc.c | 343 ch->scid = ch->dcid = NG_L2CAP_ATT_CID; in ng_l2cap_new_chan() 345 ch->scid = ch->dcid = NG_L2CAP_SMP_CID; in ng_l2cap_new_chan()
|
| H A D | ng_l2cap_main.c | 627 e2->dcid = ch->dcid; in ng_l2cap_default_rcvmsg()
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_srt_gen.c | 64 const QUIC_CONN_ID *dcid, in ossl_quic_srt_gen_calculate_token() argument 73 if (!EVP_MAC_update(srt_gen->mac_ctx, (const unsigned char *)dcid->id, in ossl_quic_srt_gen_calculate_token() 74 dcid->id_len)) in ossl_quic_srt_gen_calculate_token()
|
| H A D | quic_port.c | 33 const QUIC_CONN_ID *dcid); 732 const QUIC_CONN_ID *scid, const QUIC_CONN_ID *dcid, in port_bind_channel() argument 768 dcid, /* is_server */ 1, in port_bind_channel() 779 if (!ossl_quic_bind_channel(ch, peer, scid, dcid, odcid)) { in port_bind_channel() 788 if (!ossl_quic_channel_on_new_conn(ch, peer, scid, dcid)) { in port_bind_channel() 1483 const QUIC_CONN_ID *dcid) in port_default_packet_handler() argument 1504 if (dcid != NULL in port_default_packet_handler() 1505 && ossl_quic_lcidm_lookup(port->lcidm, dcid, NULL, in port_default_packet_handler() 1585 qrx_args.short_conn_id_len = dcid->id_len; in port_default_packet_handler() 1601 if (ossl_qrx_validate_initial_packet(qrx, e, (const QUIC_CONN_ID *)dcid) == 0) in port_default_packet_handler()
|
| /freebsd/sys/netgraph/bluetooth/include/ |
| H A D | ng_l2cap.h | 174 u_int16_t dcid; /* destination channel ID */ member 208 u_int16_t dcid; /* remote CID */ member 223 u_int16_t dcid; /* destination channel ID */ member 232 u_int16_t dcid; /* destination channel ID */ member 266 u_int16_t dcid; /* destination channel ID */ member 689 u_int16_t dcid; /* destination (remote) channel ID */ member
|
| /freebsd/crypto/openssl/test/ |
| H A D | quic_srt_gen_test.c | 22 QUIC_CONN_ID dcid; member 58 if (!TEST_true(ossl_quic_srt_gen_calculate_token(srt_gen, &t->dcid, in test_srt_gen()
|
| H A D | quic_record_test.c | 45 const QUIC_CONN_ID *dcid; member 57 #define RX_OP_SET_RX_DCID(dcid) \ argument 58 { RX_TEST_OP_SET_RX_DCID, 0, NULL, 0, NULL, 0, 0, 0, &(dcid), NULL }, 66 #define RX_OP_PROVIDE_SECRET_INITIAL(dcid) \ argument 67 { RX_TEST_OP_PROVIDE_SECRET_INITIAL, 0, NULL, 0, NULL, 0, 0, 0, &(dcid), NULL }, 9024 const QUIC_CONN_ID *dcid) in demux_default_handler() argument 9028 if (dcid == NULL || !ossl_quic_conn_id_eq(dcid, &s->rx_dcid)) in demux_default_handler() 9082 s.rx_dcid = *op->dcid; in rx_run_script() 9097 op->dcid, 0, in rx_run_script() 10270 const QUIC_CONN_ID *dcid; member [all …]
|
| H A D | quic_txp_test.c | 126 const QUIC_CONN_ID *dcid) in demux_default_handler() argument 130 if (dcid == NULL || !ossl_quic_conn_id_eq(dcid, &dcid_1)) in demux_default_handler()
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | quic_srt_gen.h | 53 const QUIC_CONN_ID *dcid,
|
| H A D | quic_demux.h | 184 const QUIC_CONN_ID *dcid);
|
| H A D | quic_record_rx.h | 342 const QUIC_CONN_ID *dcid);
|
| H A D | quic_txp.h | 145 const QUIC_CONN_ID *dcid);
|
| H A D | quic_channel.h | 468 const QUIC_CONN_ID *scid, const QUIC_CONN_ID *dcid,
|
| /freebsd/contrib/unbound/util/ |
| H A D | netevent.c | 1611 const uint8_t* dcid, size_t dcidlen, const uint8_t* scid, argument 1627 dcid, dcidlen, scid, scidlen, versions, versions_len); 1642 socklen_t localaddrlen, int ifindex, const uint8_t* dcid, argument 1654 key.key.dcid = (void*)dcid; 1664 doq_conn_find_by_id(struct doq_table* table, const uint8_t* dcid, argument 1669 conid = doq_conid_find(table, dcid, dcidlen); 1676 memcpy(cid, conid->key.dcid, conid->key.dcidlen); 1677 key.dcid = cid; 1684 key.paddr.localaddrlen, key.paddr.ifindex, key.dcid, 1709 struct doq_pkt_addr* paddr, const uint8_t* dcid, size_t dcidlen) argument [all …]
|
| /freebsd/contrib/unbound/services/ |
| H A D | listen_dnsport.c | 3553 const uint8_t* dcid, size_t dcidlen, uint32_t version) in doq_conn_create() argument 3567 conn->key.dcid = memdup((void*)dcid, dcidlen); in doq_conn_create() 3568 if(!conn->key.dcid) { in doq_conn_create() 3641 free(conn->key.dcid); in doq_conn_delete() 3691 if((r=memcmp(c->key.dcid, d->key.dcid, c->key.dcidlen))!=0) in doq_conn_cmp() 3821 memmove(repinfo->doq_dcid, key->dcid, key->dcidlen); in doq_conn_key_store_repinfo() 3835 key->dcid = repinfo->doq_dcid; in doq_conn_key_from_repinfo() 4796 struct ngtcp2_cid dcid, sv_scid, scid_cid; in doq_conn_setup() local 4801 memset(&dcid, 0, sizeof(dcid)); in doq_conn_setup() 4810 ngtcp2_cid_init(&dcid, conn->key.dcid, conn->key.dcidlen); in doq_conn_setup() [all …]
|
| H A D | listen_dnsport.h | 570 uint8_t* dcid; member 710 struct doq_pkt_addr* paddr, const uint8_t* dcid, size_t dcidlen,
|
| /freebsd/usr.sbin/bluetooth/l2control/ |
| H A D | l2cap.c | 225 r.channels[n].scid, r.channels[n].dcid, in l2cap_read_channel_list()
|
| /freebsd/sys/netgraph/bluetooth/socket/ |
| H A D | ng_btsocket_l2cap.c | 1468 hdr->dcid, hdr->length); in ng_btsocket_l2cap_data_input() 1470 if ((hdr->dcid >= NG_L2CAP_FIRST_CID) || in ng_btsocket_l2cap_data_input() 1477 pcb = ng_btsocket_l2cap_pcb_by_cid(&rt->src, hdr->dcid,idtype); in ng_btsocket_l2cap_data_input() 1491 hdr->dcid, pcb->state); in ng_btsocket_l2cap_data_input() 1506 hdr->dcid, hdr->length, pcb->imtu); in ng_btsocket_l2cap_data_input() 1528 hdr->dcid, m->m_pkthdr.len, in ng_btsocket_l2cap_data_input() 1544 } else if (hdr->dcid == NG_L2CAP_CLT_CID) { in ng_btsocket_l2cap_data_input()
|
| /freebsd/contrib/unbound/testcode/ |
| H A D | doqclient.c | 1075 struct ngtcp2_cid dcid, scid; 1085 memset(&dcid, 0, sizeof(dcid)); 1113 cid_randfill(&dcid, 16, data->rnd); 1136 rv = ngtcp2_conn_client_new(&conn, &dcid, &scid, &path,
|