00001 /****************************************************************************/ 00002 /****************************************************************************/ 00010 /****************************************************************************/ 00011 00012 #include "types.h" 00013 #include "protocols.h" 00014 00015 #ifndef PACKET_H 00016 #define PACKET_H 00017 00019 typedef struct PROTO_LL_S { 00020 PROTO protocol; 00021 BYTE *hdr; 00022 ULONG hdr_len; 00023 BYTE *payload; 00024 ULONG payload_len; 00025 BYTE *ftr; 00026 ULONG ftr_len; 00027 BOOL hasSpecials; 00028 BOOL modified; 00029 struct PROTO_LL_S *next; 00030 } PROTO_LL; 00031 00033 typedef struct PACKET_S { 00034 BYTE *packet; 00035 ULONG packet_length; 00036 BYTE *payload; 00037 ULONG payload_length; 00038 PROTO_LL *proto; 00039 PROTO nextProto; 00040 BOOL modified; 00041 } PACKET; 00042 00043 #endif /* PACKET_H */