win32 fix

This commit is contained in:
Jeff Becker 2018-08-23 09:19:50 -04:00
parent 885fb3cd97
commit ee2d54d564
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -14,7 +14,7 @@ typedef struct ip_hdr
unsigned char unsigned char
ip_header_len : 4; // 4-bit header length (in 32-bit words) normally=5 ip_header_len : 4; // 4-bit header length (in 32-bit words) normally=5
// (Means 20 Bytes may be 24 also) // (Means 20 Bytes may be 24 also)
unsigned char ip_version : 4; // 4-bit IPv4 version unsigned char version : 4; // 4-bit IPv4 version
unsigned char ip_tos; // IP type of service unsigned char ip_tos; // IP type of service
unsigned short ip_total_length; // Total length unsigned short ip_total_length; // Total length
unsigned short ip_id; // Unique identifier unsigned short ip_id; // Unique identifier