Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

40 lines
835 B
C++

#ifndef __brloader_protocol_h
#define __brloader_protocol_h
typedef BYTE ETHERNET_ADDRESS [6];
typedef struct ETHERNET_FRAME {
ETHERNET_ADDRESS Destination;
ETHERNET_ADDRESS Source;
WORD FrameType; // in host-order
} ETHERNET_FRAME;
#define ETHERNET_FRAME_TYPE_IP 0x0800
typedef struct IP_HEADER {
BYTE x;
BYTE tos;
WORD length;
WORD identifier;
#define IP_MF 0x2000
WORD fragment;
BYTE ttl;
BYTE protocol;
WORD cksum;
DWORD src;
DWORD dest;
} IP_HEADER;
typedef IP_HEADER * LPIPHEADER;
#define IP_HEADER_MINIMUM_LEN 20
typedef struct UDP_HEADER {
WORD src_port;
WORD dest_port;
WORD length; // including this header
WORD checksum;
} UDP_HEADER;
#define UDP_HEADER_LEN 8
#endif // __brloader__protocol_h