Lines Matching refs:hextable
427 static const char hextable[16] = "0123456789ABCDEF"; variable
574 *p++ = hextable[*ptr >> 4];
575 *p++ = hextable[*ptr++ & 0xF];
1393 end[3] = hextable[sum & 0xF]; sum >>= 4; in add_checksum()
1394 end[2] = hextable[sum & 0xF]; sum >>= 4; in add_checksum()
1395 end[1] = hextable[sum & 0xF]; sum >>= 4; in add_checksum()
1396 end[0] = hextable[sum & 0xF]; in add_checksum()
1469 *ptr++ = hextable[haddr.c[2] >> 4]; in strip_make_packet()
1470 *ptr++ = hextable[haddr.c[2] & 0xF]; in strip_make_packet()
1471 *ptr++ = hextable[haddr.c[3] >> 4]; in strip_make_packet()
1472 *ptr++ = hextable[haddr.c[3] & 0xF]; in strip_make_packet()
1474 *ptr++ = hextable[haddr.c[4] >> 4]; in strip_make_packet()
1475 *ptr++ = hextable[haddr.c[4] & 0xF]; in strip_make_packet()
1476 *ptr++ = hextable[haddr.c[5] >> 4]; in strip_make_packet()
1477 *ptr++ = hextable[haddr.c[5] & 0xF]; in strip_make_packet()