Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: Add a helper function to extract iso header

Add a helper function hci_iso_hdr() to extract iso header from skb.

Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Kiran K and committed by
Luiz Augusto von Dentz
29aeb4e8 525034e2

+5
+5
include/net/bluetooth/hci.h
··· 2901 2901 return (struct hci_sco_hdr *) skb->data; 2902 2902 } 2903 2903 2904 + static inline struct hci_iso_hdr *hci_iso_hdr(const struct sk_buff *skb) 2905 + { 2906 + return (struct hci_iso_hdr *)skb->data; 2907 + } 2908 + 2904 2909 /* Command opcode pack/unpack */ 2905 2910 #define hci_opcode_pack(ogf, ocf) ((__u16) ((ocf & 0x03ff)|(ogf << 10))) 2906 2911 #define hci_opcode_ogf(op) (op >> 10)