ISO_ADDR(3) | NetBSD Library Functions Manual | ISO_ADDR(3) |
struct iso_addr *
iso_addr(const char *cp);
char *
iso_ntoa(struct iso_addr *isoa);
Unfortunately, no universal standard exists for representing OSI network addresses.
The format employed by iso_addr() is a sequence of hexadecimal “digits” (optionally separated by periods), of the form:
Each pair of hexadecimal digits represents a byte with the leading digit indicating the higher-ordered bits. A period following an even number of bytes has no effect (but may be used to increase legibility). A period following an odd number of bytes has the effect of causing the byte of address being translated to have its higher order bits filled with zeros.
The function iso_addr() should diagnose improperly formed input, and there should be an unambiguous way to recognize this.
June 4, 1993 | NetBSD 5.99 |