Home
last modified time | relevance | path

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

/linux-6.1.9/net/bluetooth/
Dl2cap_sock.c496 opts.imtu = chan->imtu; in l2cap_sock_getsockopt_old()
679 if (put_user(chan->imtu, (u16 __user *) optval)) in l2cap_sock_getsockopt()
766 opts.imtu = chan->imtu; in l2cap_sock_setsockopt_old()
785 if (!l2cap_valid_mtu(chan, opts.imtu)) { in l2cap_sock_setsockopt_old()
812 chan->imtu = opts.imtu; in l2cap_sock_setsockopt_old()
1100 chan->imtu = mtu; in l2cap_sock_setsockopt()
1786 chan->imtu = pchan->imtu; in l2cap_sock_init()
1820 chan->imtu = L2CAP_DEFAULT_MTU; in l2cap_sock_init()
Dl2cap_core.c565 chan->mps = min_t(u16, chan->imtu, chan->conn->mtu - L2CAP_HDR_SIZE); in l2cap_le_flowctl_init()
567 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_le_flowctl_init()
579 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_ecred_init()
767 rsp.mtu = cpu_to_le16(chan->imtu); in l2cap_chan_le_connect_reject()
1396 if (!chan->imtu) in l2cap_le_connect()
1397 chan->imtu = chan->conn->mtu; in l2cap_le_connect()
1404 req.mtu = cpu_to_le16(chan->imtu); in l2cap_le_connect()
1471 data.pdu.req.mtu = cpu_to_le16(chan->imtu); in l2cap_ecred_connect()
3424 chan->imtu = L2CAP_DEFAULT_MIN_MTU; in l2cap_mtu_auto()
3430 chan->imtu = 54; in l2cap_mtu_auto()
[all …]
Da2mp.c781 chan->imtu = L2CAP_A2MP_DEFAULT_MTU; in a2mp_chan_open()
D6lowpan.c628 chan->imtu = 1280; in chan_create()
Dsmp.c3244 chan->imtu = pchan->imtu; in smp_new_conn_cb()
3346 chan->imtu = L2CAP_DEFAULT_MTU; in smp_add_cid()
/linux-6.1.9/include/net/bluetooth/
Dl2cap.h77 __u16 imtu; member
558 __u16 imtu; member
/linux-6.1.9/net/bluetooth/cmtp/
Dcore.c359 l2cap_pi(sock->sk)->chan->imtu); in cmtp_add_connection()
/linux-6.1.9/net/bluetooth/rfcomm/
Dcore.c788 l2cap_pi(sk)->chan->imtu = 0; in rfcomm_session_create()
1980 l2cap_pi(nsock->sk)->chan->imtu) - 5; in rfcomm_accept_connection()
1999 s->mtu = min(l2cap_pi(sk)->chan->omtu, l2cap_pi(sk)->chan->imtu) - 5; in rfcomm_check_connection()
2076 l2cap_pi(sk)->chan->imtu = 0; in rfcomm_add_listener()
/linux-6.1.9/net/bluetooth/hidp/
Dcore.c945 l2cap_pi(ctrl)->chan->imtu); in hidp_session_new()
947 l2cap_pi(intr)->chan->imtu); in hidp_session_new()