Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wan/
Dhdlc_cisco.c31 struct hdlc_header { struct
70 struct hdlc_header *data; in cisco_hard_header()
75 skb_push(skb, sizeof(struct hdlc_header)); in cisco_hard_header()
76 data = (struct hdlc_header *)skb->data; in cisco_hard_header()
84 return sizeof(struct hdlc_header); in cisco_hard_header()
93 skb = dev_alloc_skb(sizeof(struct hdlc_header) + in cisco_keepalive_send()
120 struct hdlc_header *data = (struct hdlc_header *)skb->data; in cisco_type_trans()
122 if (skb->len < sizeof(struct hdlc_header)) in cisco_type_trans()
133 skb_pull(skb, sizeof(struct hdlc_header)); in cisco_type_trans()
145 struct hdlc_header *data = (struct hdlc_header *)skb->data; in cisco_rx()
[all …]
Dhdlc_ppp.c50 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()
[all …]