Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/wan/
Dhdlc_cisco.c35 struct hdlc_header { struct
78 struct hdlc_header *data; in cisco_hard_header()
83 skb_push(skb, sizeof(struct hdlc_header)); in cisco_hard_header()
84 data = (struct hdlc_header*)skb->data; in cisco_hard_header()
92 return sizeof(struct hdlc_header); in cisco_hard_header()
103 skb = dev_alloc_skb(sizeof(struct hdlc_header) + in cisco_keepalive_send()
132 struct hdlc_header *data = (struct hdlc_header*)skb->data; in cisco_type_trans()
134 if (skb->len < sizeof(struct hdlc_header)) in cisco_type_trans()
145 skb_pull(skb, sizeof(struct hdlc_header)); in cisco_type_trans()
158 struct hdlc_header *data = (struct hdlc_header*)skb->data; in cisco_rx()
[all …]
Dhdlc_ppp.c52 struct hdlc_header { struct
144 struct hdlc_header *data = (struct hdlc_header*)skb->data; in ppp_type_trans()
146 if (skb->len < sizeof(struct hdlc_header)) in ppp_type_trans()
154 skb_pull(skb, sizeof(struct hdlc_header)); in ppp_type_trans()
158 skb_pull(skb, sizeof(struct hdlc_header)); in ppp_type_trans()
171 struct hdlc_header *data; in ppp_hard_header()
176 skb_push(skb, sizeof(struct hdlc_header)); in ppp_hard_header()
177 data = (struct hdlc_header*)skb->data; in ppp_hard_header()
196 return sizeof(struct hdlc_header); in ppp_hard_header()
223 skb = dev_alloc_skb(sizeof(struct hdlc_header) + in ppp_tx_cp()
[all …]