Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/wan/
Dhdlc_ppp.c58 struct cp_header { struct
211 struct cp_header *cp; in ppp_tx_cp()
224 sizeof(struct cp_header) + magic_len + len); in ppp_tx_cp()
231 cp = (struct cp_header *)skb_put(skb, sizeof(struct cp_header)); in ppp_tx_cp()
234 cp->len = htons(sizeof(struct cp_header) + magic_len + len); in ppp_tx_cp()
246 sprintf(ptr, " %02X", skb->data[sizeof(struct cp_header) + i]); in ppp_tx_cp()
438 struct cp_header *cp; in ppp_rx()
451 cp = (struct cp_header*)skb_pull(skb, sizeof(struct hdlc_header)); in ppp_rx()
466 if (len < sizeof(struct cp_header) /* no complete CP header? */ || in ppp_rx()
469 skb_pull(skb, sizeof(struct cp_header)); in ppp_rx()
[all …]