HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_LS
Chapter 3296
Appendix A, “Common Return Codes,” lists further secondary return
codes associated with AP_STATE_CHECK, which are common to all NOF
verbs.
Returned Parameters: Other Conditions
Appendix A, “Common Return Codes,” lists further combinations of
primary and secondary return codes that are common to all NOF verbs.
Bit Ordering in MAC Addresses
Ethernet LANs use a different representation of MAC addresses from
that used by Token Ring and FDDI; the order of the bits in each byte of
the address on Ethernet is the reverse of the order on Token Ring.
Normally, the local and remote nodes are on the same LAN, or on LANs
of the same type connected by a bridge; in this case, they will both use
the same representation of the MAC address, and no conversion is
required.
If the two nodes are on LANs of different types (one Ethernet, the other
Token Ring or FDDI) connected by a bridge, you will normally need to
reverse the bit order of each byte of the address whenspecifying a remote
MAC address. To do this, take the following steps:
Step 1. List the MAC address as six bytes, each byte represented by two
hexadecimal digits.
Step 2. List the MAC address as six bytes, each byte represented by two
hexadecimal digits.
Step 3. Convert each digit as shown below:
Table 3-1
0 08 1
1 89 9
2 4A 5
3 CB D
4 2C 3
5 AD B