Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wan/
Dhdlc_ppp.c56 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()
[all …]