Lines Matching full:fcs
535 * the FCS. The address field will not be passed in ppp_input_byte()
607 LOG_DBG("Invalid FCS (0x%x)", crc); in ppp_check_fcs()
634 * fcs check above. in ppp_process_msg()
659 * FCS fields (16-bit) as the PPP L2 layer does not need in ppp_process_msg()
674 /* Remove FCS bytes (2) */ in ppp_process_msg()
761 static bool calc_fcs(struct net_pkt *pkt, uint16_t *fcs, uint16_t protocol) in calc_fcs() argument
788 *fcs = crc; in calc_fcs()
811 uint16_t fcs, escaped; in ppp_send() local
839 if (!calc_fcs(pkt, &fcs, protocol)) { in ppp_send()
861 /* Note that we do not print the first four bytes and FCS bytes at the in ppp_send()
882 escaped = htons(ppp_escape_byte(fcs, &offset)); in ppp_send()
887 escaped = htons(ppp_escape_byte(fcs >> 8, &offset)); in ppp_send()