Skip to main content

Appendix on Numbers

The IEEE specifies numbers as bit strings with the least significant bit first, or bit-wise little-endian order. The Internet protocols are documented in bit-wise big-endian order. This may cause some confusion about the proper values to use for numbers. Here are the conversions for some numbers of interest.

       Number           IEEE        Internet    Internet
Binary Binary Decimal

UI 11000000 00000011 3
SAP for SNAP 01010101 10101010 170
Global SAP 11111111 11111111 255
Null SAP 00000000 00000000 0
XID 11110101 10101111 175
XID Poll/Final 11111101 10111111 191
XID Info 129.1.0
TEST 11000111 11100011 227
TEST Poll/Final 11001111 11110011 243