ReactOS 0.4.15-dev-7942-gd23573b
ndiswan.h File Reference

Go to the source code of this file.

Classes

struct  _NDIS_WAN_INFO
 
struct  _NDIS_WAN_GET_LINK_INFO
 
struct  _NDIS_WAN_SET_LINK_INFO
 
struct  _NDIS_WAN_GET_BRIDGE_INFO
 
struct  _NDIS_WAN_SET_BRIDGE_INFO
 
struct  _NDIS_WAN_COMPRESS_INFO
 
struct  _NDIS_WAN_GET_COMP_INFO
 
struct  _NDIS_WAN_SET_COMP_INFO
 
struct  _NDIS_WAN_GET_STATS_INFO
 
struct  _NDIS_MAC_LINE_UP
 
struct  _NDIS_MAC_LINE_DOWN
 
struct  _NDIS_MAC_FRAGMENT
 
struct  _NDIS_WAN_CO_INFO
 
struct  _NDIS_WAN_CO_GET_LINK_INFO
 
struct  _NDIS_WAN_CO_SET_LINK_INFO
 
struct  _NDIS_WAN_CO_GET_COMP_INFO
 
struct  _NDIS_WAN_CO_SET_COMP_INFO
 
struct  _NDIS_WAN_CO_GET_STATS_INFO
 
struct  _NDIS_WAN_CO_FRAGMENT
 
struct  _WAN_CO_LINKPARAMS
 
struct  _WAN_CO_MTULINKPARAMS
 

Macros

#define _NDIS_WAN_
 
#define NDIS_USE_WAN_WRAPPER   0x00000001
 
#define NDIS_STATUS_TAPI_INDICATION   ((NDIS_STATUS)0x40010080L)
 
#define RAS_FRAMING   0x00000001
 
#define RAS_COMPRESSION   0x00000002
 
#define ARAP_V1_FRAMING   0x00000004
 
#define ARAP_V2_FRAMING   0x00000008
 
#define ARAP_FRAMING   (ARAP_V1_FRAMING | ARAP_V2_FRAMING)
 
#define PPP_MULTILINK_FRAMING   0x00000010
 
#define PPP_SHORT_SEQUENCE_HDR_FORMAT   0x00000020
 
#define PPP_MC_MULTILINK_FRAMING   0x00000040
 
#define PPP_FRAMING   0x00000100
 
#define PPP_COMPRESS_ADDRESS_CONTROL   0x00000200
 
#define PPP_COMPRESS_PROTOCOL_FIELD   0x00000400
 
#define PPP_ACCM_SUPPORTED   0x00000800
 
#define SLIP_FRAMING   0x00001000
 
#define SLIP_VJ_COMPRESSION   0x00002000
 
#define SLIP_VJ_AUTODETECT   0x00004000
 
#define MEDIA_NRZ_ENCODING   0x00010000
 
#define MEDIA_NRZI_ENCODING   0x00020000
 
#define MEDIA_NLPID   0x00040000
 
#define RFC_1356_FRAMING   0x00100000
 
#define RFC_1483_FRAMING   0x00200000
 
#define RFC_1490_FRAMING   0x00400000
 
#define LLC_ENCAPSULATION   0x00800000
 
#define SHIVA_FRAMING   0x01000000
 
#define NBF_PRESERVE_MAC_ADDRESS   0x01000000
 
#define PASS_THROUGH_MODE   0x10000000
 
#define RAW_PASS_THROUGH_MODE   0x20000000
 
#define TAPI_PROVIDER   0x80000000
 
#define BRIDGING_FLAG_LANFCS   0x00000001
 
#define BRIDGING_FLAG_LANID   0x00000002
 
#define BRIDGING_FLAG_PADDING   0x00000004
 
#define BRIDGING_TINYGRAM   0x00000001
 
#define BRIDGING_LANID   0x00000002
 
#define BRIDGING_NO_SPANNING_TREE   0x00000004
 
#define BRIDGING_8021D_SPANNING_TREE   0x00000008
 
#define BRIDGING_8021G_SPANNING_TREE   0x00000010
 
#define BRIDGING_SOURCE_ROUTING   0x00000020
 
#define BRIDGING_DEC_LANBRIDGE   0x00000040
 
#define BRIDGING_TYPE_RESERVED   0x00000001
 
#define BRIDGING_TYPE_8023_CANON   0x00000002
 
#define BRIDGING_TYPE_8024_NO_CANON   0x00000004
 
#define BRIDGING_TYPE_8025_NO_CANON   0x00000008
 
#define BRIDGING_TYPE_FDDI_NO_CANON   0x00000010
 
#define BRIDGING_TYPE_8024_CANON   0x00000400
 
#define BRIDGING_TYPE_8025_CANON   0x00000800
 
#define BRIDGING_TYPE_FDDI_CANON   0x00001000
 
#define NDISWAN_COMPRESSION   0x00000001
 
#define NDISWAN_ENCRYPTION   0x00000010
 
#define NDISWAN_40_ENCRYPTION   0x00000020
 
#define NDISWAN_128_ENCRYPTION   0x00000040
 
#define NDISWAN_56_ENCRYPTION   0x00000080
 
#define NDISWAN_HISTORY_LESS   0x01000000
 
#define COMPTYPE_OUI   0
 
#define COMPTYPE_NT31RAS   254
 
#define COMPTYPE_NONE   255
 
#define WAN_ERROR_CRC   ((ULONG)0x00000001)
 
#define WAN_ERROR_FRAMING   ((ULONG)0x00000002)
 
#define WAN_ERROR_HARDWAREOVERRUN   ((ULONG)0x00000004)
 
#define WAN_ERROR_BUFFEROVERRUN   ((ULONG)0x00000008)
 
#define WAN_ERROR_TIMEOUT   ((ULONG)0x00000010)
 
#define WAN_ERROR_ALIGNMENT   ((ULONG)0x00000020)
 
#define NdisMWanInitializeWrapper(NdisWrapperHandle, SystemSpecific1, SystemSpecific2, SystemSpecific3)
 

Typedefs

typedef struct _NDIS_WAN_INFO NDIS_WAN_INFO
 
typedef struct _NDIS_WAN_INFOPNDIS_WAN_INFO
 
typedef struct _NDIS_WAN_GET_LINK_INFO NDIS_WAN_GET_LINK_INFO
 
typedef struct _NDIS_WAN_GET_LINK_INFOPNDIS_WAN_GET_LINK_INFO
 
typedef struct _NDIS_WAN_SET_LINK_INFO NDIS_WAN_SET_LINK_INFO
 
typedef struct _NDIS_WAN_SET_LINK_INFOPNDIS_WAN_SET_LINK_INFO
 
typedef struct _NDIS_WAN_GET_BRIDGE_INFO NDIS_WAN_GET_BRIDGE_INFO
 
typedef struct _NDIS_WAN_GET_BRIDGE_INFOPNDIS_WAN_GET_BRIDGE_INFO
 
typedef struct _NDIS_WAN_SET_BRIDGE_INFO NDIS_WAN_SET_BRIDGE_INFO
 
typedef struct _NDIS_WAN_SET_BRIDGE_INFOPNDIS_WAN_SET_BRIDGE_INFO
 
typedef struct _NDIS_WAN_COMPRESS_INFO NDIS_WAN_COMPRESS_INFO
 
typedef struct _NDIS_WAN_COMPRESS_INFOPNDIS_WAN_COMPRESS_INFO
 
typedef struct _NDIS_WAN_GET_COMP_INFO NDIS_WAN_GET_COMP_INFO
 
typedef struct _NDIS_WAN_GET_COMP_INFOPNDIS_WAN_GET_COMP_INFO
 
typedef struct _NDIS_WAN_SET_COMP_INFO NDIS_WAN_SET_COMP_INFO
 
typedef struct _NDIS_WAN_SET_COMP_INFOPNDIS_WAN_SET_COMP_INFO
 
typedef struct _NDIS_WAN_GET_STATS_INFO NDIS_WAN_GET_STATS_INFO
 
typedef struct _NDIS_WAN_GET_STATS_INFOPNDIS_WAN_GET_STATS_INFO
 
typedef struct _NDIS_MAC_LINE_UP NDIS_MAC_LINE_UP
 
typedef struct _NDIS_MAC_LINE_UPPNDIS_MAC_LINE_UP
 
typedef struct _NDIS_MAC_LINE_DOWN NDIS_MAC_LINE_DOWN
 
typedef struct _NDIS_MAC_LINE_DOWNPNDIS_MAC_LINE_DOWN
 
typedef struct _NDIS_MAC_FRAGMENT NDIS_MAC_FRAGMENT
 
typedef struct _NDIS_MAC_FRAGMENTPNDIS_MAC_FRAGMENT
 
typedef struct _NDIS_WAN_CO_INFO NDIS_WAN_CO_INFO
 
typedef struct _NDIS_WAN_CO_INFOPNDIS_WAN_CO_INFO
 
typedef struct _NDIS_WAN_CO_GET_LINK_INFO NDIS_WAN_CO_GET_LINK_INFO
 
typedef struct _NDIS_WAN_CO_GET_LINK_INFOPNDIS_WAN_CO_GET_LINK_INFO
 
typedef struct _NDIS_WAN_CO_SET_LINK_INFO NDIS_WAN_CO_SET_LINK_INFO
 
typedef struct _NDIS_WAN_CO_SET_LINK_INFOPNDIS_WAN_CO_SET_LINK_INFO
 
typedef struct _NDIS_WAN_CO_GET_COMP_INFO NDIS_WAN_CO_GET_COMP_INFO
 
typedef struct _NDIS_WAN_CO_GET_COMP_INFOPNDIS_WAN_CO_GET_COMP_INFO
 
typedef struct _NDIS_WAN_CO_SET_COMP_INFO NDIS_WAN_CO_SET_COMP_INFO
 
typedef struct _NDIS_WAN_CO_SET_COMP_INFOPNDIS_WAN_CO_SET_COMP_INFO
 
typedef struct _NDIS_WAN_CO_GET_STATS_INFO NDIS_WAN_CO_GET_STATS_INFO
 
typedef struct _NDIS_WAN_CO_GET_STATS_INFOPNDIS_WAN_CO_GET_STATS_INFO
 
typedef struct _NDIS_WAN_CO_FRAGMENT NDIS_WAN_CO_FRAGMENT
 
typedef struct _NDIS_WAN_CO_FRAGMENTPNDIS_WAN_CO_FRAGMENT
 
typedef struct _WAN_CO_LINKPARAMS WAN_CO_LINKPARAMS
 
typedef struct _WAN_CO_LINKPARAMSPWAN_CO_LINKPARAMS
 
typedef struct _WAN_CO_MTULINKPARAMS WAN_CO_MTULINKPARAMS
 
typedef struct _WAN_CO_MTULINKPARAMSPWAN_CO_MTULINKPARAMS
 

Macro Definition Documentation

◆ _NDIS_WAN_

#define _NDIS_WAN_

Definition at line 26 of file ndiswan.h.

◆ ARAP_FRAMING

#define ARAP_FRAMING   (ARAP_V1_FRAMING | ARAP_V2_FRAMING)

Definition at line 42 of file ndiswan.h.

◆ ARAP_V1_FRAMING

#define ARAP_V1_FRAMING   0x00000004

Definition at line 40 of file ndiswan.h.

◆ ARAP_V2_FRAMING

#define ARAP_V2_FRAMING   0x00000008

Definition at line 41 of file ndiswan.h.

◆ BRIDGING_8021D_SPANNING_TREE

#define BRIDGING_8021D_SPANNING_TREE   0x00000008

Definition at line 81 of file ndiswan.h.

◆ BRIDGING_8021G_SPANNING_TREE

#define BRIDGING_8021G_SPANNING_TREE   0x00000010

Definition at line 82 of file ndiswan.h.

◆ BRIDGING_DEC_LANBRIDGE

#define BRIDGING_DEC_LANBRIDGE   0x00000040

Definition at line 84 of file ndiswan.h.

◆ BRIDGING_FLAG_LANFCS

#define BRIDGING_FLAG_LANFCS   0x00000001

Definition at line 74 of file ndiswan.h.

◆ BRIDGING_FLAG_LANID

#define BRIDGING_FLAG_LANID   0x00000002

Definition at line 75 of file ndiswan.h.

◆ BRIDGING_FLAG_PADDING

#define BRIDGING_FLAG_PADDING   0x00000004

Definition at line 76 of file ndiswan.h.

◆ BRIDGING_LANID

#define BRIDGING_LANID   0x00000002

Definition at line 79 of file ndiswan.h.

◆ BRIDGING_NO_SPANNING_TREE

#define BRIDGING_NO_SPANNING_TREE   0x00000004

Definition at line 80 of file ndiswan.h.

◆ BRIDGING_SOURCE_ROUTING

#define BRIDGING_SOURCE_ROUTING   0x00000020

Definition at line 83 of file ndiswan.h.

◆ BRIDGING_TINYGRAM

#define BRIDGING_TINYGRAM   0x00000001

Definition at line 78 of file ndiswan.h.

◆ BRIDGING_TYPE_8023_CANON

#define BRIDGING_TYPE_8023_CANON   0x00000002

Definition at line 87 of file ndiswan.h.

◆ BRIDGING_TYPE_8024_CANON

#define BRIDGING_TYPE_8024_CANON   0x00000400

Definition at line 91 of file ndiswan.h.

◆ BRIDGING_TYPE_8024_NO_CANON

#define BRIDGING_TYPE_8024_NO_CANON   0x00000004

Definition at line 88 of file ndiswan.h.

◆ BRIDGING_TYPE_8025_CANON

#define BRIDGING_TYPE_8025_CANON   0x00000800

Definition at line 92 of file ndiswan.h.

◆ BRIDGING_TYPE_8025_NO_CANON

#define BRIDGING_TYPE_8025_NO_CANON   0x00000008

Definition at line 89 of file ndiswan.h.

◆ BRIDGING_TYPE_FDDI_CANON

#define BRIDGING_TYPE_FDDI_CANON   0x00001000

Definition at line 93 of file ndiswan.h.

◆ BRIDGING_TYPE_FDDI_NO_CANON

#define BRIDGING_TYPE_FDDI_NO_CANON   0x00000010

Definition at line 90 of file ndiswan.h.

◆ BRIDGING_TYPE_RESERVED

#define BRIDGING_TYPE_RESERVED   0x00000001

Definition at line 86 of file ndiswan.h.

◆ COMPTYPE_NONE

#define COMPTYPE_NONE   255

Definition at line 106 of file ndiswan.h.

◆ COMPTYPE_NT31RAS

#define COMPTYPE_NT31RAS   254

Definition at line 105 of file ndiswan.h.

◆ COMPTYPE_OUI

#define COMPTYPE_OUI   0

Definition at line 104 of file ndiswan.h.

◆ LLC_ENCAPSULATION

#define LLC_ENCAPSULATION   0x00800000

Definition at line 64 of file ndiswan.h.

◆ MEDIA_NLPID

#define MEDIA_NLPID   0x00040000

Definition at line 59 of file ndiswan.h.

◆ MEDIA_NRZ_ENCODING

#define MEDIA_NRZ_ENCODING   0x00010000

Definition at line 57 of file ndiswan.h.

◆ MEDIA_NRZI_ENCODING

#define MEDIA_NRZI_ENCODING   0x00020000

Definition at line 58 of file ndiswan.h.

◆ NBF_PRESERVE_MAC_ADDRESS

#define NBF_PRESERVE_MAC_ADDRESS   0x01000000

Definition at line 67 of file ndiswan.h.

◆ NDIS_STATUS_TAPI_INDICATION

#define NDIS_STATUS_TAPI_INDICATION   ((NDIS_STATUS)0x40010080L)

Definition at line 34 of file ndiswan.h.

◆ NDIS_USE_WAN_WRAPPER

#define NDIS_USE_WAN_WRAPPER   0x00000001

Definition at line 32 of file ndiswan.h.

◆ NdisMWanInitializeWrapper

#define NdisMWanInitializeWrapper (   NdisWrapperHandle,
  SystemSpecific1,
  SystemSpecific2,
  SystemSpecific3 
)
Value:
{ \
NdisMInitializeWrapper(NdisWrapperHandle, \
SystemSpecific1, \
}
_In_ PVOID _In_ PVOID SystemSpecific2
Definition: ndis.h:638
_In_ PVOID _In_ PVOID _In_ PVOID SystemSpecific3
Definition: ndis.h:639

Definition at line 115 of file ndiswan.h.

◆ NDISWAN_128_ENCRYPTION

#define NDISWAN_128_ENCRYPTION   0x00000040

Definition at line 99 of file ndiswan.h.

◆ NDISWAN_40_ENCRYPTION

#define NDISWAN_40_ENCRYPTION   0x00000020

Definition at line 98 of file ndiswan.h.

◆ NDISWAN_56_ENCRYPTION

#define NDISWAN_56_ENCRYPTION   0x00000080

Definition at line 100 of file ndiswan.h.

◆ NDISWAN_COMPRESSION

#define NDISWAN_COMPRESSION   0x00000001

Definition at line 96 of file ndiswan.h.

◆ NDISWAN_ENCRYPTION

#define NDISWAN_ENCRYPTION   0x00000010

Definition at line 97 of file ndiswan.h.

◆ NDISWAN_HISTORY_LESS

#define NDISWAN_HISTORY_LESS   0x01000000

Definition at line 101 of file ndiswan.h.

◆ PASS_THROUGH_MODE

#define PASS_THROUGH_MODE   0x10000000

Definition at line 69 of file ndiswan.h.

◆ PPP_ACCM_SUPPORTED

#define PPP_ACCM_SUPPORTED   0x00000800

Definition at line 51 of file ndiswan.h.

◆ PPP_COMPRESS_ADDRESS_CONTROL

#define PPP_COMPRESS_ADDRESS_CONTROL   0x00000200

Definition at line 49 of file ndiswan.h.

◆ PPP_COMPRESS_PROTOCOL_FIELD

#define PPP_COMPRESS_PROTOCOL_FIELD   0x00000400

Definition at line 50 of file ndiswan.h.

◆ PPP_FRAMING

#define PPP_FRAMING   0x00000100

Definition at line 48 of file ndiswan.h.

◆ PPP_MC_MULTILINK_FRAMING

#define PPP_MC_MULTILINK_FRAMING   0x00000040

Definition at line 46 of file ndiswan.h.

◆ PPP_MULTILINK_FRAMING

#define PPP_MULTILINK_FRAMING   0x00000010

Definition at line 44 of file ndiswan.h.

◆ PPP_SHORT_SEQUENCE_HDR_FORMAT

#define PPP_SHORT_SEQUENCE_HDR_FORMAT   0x00000020

Definition at line 45 of file ndiswan.h.

◆ RAS_COMPRESSION

#define RAS_COMPRESSION   0x00000002

Definition at line 38 of file ndiswan.h.

◆ RAS_FRAMING

#define RAS_FRAMING   0x00000001

Definition at line 37 of file ndiswan.h.

◆ RAW_PASS_THROUGH_MODE

#define RAW_PASS_THROUGH_MODE   0x20000000

Definition at line 70 of file ndiswan.h.

◆ RFC_1356_FRAMING

#define RFC_1356_FRAMING   0x00100000

Definition at line 61 of file ndiswan.h.

◆ RFC_1483_FRAMING

#define RFC_1483_FRAMING   0x00200000

Definition at line 62 of file ndiswan.h.

◆ RFC_1490_FRAMING

#define RFC_1490_FRAMING   0x00400000

Definition at line 63 of file ndiswan.h.

◆ SHIVA_FRAMING

#define SHIVA_FRAMING   0x01000000

Definition at line 66 of file ndiswan.h.

◆ SLIP_FRAMING

#define SLIP_FRAMING   0x00001000

Definition at line 53 of file ndiswan.h.

◆ SLIP_VJ_AUTODETECT

#define SLIP_VJ_AUTODETECT   0x00004000

Definition at line 55 of file ndiswan.h.

◆ SLIP_VJ_COMPRESSION

#define SLIP_VJ_COMPRESSION   0x00002000

Definition at line 54 of file ndiswan.h.

◆ TAPI_PROVIDER

#define TAPI_PROVIDER   0x80000000

Definition at line 72 of file ndiswan.h.

◆ WAN_ERROR_ALIGNMENT

#define WAN_ERROR_ALIGNMENT   ((ULONG)0x00000020)

Definition at line 113 of file ndiswan.h.

◆ WAN_ERROR_BUFFEROVERRUN

#define WAN_ERROR_BUFFEROVERRUN   ((ULONG)0x00000008)

Definition at line 111 of file ndiswan.h.

◆ WAN_ERROR_CRC

#define WAN_ERROR_CRC   ((ULONG)0x00000001)

Definition at line 108 of file ndiswan.h.

◆ WAN_ERROR_FRAMING

#define WAN_ERROR_FRAMING   ((ULONG)0x00000002)

Definition at line 109 of file ndiswan.h.

◆ WAN_ERROR_HARDWAREOVERRUN

#define WAN_ERROR_HARDWAREOVERRUN   ((ULONG)0x00000004)

Definition at line 110 of file ndiswan.h.

◆ WAN_ERROR_TIMEOUT

#define WAN_ERROR_TIMEOUT   ((ULONG)0x00000010)

Definition at line 112 of file ndiswan.h.

Typedef Documentation

◆ NDIS_MAC_FRAGMENT

◆ NDIS_MAC_LINE_DOWN

◆ NDIS_MAC_LINE_UP

◆ NDIS_WAN_CO_FRAGMENT

◆ NDIS_WAN_CO_GET_COMP_INFO

◆ NDIS_WAN_CO_GET_LINK_INFO

◆ NDIS_WAN_CO_GET_STATS_INFO

◆ NDIS_WAN_CO_INFO

◆ NDIS_WAN_CO_SET_COMP_INFO

◆ NDIS_WAN_CO_SET_LINK_INFO

◆ NDIS_WAN_COMPRESS_INFO

◆ NDIS_WAN_GET_BRIDGE_INFO

◆ NDIS_WAN_GET_COMP_INFO

◆ NDIS_WAN_GET_LINK_INFO

◆ NDIS_WAN_GET_STATS_INFO

◆ NDIS_WAN_INFO

◆ NDIS_WAN_SET_BRIDGE_INFO

◆ NDIS_WAN_SET_COMP_INFO

◆ NDIS_WAN_SET_LINK_INFO

◆ PNDIS_MAC_FRAGMENT

◆ PNDIS_MAC_LINE_DOWN

◆ PNDIS_MAC_LINE_UP

◆ PNDIS_WAN_CO_FRAGMENT

◆ PNDIS_WAN_CO_GET_COMP_INFO

◆ PNDIS_WAN_CO_GET_LINK_INFO

◆ PNDIS_WAN_CO_GET_STATS_INFO

◆ PNDIS_WAN_CO_INFO

◆ PNDIS_WAN_CO_SET_COMP_INFO

◆ PNDIS_WAN_CO_SET_LINK_INFO

◆ PNDIS_WAN_COMPRESS_INFO

◆ PNDIS_WAN_GET_BRIDGE_INFO

◆ PNDIS_WAN_GET_COMP_INFO

◆ PNDIS_WAN_GET_LINK_INFO

◆ PNDIS_WAN_GET_STATS_INFO

◆ PNDIS_WAN_INFO

◆ PNDIS_WAN_SET_BRIDGE_INFO

◆ PNDIS_WAN_SET_COMP_INFO

◆ PNDIS_WAN_SET_LINK_INFO

◆ PWAN_CO_LINKPARAMS

◆ PWAN_CO_MTULINKPARAMS

◆ WAN_CO_LINKPARAMS

◆ WAN_CO_MTULINKPARAMS