Lines Matching refs:cp_header
58 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()
470 len -= sizeof(struct cp_header); in ppp_rx()
544 len += sizeof(struct cp_header); in ppp_rx()