/freebsd-13-stable/lib/libsdp/ |
H A D | sdp-int.h | 47 uint16_t omtu; /* outgoing MTU (req buffer size) */ member in struct:sdp_session
|
H A D | session.c | 83 size = sizeof(ss->omtu); 84 if (getsockopt(ss->s, SOL_L2CAP, SO_L2CAP_OMTU, &ss->omtu, &size) < 0) { 88 if ((ss->req = malloc(ss->omtu)) == NULL) { 92 ss->req_e = ss->req + ss->omtu; 137 ss->imtu = ss->omtu = SDP_LOCAL_MTU; 139 if ((ss->req = malloc(ss->omtu)) == NULL) { 143 ss->req_e = ss->req + ss->omtu;
|
/freebsd-13-stable/usr.sbin/bluetooth/sdpd/ |
H A D | server.c | 207 srv->fdidx[unsock].omtu = SDP_LOCAL_MTU; 218 srv->fdidx[l2sock].omtu = 0; /* unknown */ 297 uint16_t omtu; local 327 size = sizeof(omtu); 328 if (getsockopt(cfd,SOL_L2CAP,SO_L2CAP_OMTU,&omtu,&size) < 0) { 343 if (omtu < NG_L2CAP_MTU_MINIMUM) { 344 log_err("L2CAP OMTU is too small (%d bytes)", omtu); 374 omtu = srv->fdidx[fd].omtu; 400 srv->fdidx[cfd].omtu [all...] |
H A D | scr.c | 89 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t);
|
H A D | server.h | 51 uint16_t omtu; /* outgoing MTU */ member in struct:fd_idx
|
H A D | sur.c | 80 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t);
|
H A D | srr.c | 102 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t);
|
H A D | sar.c | 234 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t) - 2;
|
H A D | ssar.c | 367 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t) - 2;
|
H A D | ssr.c | 204 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t) - 4;
|
/freebsd-13-stable/sys/netgraph/bluetooth/include/ |
H A D | ng_l2cap.h | 435 u_int16_t omtu; /* sending MTU for the local channel */ member in struct:__anon15237 449 u_int16_t omtu; /* outgoing MTU for the local channel */ member in struct:__anon15239 693 u_int16_t omtu; /* outgoing MTU */ member in struct:__anon15261
|
H A D | ng_btsocket_l2cap.h | 166 u_int16_t omtu; /* Outgoing MTU */ member in struct:ng_btsocket_l2cap_pcb
|
/freebsd-13-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_var.h | 162 u_int16_t omtu; /* outgoing channel MTU */ member in struct:ng_l2cap_chan
|
H A D | ng_l2cap_ulpi.c | 690 if (ip->omtu != ch->omtu) { 691 ch->omtu = ip->omtu; 692 mtu = &ch->omtu; 819 ip->omtu = ch->omtu;
|
H A D | ng_l2cap_main.c | 631 e2->omtu = ch->omtu; 697 * L2CAP packet must not exceed channel's omtu (our peer's imtu). Then
|
H A D | ng_l2cap_misc.c | 363 ch->omtu = NG_L2CAP_MTU_DEFAULT;
|
H A D | ng_l2cap_evnt.c | 698 ch->omtu = val.mtu;
|
/freebsd-13-stable/usr.sbin/bluetooth/l2control/ |
H A D | l2cap.c | 228 r.channels[n].omtu,
|
/freebsd-13-stable/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_l2cap.c | 999 pcb->omtu = ip->omtu; 1350 ip->omtu = pcb->omtu; 2033 pcb->imtu = pcb->omtu = NG_L2CAP_MTU_DEFAULT; 2321 error = sooptcopyout(sopt, &pcb->omtu, 2322 sizeof(pcb->omtu)); 2602 if (m->m_pkthdr.len > pcb->omtu) { 2604 "%s: Packet too big, len=%d, omtu=%d\n", __func__, m->m_pkthdr.len, pcb->omtu); [all...] |
H A D | ng_btsocket_rfcomm.c | 1462 s->mtu = min(l2pcb->imtu, l2pcb->omtu) - 1531 s->mtu = min(l2pcb->imtu, l2pcb->omtu) -
|
/freebsd-13-stable/sys/netinet/ |
H A D | sctp_output.c | 7801 unsigned int mtu, r_mtu, omtu, mx_mtu, to_out; local 8073 * this chunk. NOTE: we overload the use of "omtu" 8079 omtu = sctp_get_auth_chunk_len(stcb->asoc.peer_hmac_id); 8081 omtu = 0; 8083 if ((chk->send_size < (int)(mtu - omtu)) || 8120 if (mtu > (chk->send_size + omtu)) 8121 mtu -= (chk->send_size + omtu); 8124 to_out += (chk->send_size + omtu); 8298 * this chunk. NOTE: we overload the use of "omtu" 8304 omtu [all...] |