Leaked source code of windows server 2003
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.

49 lines
1.5 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990-1992 **/
  4. /********************************************************************/
  5. /* :ts=4 */
  6. //** ARPINFO.H - Information definitions for features specific to ARP.
  7. //
  8. // This file contains all of the definitions for ARP information that is
  9. // not part of the standard MIB (i.e. ProxyARP). The objects defines in
  10. // this file are all in the INFO_CLASS_IMPLEMENTATION class.
  11. #ifndef ARPINFO_INCLUDED
  12. #define ARPINFO_INCLUDED
  13. #ifndef CTE_TYPEDEFS_DEFINED
  14. #define CTE_TYPEDEFS_DEFINED
  15. typedef unsigned long ulong;
  16. typedef unsigned short ushort;
  17. typedef unsigned char uchar;
  18. typedef unsigned int uint;
  19. #endif // CTE_TYPEDEFS_DEFINED
  20. //* Structure of a proxy ARP entry.
  21. typedef struct ProxyArpEntry {
  22. ulong pae_status; // Status of the entry.
  23. ulong pae_addr; // Proxy arp address.
  24. ulong pae_mask; // Mask to use for this address.
  25. } ProxyArpEntry;
  26. #define PAE_STATUS_VALID 1 // The P-ARP entry is valid.
  27. #define PAE_STATUS_INVALID 2 // The P-ARP entry is invalid.
  28. #define AT_ARP_PARP_COUNT_ID 1 // ID to use for finding the
  29. // number of proxy ARP entries
  30. // available.
  31. #define AT_ARP_PARP_ENTRY_ID 0x101 // ID to use for querying/setting
  32. // proxy ARP entries.
  33. #endif // ARPINFO_INCLUDED
  34.