please dont rip this site Prev Next

LLC_DIR_OPEN_DIRECT_PARMS Overview  Group

The LLC_DIR_OPEN_DIRECT_PARMS structure is the DLC parameter table for the LLC_DIR_OPEN_DIRECT command. You pass a pointer to this structure using the pParameterTable member of the CCB_PARMS union.

typedef struct {

    USHORT Reserved[4];

    USHORT usOpenOptions;

    USHORT usEthernetType;

    ULONG ulProtocolTypeMask;

    ULONG ulProtocolTypeMatch;

    USHORT usProtocolTypeOffset;

} LLC_DIR_OPEN_DIRECT_PARMS, *PLLC_DIR_OPEN_DIRECT_PARMS;

Members

Reserved
Reserved.

usOpenOptions

usEthernetType
Specifies an LLC_ETHERNET_TYPE value representing the type of Ethernet frame to receive. LLC_ETHERNET_TYPE is an enumerated type. The following values are defined.

Value

Meaning

LLC_ETHERNET_TYPE_DEFAULT

Use the parameter value set in the registry.

LLC_ETHERNET_TYPE_AUTO

Use automatic header type selection for links.

LLC_ETHERNET_TYPE_802_3

Always use 802.3 LAN headers.

LLC_ETHERNET_TYPE_DIX

Always use LLC on DIX SNA type.

ulProtocolTypeMask
Specifies a mask used in a bitwise AND operation with the data. The result must be equal to ulProtocolTypeMatch. Otherwise, set this parameter to zero.
ulProtocolTypeMatch
Ignored if ulProtocolTypeMask is zero.
usProtocolTypeOffset
Specifies the distance of the protocol type from the beginning of the protocol header (offset 14 in the frame header). Ignored if ulProtocolTypeMask is zero.

Remarks

After you have issued the LLC_RECEIVE command for the direct station, the application has ownership of the direct station and can receive frames .

Windows DLC differs from the IBM DLC specification in that you can receive frames of specific Ethernet types using the direct station when the usEthernetType member has a valid Ethernet type.

The ulProtoTypeMask, ulProtocolTypeMatch, and usProtocolTypeOffset members are optional. They specify the protocol type mask, match, and offset, respectively. They receive frames for a particular subprotocol type or socket. That is, the packet is received whenever the following statement is true:

(* (PULONG)((PUCHAR)pFrame + 14 + offset) & mask) == match

See Also

AcsLan, CCB_PARMS


file: /Techref/os/win/api/win32/struc/src/str09_38.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/12/4 10:37,
TOP NEW HELP FIND: 
18.191.165.149:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/Techref/os/win/api/win32/struc/src/str09_38.htm"> LLC_DIR_OPEN_DIRECT_PARMS</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .