summaryrefslogtreecommitdiffstats
path: root/private/ntos/tdi/isnp/ipx/mac.h
blob: a88e77ecd42cf7eba453e231b4f7e77f313d2629 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*++

Copyright (c) 1989-1993  Microsoft Corporation

Module Name:

    mac.h

Abstract:

    This header file defines manifest constants and necessary macros for use
    by transports dealing with multiple MAC cards through the NDIS interface.

Revision History:

--*/


//
// We need this to define information about the MAC. Note that
// it is a strange structure in that the first four elements
// are for use internally by the mac.c routines, while the
// DeviceContext knows about and uses the last two.
//

typedef struct _NDIS_INFORMATION {

    NDIS_MEDIUM MediumType;
    NDIS_MEDIUM RealMediumType;
    BOOLEAN SourceRouting;
    BOOLEAN MediumAsync;
    UCHAR BroadcastMask;
    ULONG CopyLookahead;
    ULONG MacOptions;
    ULONG MinHeaderLength;
    ULONG MaxHeaderLength;

} NDIS_INFORMATION, * PNDIS_INFORMATION;


#define TR_SOURCE_ROUTE_FLAG    0x80

#define ARCNET_PROTOCOL_ID      0xFA