Home
last modified time | relevance | path

Searched refs:imtu (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/net/bluetooth/
Dl2cap_sock.c480 opts.imtu = chan->imtu; in l2cap_sock_getsockopt_old()
663 if (put_user(chan->imtu, (u16 __user *) optval)) in l2cap_sock_getsockopt()
750 opts.imtu = chan->imtu; in l2cap_sock_setsockopt_old()
767 if (!l2cap_valid_mtu(chan, opts.imtu)) { in l2cap_sock_setsockopt_old()
794 chan->imtu = opts.imtu; in l2cap_sock_setsockopt_old()
1057 chan->imtu = mtu; in l2cap_sock_setsockopt()
1810 chan->imtu = pchan->imtu; in l2cap_sock_init()
1844 chan->imtu = L2CAP_DEFAULT_MTU; in l2cap_sock_init()
Dl2cap_core.c555 return (chan->imtu / chan->mps) + 1; in l2cap_le_rx_credits()
573 chan->mps = min_t(u16, chan->imtu, chan->conn->mtu - L2CAP_HDR_SIZE); in l2cap_le_flowctl_init()
774 rsp.mtu = cpu_to_le16(chan->imtu); in l2cap_chan_le_connect_reject()
1267 if (!chan->imtu) in l2cap_le_connect()
1268 chan->imtu = chan->conn->mtu; in l2cap_le_connect()
1275 req.mtu = cpu_to_le16(chan->imtu); in l2cap_le_connect()
1342 data.pdu.req.mtu = cpu_to_le16(chan->imtu); in l2cap_ecred_connect()
3209 chan->imtu = L2CAP_DEFAULT_MIN_MTU; in l2cap_mtu_auto()
3215 chan->imtu = 54; in l2cap_mtu_auto()
3221 chan->imtu = 83; in l2cap_mtu_auto()
[all …]
D6lowpan.c628 chan->imtu = 1280; in chan_create()
Dsmp.c3250 chan->imtu = pchan->imtu; in smp_new_conn_cb()
3352 chan->imtu = L2CAP_DEFAULT_MTU; in smp_add_cid()
/linux-6.12.1/include/net/bluetooth/
Dl2cap.h75 __u16 imtu; member
528 __u16 imtu; member
/linux-6.12.1/net/bluetooth/cmtp/
Dcore.c359 l2cap_pi(sock->sk)->chan->imtu); in cmtp_add_connection()
/linux-6.12.1/net/bluetooth/rfcomm/
Dcore.c792 l2cap_pi(sk)->chan->imtu = 0; in rfcomm_session_create()
1984 l2cap_pi(nsock->sk)->chan->imtu) - 5; in rfcomm_accept_connection()
2003 s->mtu = min(l2cap_pi(sk)->chan->omtu, l2cap_pi(sk)->chan->imtu) - 5; in rfcomm_check_connection()
2080 l2cap_pi(sk)->chan->imtu = 0; in rfcomm_add_listener()
/linux-6.12.1/net/bluetooth/hidp/
Dcore.c944 l2cap_pi(ctrl)->chan->imtu); in hidp_session_new()
946 l2cap_pi(intr)->chan->imtu); in hidp_session_new()