Lines Matching refs:cp_header
56 struct cp_header { struct
208 struct cp_header *cp; in ppp_tx_cp()
221 sizeof(struct cp_header) + magic_len + len); in ppp_tx_cp()
227 cp = skb_put(skb, sizeof(struct cp_header)); in ppp_tx_cp()
230 cp->len = htons(sizeof(struct cp_header) + magic_len + len); in ppp_tx_cp()
242 sprintf(ptr, " %02X", skb->data[sizeof(struct cp_header) + i]); in ppp_tx_cp()
439 struct cp_header *cp; in ppp_rx()
467 if (len < sizeof(struct cp_header) /* no complete CP header? */ || in ppp_rx()
470 skb_pull(skb, sizeof(struct cp_header)); in ppp_rx()
471 len -= sizeof(struct cp_header); in ppp_rx()
545 len += sizeof(struct cp_header); in ppp_rx()