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/arpinfo.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/arpinfo.h')
-rw-r--r-- | private/inc/arpinfo.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/private/inc/arpinfo.h b/private/inc/arpinfo.h new file mode 100644 index 000000000..fdd1ceb35 --- /dev/null +++ b/private/inc/arpinfo.h @@ -0,0 +1,49 @@ +/********************************************************************/ +/** Microsoft LAN Manager **/ +/** Copyright(c) Microsoft Corp., 1990-1992 **/ +/********************************************************************/ +/* :ts=4 */ + +//** ARPINFO.H - Information definitions for features specific to ARP. +// +// This file contains all of the definitions for ARP information that is +// not part of the standard MIB (i.e. ProxyARP). The objects defines in +// this file are all in the INFO_CLASS_IMPLEMENTATION class. + + +#ifndef ARPINFO_INCLUDED +#define ARPINFO_INCLUDED + + +#ifndef CTE_TYPEDEFS_DEFINED +#define CTE_TYPEDEFS_DEFINED + +typedef unsigned long ulong; +typedef unsigned short ushort; +typedef unsigned char uchar; +typedef unsigned int uint; + +#endif // CTE_TYPEDEFS_DEFINED + + +//* Structure of a proxy ARP entry. + +typedef struct ProxyArpEntry { + ulong pae_status; // Status of the entry. + ulong pae_addr; // Proxy arp address. + ulong pae_mask; // Mask to use for this address. +} ProxyArpEntry; + +#define PAE_STATUS_VALID 1 // The P-ARP entry is valid. +#define PAE_STATUS_INVALID 2 // The P-ARP entry is invalid. + + +#define AT_ARP_PARP_COUNT_ID 1 // ID to use for finding the + // number of proxy ARP entries + // available. +#define AT_ARP_PARP_ENTRY_ID 0x101 // ID to use for querying/setting + // proxy ARP entries. +#endif // ARPINFO_INCLUDED + + + |