/freebsd-9.3-release/lib/libsdp/ |
H A D | sdp-int.h | 46 uint16_t imtu; /* incoming MTU (rsp buffer size) */ member in struct:sdp_session
|
H A D | session.c | 89 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 D | search.c | 180 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 D | server.h | 62 uint32_t imtu; /* incoming MTU */ member in struct:server
|
H A D | server.c | 71 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 D | ng_l2cap.h | 386 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 D | ng_btsocket_l2cap.h | 156 u_int16_t imtu; /* Incoming MTU */ member in struct:ng_btsocket_l2cap_pcb
|
/freebsd-9.3-release/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_var.h | 151 u_int16_t imtu; /* incoming channel MTU */ member in struct:ng_l2cap_chan
|
H A D | ng_l2cap_ulpi.c | 435 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 D | ng_l2cap_main.c | 626 e2->imtu = ch->imtu; 693 * L2CAP packet must not exceed channel's omtu (our peer's imtu). Then
|
H A D | ng_l2cap_misc.c | 346 ch->imtu = NG_L2CAP_MTU_DEFAULT;
|
H A D | ng_l2cap_evnt.c | 731 cmd->ch->imtu = val.mtu;
|
/freebsd-9.3-release/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_l2cap.c | 635 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 D | ng_btsocket_rfcomm.c | 1474 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 D | l2cap.c | 224 r.channels[n].psm, r.channels[n].imtu,
|