Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.3 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990-1992 **/
  4. /********************************************************************/
  5. /* :ts=4 */
  6. //** ICMPIF.H - ICMP echo private kernel/user request interface
  7. //
  8. #ifndef ICMPIF_INCLUDED
  9. #define ICMPIF_INCLUDED
  10. //
  11. // Common ICMP request structure
  12. //
  13. typedef struct icmp_echo_request {
  14. unsigned long Address; // Destination address
  15. unsigned long Timeout; // Request timeout
  16. unsigned short DataOffset; // Echo data
  17. unsigned short DataSize; // Echo data size
  18. unsigned char OptionsValid; // nonzero if options data is valid.
  19. unsigned char Ttl; // IP header Time To Live
  20. unsigned char Tos; // IP header Type of Service
  21. unsigned char Flags; // IP header flags
  22. unsigned short OptionsOffset; // IP options data
  23. unsigned char OptionsSize; // IP options data size
  24. unsigned char Padding; // 32-bit alignment padding
  25. } ICMP_ECHO_REQUEST, *PICMP_ECHO_REQUEST;
  26. //
  27. // The reply structure is defined in ipexport.h
  28. //
  29. #endif // ICMPIF_INCLUDED
  30.