From b97306f8dc5e4f93bd3e6e5500a8b8338d6249a2 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 16 May 2015 17:34:54 +0000 Subject: cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@13625 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Ping/src/rawping.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'plugins/Ping/src/rawping.h') diff --git a/plugins/Ping/src/rawping.h b/plugins/Ping/src/rawping.h index f5d9f877f5..59751d8c7a 100644 --- a/plugins/Ping/src/rawping.h +++ b/plugins/Ping/src/rawping.h @@ -20,26 +20,26 @@ // The IP header struct IPHeader { - BYTE h_len:4; // Length of the header in dwords - BYTE version:4; // Version of IP - BYTE tos; // Type of service - USHORT total_len; // Length of the packet in dwords - USHORT ident; // unique identifier - USHORT flags; // Flags - BYTE ttl; // Time to live - BYTE proto; // Protocol number (TCP, UDP etc) - USHORT checksum; // IP checksum - ULONG source_ip; - ULONG dest_ip; + BYTE h_len : 4; // Length of the header in dwords + BYTE version : 4; // Version of IP + BYTE tos; // Type of service + USHORT total_len; // Length of the packet in dwords + USHORT ident; // unique identifier + USHORT flags; // Flags + BYTE ttl; // Time to live + BYTE proto; // Protocol number (TCP, UDP etc) + USHORT checksum; // IP checksum + ULONG source_ip; + ULONG dest_ip; }; // ICMP header struct ICMPHeader { - BYTE type; // ICMP packet type - BYTE code; // Type sub code - USHORT checksum; - USHORT id; - USHORT seq; + BYTE type; // ICMP packet type + BYTE code; // Type sub code + USHORT checksum; + USHORT id; + USHORT seq; }; #pragma pack() -- cgit v1.2.3