Searched refs:Crc16 (Results 1 – 1 of 1) sorted by relevance
/dragonfly/sys/netgraph7/ |
H A D | ng_pred1.c | 102 static uint16_t Crc16(uint16_t fcs, u_char *cp, int len); 411 fcs = Crc16(PPP_INITFCS, (u_char *)&lenn, 2); in ng_pred1_compress() 412 fcs = Crc16(fcs, priv->inbuf + 2, inlen); in ng_pred1_compress() 508 fcs = Crc16(PPP_INITFCS, (u_char *)&lenn, 2); in ng_pred1_decompress() 509 fcs = Crc16(fcs, priv->outbuf, len); in ng_pred1_decompress() 510 fcs = Crc16(fcs, priv->inbuf + inlen - 2, 2); in ng_pred1_decompress() 657 Crc16(uint16_t crc, u_char *cp, int len) in Crc16() function
|