PAM Programming Manual

Link-Level Interfaces
PAM Programming Manual142482
3-14
Getting an SDU (Ethernet)
zPri
PAM does not use the field.
zFiller
This is a 19-byte pad to fill out the 32-byte PDU header.
Ethernet SDU Header Format
The Ethernet SDU header formatted by this L2S primitive is defined as follows:
The fields of the Ethernet SDU header are defined as follows:
zSDU-Size
The number of bytes of buffer space required for this SDU.
zEnet-Hdr
The DIX-compatible Ethernet header is as follows:
zDest-MAC-Addr
The destination MAC address.
zSrc-MAC-Addr
The source MAC address.
zPrototype
The DIX-compatible Ethernet protocol type.
Getting an SDU (Ethernet)
This primitive is used to find and interpret the first (or next) SDU in an inbound
aggregate SDU buffer. It passes back to the application the type of PDU that it
represents, the address of the peer that issued the PDU, and an indication of the location
and size of the associated user data, if any.
def ZL2S-DDL-Enet-SDU-Hdr.
02 zSDU-Size type ZSPI-DDL-INT.
02 zEnet-Hdr type ZL2S-DDL-ENET-HDR.
end.
def ZL2S-DDL-Enet-Hdr.
02 zDest-MAC-Addr type ZSPI-DDL-BYTE.
occurs 6 times.
02 zSrc-MAC-Addr type ZSPI-DDL-BYTE.
occurs 6 times.
02 zPrototype type ZSPI-DDL-INT.
end.