• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/netgraph/bluetooth/socket/

Lines Matching refs:ip

594 	ng_l2cap_l2ca_con_ind_ip	*ip = NULL;
600 if (msg->header.arglen != sizeof(*ip))
603 ip = (ng_l2cap_l2ca_con_ind_ip *)(msg->data);
611 ip->bdaddr.b[5], ip->bdaddr.b[4], ip->bdaddr.b[3],
612 ip->bdaddr.b[2], ip->bdaddr.b[1], ip->bdaddr.b[0],
613 ip->psm, ip->lcid, ip->ident);
617 pcb = ng_btsocket_l2cap_pcb_by_addr(&rt->src, ip->psm);
651 bcopy(&ip->bdaddr, &pcb1->dst, sizeof(pcb1->dst));
652 pcb1->psm = ip->psm;
653 pcb1->cid = ip->lcid;
668 &ip->bdaddr,
669 ip->ident, ip->lcid,
670 result,ip->linktype);
957 ng_l2cap_l2ca_cfg_ind_ip *ip = NULL;
961 if (msg->header.arglen != sizeof(*ip))
964 ip = (ng_l2cap_l2ca_cfg_ind_ip *)(msg->data);
969 pcb = ng_btsocket_l2cap_pcb_by_cid(&rt->src, ip->lcid,
1002 pcb->omtu = ip->omtu;
1003 bcopy(&ip->iflow, &pcb->iflow, sizeof(pcb->iflow));
1004 pcb->flush_timo = ip->flush_timo;
1099 ng_l2cap_l2ca_discon_ind_ip *ip = NULL;
1103 if (msg->header.arglen != sizeof(*ip))
1106 ip = (ng_l2cap_l2ca_discon_ind_ip *)(msg->data);
1111 pcb = ng_btsocket_l2cap_pcb_by_cid(&rt->src, ip->lcid,
1112 ip->idtype);
1229 ng_l2cap_l2ca_con_ip *ip = NULL;
1239 sizeof(*ip), M_NOWAIT);
1245 ip = (ng_l2cap_l2ca_con_ip *)(msg->data);
1246 bcopy(&pcb->dst, &ip->bdaddr, sizeof(ip->bdaddr));
1247 ip->psm = pcb->psm;
1248 ip->linktype = ng_btsock_l2cap_addrtype_to_linktype(pcb->dsttype);
1249 ip->idtype = pcb->idtype;
1265 ng_l2cap_l2ca_con_rsp_ip *ip = NULL;
1272 sizeof(*ip), M_NOWAIT);
1278 ip = (ng_l2cap_l2ca_con_rsp_ip *)(msg->data);
1279 bcopy(dst, &ip->bdaddr, sizeof(ip->bdaddr));
1280 ip->ident = ident;
1281 ip->lcid = lcid;
1282 ip->linktype = linktype;
1283 ip->result = result;
1284 ip->status = 0;
1299 ng_l2cap_l2ca_cfg_ip *ip = NULL;
1309 sizeof(*ip), M_NOWAIT);
1315 ip = (ng_l2cap_l2ca_cfg_ip *)(msg->data);
1316 ip->lcid = pcb->cid;
1317 ip->imtu = pcb->imtu;
1318 bcopy(&pcb->oflow, &ip->oflow, sizeof(ip->oflow));
1319 ip->flush_timo = pcb->flush_timo;
1320 ip->link_timo = pcb->link_timo;
1335 ng_l2cap_l2ca_cfg_rsp_ip *ip = NULL;
1345 sizeof(*ip), M_NOWAIT);
1351 ip = (ng_l2cap_l2ca_cfg_rsp_ip *)(msg->data);
1352 ip->lcid = pcb->cid;
1353 ip->omtu = pcb->omtu;
1354 bcopy(&pcb->iflow, &ip->iflow, sizeof(ip->iflow));
1370 ng_l2cap_l2ca_discon_ip *ip = NULL;
1380 sizeof(*ip), M_NOWAIT);
1386 ip = (ng_l2cap_l2ca_discon_ip *)(msg->data);
1387 ip->lcid = pcb->cid;
1388 ip->idtype = pcb->idtype;