HomeSort by: relevance | last modified time | path
    Searched defs:pdu (Results 1 - 9 of 9) sorted by relevancy

  /src/sys/netbt/
l2cap_lower.c 66 struct l2cap_pdu *pdu; local in function:l2cap_close
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 in function:hci_acl_send
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 in function:hci_acl_start
719 struct l2cap_pdu *pdu; local in function:hci_acl_complete
932 struct l2cap_pdu *pdu; local in function:hci_link_free
    [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 in function:_sdp_send_pdu
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 in function:_sdp_recv_pdu
    [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 261 pdu_t *pdu; local in function:free_ccb
287 /* free PDU waiting for ACK */
288 if ((pdu = ccb->ccb_pdu_waiting) != NULL) {
291 if ((pdu->pdu_flags & PDUF_INQUEUE) != 0) {
292 TAILQ_REMOVE(&conn->c_pdus_to_send, pdu, pdu_send_chain);
293 pdu->pdu_flags &= ~PDUF_INQUEUE;
296 free_pdu(pdu);
447 * PDU management functions
452 * Get a PDU for the SCSI operation.
455 * conn The connection this PDU should be associated wit
464 pdu_t *pdu; local in function:get_pdu
545 pdu_t *pdu; local in function:create_pdus
    [all...]
iscsi_send.c 151 pdu_t *pdu = NULL; local in function:reassign_tasks
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 in function:iscsi_send_thread
559 pdu_t *pdu = ccb->ccb_pdu_waiting; local in function:resend_pdu
875 pdu_t *pdu; local in function:start_text_negotiation
967 pdu_t *pdu; local in function:send_send_targets
1199 pdu_t *pdu; local in function:send_login
    [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 in function:iscsi_rcv_thread
    [all...]
iscsi_ioctl.c 902 pdu_t *pdu; local in function:recreate_connection
993 pdu = ccb->ccb_pdu_waiting;
994 sn = get_sernum(sess, pdu);
1000 pdu->pdu_hdr.pduh_p.command.CmdSN = htonl(ccb->ccb_CmdSN);
  /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 in function:send_tlv
    [all...]

Completed in 20 milliseconds