hdlc_header
struct hdlc_header *data = (struct hdlc_header *)skb->data;
if (skb->len < sizeof(struct hdlc_header))
skb_pull(skb, sizeof(struct hdlc_header));
struct hdlc_header *data = (struct hdlc_header *)skb->data;
if (skb->len < sizeof(struct hdlc_header))
if ((skb->len != sizeof(struct hdlc_header) +
(skb->len != sizeof(struct hdlc_header) +
(struct hdlc_header));
dev->hard_header_len = sizeof(struct hdlc_header);
struct hdlc_header *data;
skb_push(skb, sizeof(struct hdlc_header));
data = (struct hdlc_header *)skb->data;
return sizeof(struct hdlc_header);
skb = dev_alloc_skb(sizeof(struct hdlc_header) +
struct hdlc_header *data = (struct hdlc_header *)skb->data;
if (skb->len < sizeof(struct hdlc_header))
skb_pull(skb, sizeof(struct hdlc_header));
skb_pull(skb, sizeof(struct hdlc_header));
struct hdlc_header *data;
skb_push(skb, sizeof(struct hdlc_header));
data = (struct hdlc_header *)skb->data;
return sizeof(struct hdlc_header);
skb = dev_alloc_skb(sizeof(struct hdlc_header) +
skb_reserve(skb, sizeof(struct hdlc_header));
struct hdlc_header *hdr = (struct hdlc_header *)skb->data;
if (skb->len < sizeof(struct hdlc_header))
cp = skb_pull(skb, sizeof(struct hdlc_header));
dev->hard_header_len = sizeof(struct hdlc_header);