
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
33
8.5.2 Another Example
Example
struct IPv4Header_ (MSB)
# Instructs that all short fields have MSB to LSB byte order
# when assigned values.
{
Version : 4 = 4
IHL : 4
TypeOfSrv : 8
TotalLen : 16
Identification : 16
Flags : 3
Offset : 13
TTL : 8
Protocol : 8
HdrCheckSum : 16
SourceAddr : 32
DestAddr : 32
}
Note: The Byte Order attribute applies only for fields defined inside a template and does not
affect fields specified in inherited or inserted templates.
Comentarios a estos manuales