| /src/sys/netbt/ |
| l2cap_lower.c | 66 struct l2cap_pdu *pdu; local 73 * Since any potential PDU could be half sent we just let it go, 75 * PDU's in any case. We could try harder to flush unsent packets 78 TAILQ_FOREACH(pdu, &chan->lc_link->hl_txq, lp_next) { 79 if (pdu->lp_chan == chan) 80 pdu->lp_chan = NULL; 154 * (when no PDU is pending) and hci_acl_start (when PDU has been placed on 155 * device queue). Thus we can have more than one PDU waiting at the device
|
| hci_link.c | 540 * prepend a relevant ACL header to each fragment. We keep a PDU structure 542 * more data requested from above once the PDU is sent. 548 struct l2cap_pdu *pdu; local 562 pdu = pool_get(&l2cap_pdu_pool, PR_NOWAIT); 563 if (pdu == NULL) 566 pdu->lp_chan = chan; 567 pdu->lp_pending = 0; 568 MBUFQ_INIT(&pdu->lp_data); 589 MBUFQ_ENQUEUE(&pdu->lp_data, m); 594 TAILQ_INSERT_TAIL(&link->hl_txq, pdu, lp_next) 627 struct l2cap_pdu *pdu; local 719 struct l2cap_pdu *pdu; local 932 struct l2cap_pdu *pdu; local [all...] |
| /src/lib/libbluetooth/ |
| sdp_session.c | 164 * internal function; send a PDU on session 167 * PDU header, num is total iovec count. 172 sdp_pdu_t pdu; local 186 pdu.pid = pid; 187 pdu.tid = htobe16(ss->tid); 188 pdu.len = htobe16(len); 190 iov[0].iov_base = &pdu; 191 iov[0].iov_len = sizeof(pdu); 197 if ((size_t)nw != sizeof(pdu) + len) { 206 * internal function; receive a PDU on sessio 215 sdp_pdu_t pdu; local [all...] |
| /src/usr.sbin/sdpd/ |
| sdpd.h | 108 sdp_pdu_t pdu; /* PDU header */ member in struct:server
|
| /src/sys/dev/iscsi/ |
| iscsi_utils.c | 260 pdu_t *pdu; local 287 /* free PDU waiting for ACK */ 288 if ((pdu = ccb->ccb_pdu_waiting) != NULL) { 291 pdisp = pdu->pdu_disp; 292 if ((pdu->pdu_flags & PDUF_INQUEUE) != 0) { 293 TAILQ_REMOVE(&conn->c_pdus_to_send, pdu, pdu_send_chain); 294 pdu->pdu_flags &= ~PDUF_INQUEUE; 298 free_pdu(pdu); 449 * PDU management functions 454 * Get a PDU for the SCSI operation 466 pdu_t *pdu; local 547 pdu_t *pdu; local [all...] |
| iscsi_rcv.c | 99 * ending up at the start of a new PDU. 180 * pdu The PDU 186 * -1 if the data digest was incorrect (PDU must be ignored) 190 read_pdu_data(pdu_t *pdu, uint8_t *data, uint32_t offset) 196 connection_t *conn = pdu->pdu_connection; 199 ntoh3(pdu->pdu_hdr.pduh_DataSegmentLength))); 200 if (!(len = ntoh3(pdu->pdu_hdr.pduh_DataSegmentLength))) { 218 handle_connection_error(pdu->pdu_connection, 222 pdu->pdu_temp_data = data 1202 pdu_t *pdu; local [all...] |
| iscsi_send.c | 151 pdu_t *pdu = NULL; local 202 /* Copy PDU contents (PDUs are bound to connection) */ 203 if ((pdu = get_pdu(conn, TRUE)) == NULL) { 211 /* adjust CCB and clone PDU for new connection */ 216 *pdu = *opdu; 219 pdu->pdu_connection = conn; 222 pdu->pdu_save_uio.uio_iov = pdu->pdu_io_vec; 223 pdu->pdu_save_iovec [0].iov_base = &pdu->pdu_hdr 331 pdu_t *pdu; local 555 pdu_t *pdu = ccb->ccb_pdu_waiting; local 871 pdu_t *pdu; local 963 pdu_t *pdu; local 1195 pdu_t *pdu; local [all...] |
| iscsi_ioctl.c | 898 pdu_t *pdu; local 989 pdu = ccb->ccb_pdu_waiting; 990 sn = get_sernum(sess, pdu); 996 pdu->pdu_hdr.pduh_p.command.CmdSN = htonl(ccb->ccb_CmdSN);
|
| /src/external/bsd/tcpdump/dist/ |
| print-rpki-rtr.c | 38 * RPKI/Router PDU header 40 * Here's what the PDU header looks like. 45 nd_uint8_t pdu_type; /* PDU type */ 54 * IPv4 Prefix PDU. 67 * IPv6 Prefix PDU. 80 * Error report PDU. 84 nd_uint32_t encapsulated_pdu_length; /* Encapsulated PDU length */ 85 /* Copy of Erroneous PDU (variable, optional) */ 91 * PDU type codes 122 { 5, "Unsupported PDU Type" } 260 const rpki_rtr_pdu_ipv4_prefix *pdu; local 275 const rpki_rtr_pdu_ipv6_prefix *pdu; local 290 const rpki_rtr_pdu_error_report *pdu; local [all...] |
| print-snmp.c | 180 * error-status values for any SNMP PDU 209 * generic-trap values in the SNMP Trap-PDU 394 * Defaults for SNMP PDU components 860 * This will work for any ASN.1 stream, not just an SNMP PDU. 1202 * PDU for Trap: 1391 * Decode SNMP Trap PDU 1487 struct be pdu; local 1490 /* PDU (Context) */ 1491 if ((count = asn1_parse(ndo, np, length, &pdu)) < 0) 1493 if (pdu.type != BE_PDU) [all...] |
| /src/usr.sbin/ldpd/ |
| socketops.c | 398 * It's ugly. We need a function to pass all tlvs and create pdu but since I 424 #define BASIC_HELLO_MSG_SIZE (sizeof(struct ldp_pdu) + /* PDU */ \ 444 /* Prepare PDU envelope */ 540 " (PDU: %d, Hello TLV: %d, CH: %d, TR: %d)\n", 608 "(PDU: %d, Hello TLV: %d, CH: %d TR: %d)\n", 685 /* Read the PDU */ 688 debugp("recv_pdu(%d): PDU(size: %d) from: %s\n", sock, 701 fatalp("Received our PDU. Ignoring it\n"); 1128 debugp("Incoming PDU size exceeds MAX_PDU_SIZE !\n"); 1132 debugp("PDU too small received from peer %s\n" 1393 struct ldp_pdu pdu; local [all...] |