Home
last modified time | relevance | path

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

/openbmc/linux/include/net/bluetooth/
H A Dl2cap.h201 #define L2CAP_LEN_SIZE 2 macro
/openbmc/linux/net/bluetooth/
H A Dl2cap_core.c7440 len = l2cap_recv_frag(conn, skb, L2CAP_LEN_SIZE - conn->rx_skb->len); in l2cap_recv_len()
7443 if (len < 0 || conn->rx_skb->len < L2CAP_LEN_SIZE) in l2cap_recv_len()
7450 if (len + (L2CAP_HDR_SIZE - L2CAP_LEN_SIZE) <= skb_tailroom(rx_skb)) { in l2cap_recv_len()
7452 conn->rx_len = len + (L2CAP_HDR_SIZE - L2CAP_LEN_SIZE); in l2cap_recv_len()
7453 return L2CAP_LEN_SIZE; in l2cap_recv_len()
7463 len + (L2CAP_HDR_SIZE - L2CAP_LEN_SIZE)); in l2cap_recv_len()
7503 if (skb->len < L2CAP_LEN_SIZE) { in l2cap_recv_acldata()
7541 if (conn->rx_skb->len < L2CAP_LEN_SIZE) { in l2cap_recv_acldata()
7548 if (conn->rx_skb->len < L2CAP_LEN_SIZE) in l2cap_recv_acldata()