Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PEthSocket::Frame Struct Reference

#include <ethsock.h>

List of all members.


Detailed Description

An ethernet MAC frame.

Definition at line 163 of file ethsock.h.


Public Member Functions

void Parse (WORD &type, BYTE *&payload, PINDEX &length)

Public Attributes

union {
   struct {
      BYTE   payload [1500]
      WORD   type
   }   ether
   struct {
      BYTE   ctrl
      BYTE   dsap
      WORD   length
      BYTE   oui [3]
      BYTE   payload [1492]
      BYTE   ssap
      WORD   type
   }   snap
}; 
Address dst_addr
Address src_addr

The documentation for this struct was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index