Searched refs:imtu (Results 1 - 15 of 15) sorted by relevance

/freebsd-9.3-release/lib/libsdp/
H A Dsdp-int.h46 uint16_t imtu; /* incoming MTU (rsp buffer size) */ member in struct:sdp_session
H A Dsession.c89 size = sizeof(ss->imtu);
90 if (getsockopt(ss->s, SOL_L2CAP, SO_L2CAP_IMTU, &ss->imtu, &size) < 0) {
94 if ((ss->rsp = malloc(ss->imtu)) == NULL) {
98 ss->rsp_e = ss->rsp + ss->imtu;
132 ss->imtu = ss->omtu = SDP_LOCAL_MTU;
140 if ((ss->rsp = malloc(ss->imtu)) == NULL) {
144 ss->rsp_e = ss->rsp + ss->imtu;
H A Dsearch.c180 iov[1].iov_len = ss->imtu;
221 * Ensure that we always have ss->imtu bytes
225 if (ss->rsp_e - rsp <= ss->imtu) {
228 size = ss->rsp_e - ss->rsp + ss->imtu;
/freebsd-9.3-release/usr.sbin/bluetooth/sdpd/
H A Dserver.h62 uint32_t imtu; /* incoming MTU */ member in struct:server
H A Dserver.c71 uint16_t imtu; local
127 size = sizeof(imtu);
128 if (getsockopt(l2sock, SOL_L2CAP, SO_L2CAP_IMTU, &imtu, &size) < 0) {
159 srv->imtu = (imtu > SDP_LOCAL_MTU)? imtu : SDP_LOCAL_MTU;
160 srv->req = (uint8_t *) calloc(srv->imtu, sizeof(srv->req[0]));
411 assert(srv->imtu > 0);
420 len = read(fd, srv->req, srv->imtu);
/freebsd-9.3-release/sys/netgraph/bluetooth/include/
H A Dng_l2cap.h386 u_int16_t imtu; /* receiving MTU for the local channel */ member in struct:__anon9849
395 u_int16_t imtu; /* sending MTU for the remote channel */ member in struct:__anon9850
650 u_int16_t imtu; /* incomming MTU */ member in struct:__anon9873
H A Dng_btsocket_l2cap.h156 u_int16_t imtu; /* Incoming MTU */ member in struct:ng_btsocket_l2cap_pcb
/freebsd-9.3-release/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_var.h151 u_int16_t imtu; /* incoming channel MTU */ member in struct:ng_l2cap_chan
H A Dng_l2cap_ulpi.c435 ch->imtu = ip->imtu;
441 if (ch->imtu != NG_L2CAP_MTU_DEFAULT)
442 mtu = &ch->imtu;
525 op->imtu = ch->imtu;
917 if (hdr->length > ch->imtu) {
920 "Packet too big, length=%d, imtu=%d, cid=%d\n",
922 ch->imtu, ch->scid);
H A Dng_l2cap_main.c626 e2->imtu = ch->imtu;
693 * L2CAP packet must not exceed channel's omtu (our peer's imtu). Then
H A Dng_l2cap_misc.c346 ch->imtu = NG_L2CAP_MTU_DEFAULT;
H A Dng_l2cap_evnt.c731 cmd->ch->imtu = val.mtu;
/freebsd-9.3-release/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c635 pcb1->imtu = pcb->imtu;
734 pcb->imtu = op->imtu;
1247 ip->imtu = pcb->imtu;
1425 if (hdr->length > pcb->imtu) {
1428 "dcid=%d, length=%d, imtu=%d\n",
1432 hdr->dcid, hdr->length, pcb->imtu);
1950 pcb->imtu
[all...]
H A Dng_btsocket_rfcomm.c1474 s->mtu = min(l2pcb->imtu, l2pcb->omtu) -
1543 s->mtu = min(l2pcb->imtu, l2pcb->omtu) -
/freebsd-9.3-release/usr.sbin/bluetooth/l2control/
H A Dl2cap.c224 r.channels[n].psm, r.channels[n].imtu,

Completed in 151 milliseconds