Searched defs:sent (Results 1 - 17 of 17) sorted by relevance

/net/x25/
H A Dx25_out.c49 * Returns the amount of user data bytes sent on success
57 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; local
78 return sent;
82 "sent\n", err, sent);
106 sent += len;
112 sent = skb->len - header_len;
114 return sent;
/net/sctp/
H A Dchunk.c118 int sent; local
120 sent = SCTP_DATA_SENT;
122 sent = SCTP_DATA_UNSENT;
124 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent,
/net/openvswitch/
H A Dvport.c467 * Sends the given packet and returns the length of data sent. Either ovs
472 int sent = vport->ops->send(vport, skb); local
474 if (likely(sent > 0)) {
481 stats->tx_bytes += sent;
483 } else if (sent < 0) {
489 return sent;
/net/vmw_vsock/
H A Dvmci_transport_notify.c129 bool sent; local
132 sent = vmci_transport_send_wrote_bh(dst, src) > 0;
134 sent = vmci_transport_send_wrote(sk) > 0;
136 if (sent)
159 bool sent; local
162 sent = vmci_transport_send_read_bh(dst, src) > 0;
164 sent = vmci_transport_send_read(sk) > 0;
166 if (sent)
/net/rds/
H A Dib_send.c732 /* Account the RDS header in the number of bytes we sent, but just once.
890 int sent; local
928 sent = 0;
961 sent += len;
962 rdsdebug("ic %p sent %d remote_addr %llu\n", ic, sent, remote_addr);
H A Diw_send.c513 int sent; local
626 sent = 0;
689 sent += len;
726 /* Account the RDS header in the number of bytes we sent, but just once.
729 sent += sizeof(struct rds_header);
762 ret = sent;
803 int sent; local
857 sent = 0;
908 sent += len;
909 rdsdebug("ic %p sent
[all...]
/net/bluetooth/rfcomm/
H A Dsock.c559 int sent; local
574 sent = bt_sock_wait_ready(sk, msg->msg_flags);
575 if (sent)
585 if (sent == 0)
586 sent = err;
594 if (sent == 0)
595 sent = err;
604 if (sent == 0)
605 sent = err;
609 sent
[all...]
H A Dtty.c355 /* Limit the outstanding number of packets not yet sent to 40 */
788 int sent = 0, size; local
801 memcpy(skb_put(skb, size), buf + sent, size); local
805 sent += size;
809 return sent;
/net/caif/
H A Dcaif_socket.c604 int sent = 0; local
620 while (sent < len) {
622 size = len-sent;
663 sent += size;
666 return sent;
669 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL))
673 return sent ? : err;
735 * o -EINPROGRESS: connect request sent but timed out (or non-blocking)
/net/sunrpc/
H A Dsvcsock.c517 * peer sent the datagram, i.e. our local address. For multihomed
1187 int sent; local
1197 sent = svc_sendto(rqstp, &rqstp->rq_res);
1198 if (sent != xbufp->len) {
1203 (sent<0)?"got error":"sent only",
1204 sent, xbufp->len);
1207 sent = -EAGAIN;
1209 return sent;
H A Dxprtsock.c453 int sent = 0; local
478 err = xs_send_pagedata(sock, xdr, base, remainder != 0, zerocopy, &sent);
479 *sent_p += sent;
480 if (remainder == 0 || sent != len)
564 * 0: The request has been sent
568 * other: Some other error occured, the request was not sent
578 int sent = 0; local
586 true, &sent);
589 if (likely(sent > 0) || status == 0) {
590 req->rq_bytes_sent += sent;
632 int sent = 0; local
724 int sent; local
[all...]
/net/bluetooth/
H A Dhci_event.c133 void *sent; local
140 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY);
141 if (!sent)
148 conn->link_policy = get_unaligned_le16(sent + 2);
170 void *sent; local
177 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY);
178 if (!sent)
181 hdev->link_policy = get_unaligned_le16(sent);
213 void *sent; local
217 sent
247 void *sent; local
272 void *sent; local
295 void *sent; local
344 void *sent; local
391 void *sent; local
433 struct hci_cp_write_ssp_mode *sent; local
461 struct hci_cp_write_sc_support *sent; local
660 struct hci_cp_write_page_scan_activity *sent; local
1015 bdaddr_t *sent; local
1035 __u8 *sent, status = *((__u8 *) skb->data); local
1213 struct hci_cp_le_add_to_white_list *sent; local
1232 struct hci_cp_le_del_from_white_list *sent; local
1264 struct hci_cp_write_le_host_supported *sent; local
1345 struct hci_cp_read_tx_power *sent; local
[all...]
H A Dhci_core.c1220 * trigger any commands to be sent. This is normal behavior
2617 /* Drop last sent command */
3427 struct hci_command_hdr *sent = (void *) hdev->sent_cmd->data; local
3428 u16 opcode = __le16_to_cpu(sent->opcode);
4597 /* Get data from the previously sent command */
4742 if (c->sent < min) {
4743 min = c->sent;
4792 if (c->type == type && c->sent) {
4844 if (conn->sent < min) {
4845 min = conn->sent;
5268 struct hci_command_hdr *sent; local
[all...]
H A Dl2cap_core.c1847 int sent = 0; local
1896 sent++;
1907 BT_DBG("Sent %d, %u unacked, %u in ERTM queue", sent,
1910 return sent;
2059 /* If any i-frames were sent, they included an ack */
2093 int sent = 0; local
2099 sent += count;
2120 sent += count;
2129 return sent;
3117 * that start ERTM timers when packets are sent t
[all...]
/net/decnet/
H A Daf_decnet.c564 * When socket is dead & no packets have been sent for a
1917 size_t sent = 0; local
1977 while(sent < size) {
1990 len = size - sent;
2051 if (((sent + len) == size) && (flags & MSG_EOR)) {
2061 sent += len;
2074 return sent ? sent : err;
/net/tipc/
H A Dsocket.c61 * @max_pkt: maximum packet size "hint" used when building messages sent by port
75 * @sent_unacked: # messages sent by socket, and not yet acked by peer
248 /* tsk_peer_msg - verify if message was sent by connected port's peer
700 * Returns the number of bytes sent on success, or errno
824 * @m: descriptor for message to be sent
884 * @dsz: amount of user data to be sent
891 * Returns the number of bytes sent on success, or errno otherwise
1045 * Returns the number of bytes sent on success (or partial success),
1046 * or errno if no data sent
1060 uint mtu, send, sent local
[all...]
/net/unix/
H A Daf_unix.c1636 int sent = 0; local
1666 while (sent < len) {
1667 size = len - sent;
1698 sent, size);
1716 sent += size;
1722 return sent;
1728 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL))
1734 return sent ? : err;

Completed in 378 milliseconds