mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 19:41:57 +00:00
33 lines
580 B
C
33 lines
580 B
C
|
|
||
|
#ifndef _NETTYPES_
|
||
|
#define _NETTYPES_
|
||
|
|
||
|
#define HARDWARE_ADDRESS_LENGTH 6
|
||
|
#define NETMAN_VARTYPE_ULONG 0
|
||
|
#define NETMAN_VARTYPE_HARDWARE_ADDRESS 1
|
||
|
#define NETMAN_VARTYPE_STRING 2
|
||
|
|
||
|
|
||
|
typedef ULONG OFFSET;
|
||
|
|
||
|
typedef struct _FLAT_STRING
|
||
|
{
|
||
|
SHORT MaximumLength;
|
||
|
SHORT Length;
|
||
|
char Buffer [1];
|
||
|
} FLAT_STRING, *PFLAT_STRING;
|
||
|
|
||
|
|
||
|
typedef struct _NETWORK_NAME
|
||
|
{
|
||
|
FLAT_STRING Name;
|
||
|
} NETWORK_NAME, *PNETWORK_NAME;
|
||
|
|
||
|
typedef struct _HARDWARE_ADDRESS
|
||
|
{
|
||
|
UCHAR Address [HARDWARE_ADDRESS_LENGTH];
|
||
|
} HARDWARE_ADDRESS, *PHARDWARE_ADDRESS;
|
||
|
|
||
|
#endif
|
||
|
|