Lines Matching refs:skb
312 static int sco_send_frame(struct sock *sk, struct sk_buff *skb)
315 int len = skb->len;
323 hci_send_sco(conn->hcon, skb);
328 static void sco_recv_frame(struct sco_conn *conn, struct sk_buff *skb)
339 BT_DBG("sk %p len %u", sk, skb->len);
344 if (!sock_queue_rcv_skb(sk, skb))
348 kfree_skb(skb);
726 struct sk_buff *skb;
738 skb = bt_skb_sendmsg(sk, msg, len, len, 0, 0);
739 if (IS_ERR(skb))
740 return PTR_ERR(skb);
745 err = sco_send_frame(sk, skb);
752 kfree_skb(skb);
1377 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb)
1384 BT_DBG("conn %p len %u", conn, skb->len);
1386 if (skb->len) {
1387 sco_recv_frame(conn, skb);
1392 kfree_skb(skb);