Initial commit
[dsnet.git] / tools / dsnet / include / netmp.h
blob6ca218428b4d8caab5f36345f345c19c7e47df57
1 ../include/netmp.h:
2 typedef struct { /* size 2 */
3 byte code; /* bitsize 8, bitpos 0 */
4 byte result; /* bitsize 8, bitpos 8 */
5 } NETMP_HDR;
6 typedef struct { /* size 34 */
7 half reserved; /* bitsize 16, bitpos 0 */
8 byte param[32]; /* bitsize 256, bitpos 16 */
9 } NETMP_BOOTP;
10 typedef struct { /* size 4 */
11 byte pri; /* bitsize 8, bitpos 0 */
12 byte reserved; /* bitsize 8, bitpos 8 */
13 half proto; /* bitsize 16, bitpos 16 */
14 } NETMP_PROTOS;
15 typedef struct { /* size 8 */
16 NETMP_PROTOS protos; /* bitsize 32, bitpos 0 */
17 word connect_time; /* bitsize 32, bitpos 32 */
18 } NETMP_STATUS_DATA;