Lines Matching defs:link_mtu
134 unsigned int link_mtu; /* MTU for selected transport channel */
485 data->link_mtu = rsp->link_mtu;
751 data->link_mtu = rsp->link_mtu;
864 nrecv = recv(data->stream.fd, data->buffer, data->link_mtu,
872 if ((unsigned int) nrecv != data->link_mtu) {
879 data->hw_ptr = (data->hw_ptr + data->link_mtu / frame_size) %
886 if ((data->count + size * frame_size) <= data->link_mtu)
889 frames_to_write = (data->link_mtu - data->count) / frame_size;
893 data->count %= data->link_mtu;
925 if ((data->count + size * frame_size) <= data->link_mtu)
928 frames_to_read = (data->link_mtu - data->count) / frame_size;
939 if (data->count != data->link_mtu) {
944 rsend = send(data->stream.fd, data->buffer, data->link_mtu,
1081 if (a2dp->count + written >= data->link_mtu) {
1083 DBG("sending packet %d, count %d, link_mtu %u",
1085 data->link_mtu);
1122 if (a2dp->count + written >= data->link_mtu) {
1124 DBG("sending packet %d, count %d, link_mtu %u",
1126 data->link_mtu);
1259 data->link_mtu, data->link_mtu);