Main Page | Data Structures | File List | Data Fields | Globals

tsCCTALK_SOCK_PKT_HDR Struct Reference

#include <cctalk-pkts.h>


Detailed Description

This is the header for any packet that traverses the cctalk socket.

This header contains a magic number field that the packet catcher will look for to signify the beginning of a packet. Once this magic number has been received the next 3 identifiers are read in. The packet size tells us how many bytes to expect in this packet. The packet version field tells what version of the packet handler we should process this packet with. Finally the last field tells what type of packet this is. The first three fields must never change as these fields provide backwards compatibility with any future version of this code.


Data Fields

unsigned long lMagicNo
unsigned long lPktSize
unsigned long lPktVersion
unsigned long lPktType


Field Documentation

unsigned long tsCCTALK_SOCK_PKT_HDR::lMagicNo
 

The packet magic number

unsigned long tsCCTALK_SOCK_PKT_HDR::lPktSize
 

The number of bytes in this packet

unsigned long tsCCTALK_SOCK_PKT_HDR::lPktType
 

This packet is of this type

unsigned long tsCCTALK_SOCK_PKT_HDR::lPktVersion
 

The version of this packet all bytes above this must never change for backwards compatibility but from this point on anything can be changed and backwards compatibility is maintained


The documentation for this struct was generated from the following file:
Generated on Thu Jan 20 16:13:23 2005 for Axis cctalk sub-system by doxygen 1.3.6