Home
last modified time | relevance | path

Searched refs:L2CAP_LEN_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/include/net/bluetooth/
Dl2cap.h201 #define L2CAP_LEN_SIZE 2 macro
/linux-6.12.1/net/bluetooth/
Dl2cap_core.c7434 len = l2cap_recv_frag(conn, skb, L2CAP_LEN_SIZE - conn->rx_skb->len); in l2cap_recv_len()
7437 if (len < 0 || conn->rx_skb->len < L2CAP_LEN_SIZE) in l2cap_recv_len()
7444 if (len + (L2CAP_HDR_SIZE - L2CAP_LEN_SIZE) <= skb_tailroom(rx_skb)) { in l2cap_recv_len()
7446 conn->rx_len = len + (L2CAP_HDR_SIZE - L2CAP_LEN_SIZE); in l2cap_recv_len()
7447 return L2CAP_LEN_SIZE; in l2cap_recv_len()
7457 len + (L2CAP_HDR_SIZE - L2CAP_LEN_SIZE)); in l2cap_recv_len()
7497 if (skb->len < L2CAP_LEN_SIZE) { in l2cap_recv_acldata()
7535 if (conn->rx_skb->len < L2CAP_LEN_SIZE) { in l2cap_recv_acldata()
7542 if (conn->rx_skb->len < L2CAP_LEN_SIZE) in l2cap_recv_acldata()