diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/inc/icmpif.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/inc/icmpif.h')
-rw-r--r-- | private/inc/icmpif.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/private/inc/icmpif.h b/private/inc/icmpif.h new file mode 100644 index 000000000..5938cba58 --- /dev/null +++ b/private/inc/icmpif.h @@ -0,0 +1,36 @@ +/********************************************************************/ +/** Microsoft LAN Manager **/ +/** Copyright(c) Microsoft Corp., 1990-1992 **/ +/********************************************************************/ +/* :ts=4 */ + +//** ICMPIF.H - ICMP echo private kernel/user request interface +// + +#ifndef ICMPIF_INCLUDED +#define ICMPIF_INCLUDED + + +// +// Common ICMP request structure +// +typedef struct icmp_echo_request { + unsigned long Address; // Destination address + unsigned long Timeout; // Request timeout + unsigned short DataOffset; // Echo data + unsigned short DataSize; // Echo data size + unsigned char OptionsValid; // nonzero if options data is valid. + unsigned char Ttl; // IP header Time To Live + unsigned char Tos; // IP header Type of Service + unsigned char Flags; // IP header flags + unsigned short OptionsOffset; // IP options data + unsigned char OptionsSize; // IP options data size + unsigned char Padding; // 32-bit alignment padding +} ICMP_ECHO_REQUEST, *PICMP_ECHO_REQUEST; + + +// +// The reply structure is defined in ipexport.h +// + +#endif // ICMPIF_INCLUDED |