/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/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/contrib/unbound/util/ |
H A D | netevent.c | 1580 const uint8_t* dcid, size_t dcidlen, const uint8_t* scid, argument 1596 dcid, dcidlen, scid, scidlen, versions, versions_len); 1611 socklen_t localaddrlen, int ifindex, const uint8_t* dcid, argument 1623 key.key.dcid = (void*)dcid; 1633 doq_conn_find_by_id(struct doq_table* table, const uint8_t* dcid, argument 1638 conid = doq_conid_find(table, dcid, dcidlen); 1645 memcpy(cid, conid->key.dcid, conid->key.dcidlen); 1646 key.dcid = cid; 1653 key.paddr.localaddrlen, key.paddr.ifindex, key.dcid, 1678 struct doq_pkt_addr* paddr, const uint8_t* dcid, size_t dcidlen) argument [all …]
|
/freebsd/contrib/unbound/services/ |
H A D | listen_dnsport.c | 3523 const uint8_t* dcid, size_t dcidlen, uint32_t version) in doq_conn_create() argument 3537 conn->key.dcid = memdup((void*)dcid, dcidlen); in doq_conn_create() 3538 if(!conn->key.dcid) { in doq_conn_create() 3609 free(conn->key.dcid); in doq_conn_delete() 3655 if((r=memcmp(c->key.dcid, d->key.dcid, c->key.dcidlen))!=0) in doq_conn_cmp() 3785 memmove(repinfo->doq_dcid, key->dcid, key->dcidlen); in doq_conn_key_store_repinfo() 3799 key->dcid = repinfo->doq_dcid; in doq_conn_key_from_repinfo() 4738 struct ngtcp2_cid dcid, sv_scid, scid_cid; in doq_conn_setup() local 4743 memset(&dcid, 0, sizeof(dcid)); in doq_conn_setup() 4752 ngtcp2_cid_init(&dcid, conn->key.dcid, conn->key.dcidlen); in doq_conn_setup() [all …]
|
H A D | listen_dnsport.h | 557 uint8_t* dcid; member 693 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()
|