Computer Access Technology Corporation IBTracer Verification Script Engine Manual, version 1.0
Page 28 of 35
16.2 GetBTHField()
Extracts information about BTH header field
Format : GetBTHField ( bth_fld )
Parameters:
bth_fld - BTH field identifier that can be one of the following values:
Identifier Meaning
_OPCODE
Operation Code
_SE
Solicit Event
_M
Migration State
_PAD
Length of pad
_THVER
Transport version
_P_KEY
Partition Key
_DESTQP
Destination QP
_A
Answer bit
_PSN
Packet Sequence Number
Example:
val = GetBTHField (
_DESTQP); # extract DestQP field from BTH header
16.3 GetGRHField()
Extracts information about GRH header field
Format : GetGRHField ( grh_fld )
Parameters:
grh_fld - GRH field identifier that can be one of the following values:
Identifier Meaning
_IPVER
IP Version
_TCLASS
Traffic Class
_FLOWLABEL
Flow Label
_PAYLEN
Payload length
_NXTHDR
Next Header
_HOPLMT
Hop Limit
_SGID_0_3
Source GID (bytes 0-3)
_SGID_4_7
Source GID (bytes 4-7)
_SGID_8_11
Source GID (bytes 8-11)
_SGID_12_15
Source GID (bytes 12-15)
Commentaires sur ces manuels