Home
last modified time | relevance | path

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

/lib/lwip/lwip/src/netif/ppp/
A Ddemand.c66 int fcs; variable
99 fcs = PPP_INITFCS; in demand_conf()
164 fcs = PPP_INITFCS; in demand_discard()
244 && framelen > 2 && fcs == PPP_GOODFCS) {
252 fcs = PPP_INITFCS;
269 fcs = PPP_FCS(fcs, c);
A Dpppos.c75 …t pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs);
76 static err_t pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs);
134 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
149 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ ppp_get_fcs(((fcs) ^ (c)) & 0xff)) argument
868 pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs) in pppos_output_append() argument
886 if (fcs) { in pppos_output_append()
887 *fcs = PPP_FCS(*fcs, c); in pppos_output_append()
902 pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs) in pppos_output_last() argument
907 err = pppos_output_append(pppos, err, nb, ~(*fcs) & 0xFF, 1, NULL); in pppos_output_last()
908 err = pppos_output_append(pppos, err, nb, (~(*fcs) >> 8) & 0xFF, 1, NULL); in pppos_output_last()

Completed in 12 milliseconds