Home
last modified time | relevance | path

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

/components/net/lwip/lwip-2.1.2/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
823 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
841 if (fcs) { in pppos_output_append()
842 *fcs = PPP_FCS(*fcs, c); in pppos_output_append()
857 pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs) in pppos_output_last() argument
862 err = pppos_output_append(pppos, err, nb, ~(*fcs) & 0xFF, 1, NULL); in pppos_output_last()
863 err = pppos_output_append(pppos, err, nb, (~(*fcs) >> 8) & 0xFF, 1, NULL); in pppos_output_last()
/components/net/lwip/lwip-2.0.3/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
803 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
821 if (fcs) { in pppos_output_append()
822 *fcs = PPP_FCS(*fcs, c); in pppos_output_append()
837 pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs) in pppos_output_last() argument
842 err = pppos_output_append(pppos, err, nb, ~(*fcs) & 0xFF, 1, NULL); in pppos_output_last()
843 err = pppos_output_append(pppos, err, nb, (~(*fcs) >> 8) & 0xFF, 1, NULL); in pppos_output_last()
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dppp_impl.h155 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument

Completed in 9 milliseconds