please dont rip this site Prev Next

LLC_BUFFER Overview  Group

The LLC_BUFFER union represents the buffer for received data. Specify this structure in the LLC_RECEIVE_PARMS structure.

typedef union _LLC_BUFFER LLC_BUFFER, *PLLC_BUFFER;

union _LLC_BUFFER {



    PLLC_BUFFER pNext;



    LLC_NEXT_BUFFER Next;



    struct LlcNextBuffer {

        LLC_NEXT_BUFFER Header;

        UCHAR auchData[];

    } Buffer;



    LLC_NOT_CONTIGUOUS_BUFFER NotContiguous;



    struct {

        LLC_NOT_CONTIGUOUS_BUFFER Header;

        UCHAR auchData[];

    } NotCont;



    LLC_CONTIGUOUS_BUFFER Contiguous;



    struct {

        LLC_CONTIGUOUS_BUFFER Header;

        UCHAR auchData[];

    } Cont;



};

Members

pNext
Specifies the address of an LLC_BUFFER structure representing the next buffer.
Next
The LLC_NEXT_BUFFER structure representing the next buffer.
Header
The LLC_NEXT_BUFFER structure representing the header.
auchData
Specifies the address of the data.
NotContiguous
The LLC_NOT_CONTIGUOUS_BUFFER structure representing the next buffer.
Header
The LLC_NOT_CONTIGUOUS_BUFFER structure representing the header.
auchData
Specifies the address of the data.
Contiguous
The LLC_CONTIGUOUS_BUFFER structure representing the next buffer.
Header
The LLC_CONTIGUOUS_BUFFER structure representing the header.
auchData
Specifies the address of the data.

Remarks

Media Access Control (MAC) frames consist of a LAN header followed by a data field. Non-MAC frames consist of a LAN header, a DLC header, and a data field. The application provides the data in the data field. The DLC header varies depending on the frame type: frames used by Type 2 protocols have a 4-byte DLC header and frames used by Type 1 protocols have a 3-byte header. The frame type also determines what information the application provides and how it is provided, as shown in the following table.

Frame Type

Description

MAC Frames

The application provides the complete LAN header and the data field. The source address in the LAN header is overwritten with the address used by the adapter.

I-Frames

The application provides only the data. The information used to build the headers is provided by the LLC_DLC_OPEN_STATION and LLC_DLC_CONNECT_STATION commands.

Direct Frames

The application provides the LAN header and the data in its own buffers. It provides the information to build the headers with one of the LLC_TRANSMIT commands. The command overwrites the source address in the LAN header with the address used by the adapter.

When you use more than one buffer to receive a frame, the format for the first buffer is different from the format of the other buffers used to contain the frame.

See Also

AcsLan, LLC_CONTIGUOUS_BUFFER, LLC_NEXT_BUFFER, LLC_NOT_CONTIGUOUS_BUFFER, LLC_RECEIVE_PARMS 


file: /Techref/os/win/api/win32/struc/src/str09_29.htm, 5KB, , updated: 2000/4/7 11:20, local time: 2024/11/14 10:09,
TOP NEW HELP FIND: 
18.222.116.93: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://linistepper.com/Techref/os/win/api/win32/struc/src/str09_29.htm"> LLC_BUFFER</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?