Lines Matching refs:hdlc_header
50 struct hdlc_header { struct
142 struct hdlc_header *data = (struct hdlc_header *)skb->data; in ppp_type_trans()
144 if (skb->len < sizeof(struct hdlc_header)) in ppp_type_trans()
152 skb_pull(skb, sizeof(struct hdlc_header)); in ppp_type_trans()
156 skb_pull(skb, sizeof(struct hdlc_header)); in ppp_type_trans()
168 struct hdlc_header *data; in ppp_hard_header()
173 skb_push(skb, sizeof(struct hdlc_header)); in ppp_hard_header()
174 data = (struct hdlc_header *)skb->data; in ppp_hard_header()
193 return sizeof(struct hdlc_header); in ppp_hard_header()
220 skb = dev_alloc_skb(sizeof(struct hdlc_header) + in ppp_tx_cp()
225 skb_reserve(skb, sizeof(struct hdlc_header)); in ppp_tx_cp()
435 struct hdlc_header *hdr = (struct hdlc_header *)skb->data; in ppp_rx()
450 if (skb->len < sizeof(struct hdlc_header)) in ppp_rx()
452 cp = skb_pull(skb, sizeof(struct hdlc_header)); in ppp_rx()
697 dev->hard_header_len = sizeof(struct hdlc_header); in ppp_ioctl()