The structure of an IPX packet is identical to the structure of a Xerox Network Standard (XNS) packet. The packet consists of a 30-byte header followed by 0 to 546 bytes of data. The minimum packet size is 30 bytes (the header only); the maximum packet size is 576 bytes (the header and 546 bytes of data). The content and structure of the data portion are entirely the responsibility of the application using IPX and can take any format.
Some of the fields in the header are byte-order sensitive; the data must be sent in high-to-low order. See ``Network byte ordering'' for more information. ``Fields in an IPX packet header'' summarizes the contents of an IPX header.
Fields in an IPX packet header
|6||Destination address||ipxAddr_t structure||N/A|
|18||Source address||ipxAddr_t structure||N/A|
The application must set the ``Packet type'' and the ``Destination address'' fields to send a packet; the IPX driver sets the remaining fields. ``IPX addresses'' describes the fields in an ipxAddr_t structure and methods of obtaining destination network addresses. ``IPX packet types'' lists IPX packet types and gives brief descriptions of each.
IPX packet types
|0||Regular IPX packet type|
|1||Routing Information Packet (RIP)|
|4||Packet Exchange Packet (PEP)|
|5||Sequence Packet Exchange (SPX)|
|17||NetWare Core Protocols (NCP)|
|20||NetBIOS name packet|