B.7.1  Ethernet and 802.3 Medium (DL_CSMACD)

dl_bind_req_t

typedef struct {

    ULONG        dl_primitive;

    ULONG        dl_sap;

    ULONG        dl_max_conind;

    ushort       dl_service_mode;

    ushort       dl_conn_mgmt;

    ULONG        dl_xidtest_flg;

} dl_bind_req_t;

 

Members

dl_primitive

Must be the manifest constant DL_BIND_REQ_T

dl_sap

Specifies data link service access point (SAP), set to the 2-byte Ethernet packet type. Type 0xFFFE signifies all 802.3 packets. Type 0xFFFF signifies all NovellŪ IPX 802.3 packets. All other types are interpreted as Ethernet packets.

dl_max_conind

Ignored.

dl_service_mode

Specifies service mode; only DL_CLDLS supported.

dl_conn_mgmt

Ignored.

dl_xidtest_flg

Ignored.

DL_BIND_ACK_T

typedef struct {

    ULONG dl_primitive;

    ULONG dl_sap;

    ULONG dl_addr_length;

    ULONG dl_addr_offset;

    ULONG dl_max_connid;

    ULONG dl_xidtest_flg;

} dl_bind_ack_t;

 

Members

dl_primitive

Must be the manifest constant DL_BIND_ACK_T.

dl_sap

Specifies the SAP from the previous dl_bind_req_t structure.

dl_addr_length

Specifies length of address; always 6.

dl_addr_offset

Specifies offset to address.

dl_max_connid

Specifies maximum connection ID; always 0.

dl_xidtest_flg

Specifies flag for exchange ID test; always 0.

DL_UNITDATA_REQ_T

typedef struct {

    ULONG     dl_primitive;

    ULONG     dl_dest_addr_length;

    ULONG     dl_dest_addr_offset;

    ULONG     dl_priority;

} dl_unitdata_req_t;

 

Members

dl_primitive

Must be the manifest constant DL_UNITDATA_REQ_T

dl_dest_addr_length

Specifies length of destination address; must be 8.

dl_dest_addr_offset

Specifies offset to byte sequence below. The offset must point to a byte sequence composed of the destination media-access control address followed by the Ethernet type.

media-access control address

6 bytes

type

2 bytes

dl_priority

Specifies data link priority.

DL_UNITDATA_IND_T

typedef struct {

    ULONG     dl_primitive;

    ULONG     dl_dest_addr_length;

    ULONG     dl_dest_addr_offset;

    ULONG     dl_src_addr_length;

    ULONG     dl_src_addr_offset;

    ULONG     dl_group_address;

} dl_unitdata_ind_t;

 

Members

dl_primitive

Must be the manifest constant DL_UNITDATA_IND_T.

dl_dest_addr_length

Specifies length of destination address; always 6.

dl_dest_addr_offset

Specifies offset to destination address.

dl_src_addr_length

Specifies length of source address; always 8.

dl_src_addr_offset

Specifies offset to byte sequence below. The offset points to the byte sequence composed of the source media-access control address followed by the Ethernet type.

media-access control address

6 bytes

type

2 bytes

dl_group_address

Specifies group address; 1 if broadcast or multicast.