beautypg.com

Chapter 10: transaction and packet context fields, Transaction context fields, 1394 transactions – Teledyne LeCroy FireInspector - File Based Decoding User Manual

Page 35: Ipv4 over 1394 transactions, 10 transaction and packet context fields, 1394 transactions ipv4 over 1394 transactions, Hapter, Ransaction, Acket, Ontext

background image

29

CATC S

CRIPTING

L

ANGUAGE

1.0

C

HAPTER

10

Reference Manual

Transaction and Packet Context Fields

C

HAPTER

10: T

RANSACTION

AND

P

ACKET

C

ONTEXT

F

IELDS

This chapter describes the transaction and packet context fields (symbols) that are
defined in FireInspector. These fields define the output context for each built-in
transaction or packet type. These output contexts are then used as input to script
decoders. A script decoder declares the transaction types that it wishes to examine
by using the

InputType

module variable (for more information, see

InputType

” on page 66).

Transaction Context Fields

The transaction context fields are listed by type of transaction.

1394 Transactions

These transactions require the module data

InputType = "1394 Transaction"

.

data_len

: Integer. Length of data payload in bytes. Taken from the packet

header.

Tcode

: Integer.

Tcode

value of the transaction’s request packet.

Requester

: Integer. Node ID of the transaction initiator.

Responder

: Integer. Node ID of the transaction target.

Rcode

: Integer. The result of the transaction. This could be the

rcode

field from

a response packet or from the

ack

value of the request packet. The meaning of the

values are the same as for a packet

rcode

.

Payload

: Raw bytes. The data payload.

address

: Raw bytes. The 48-bit address.

BusResetOccurred

: Integer. A non-zero value means that a 1394 bus reset

occurred since the last 1394 transaction; otherwise, the value is zero.

IPv4 over 1394 Transactions

These transactions require the module data

InputType = "IPv4 / 1394"

.

Data

: Raw bytes. The data payload of the transaction.

DataLength

: Integer. The length of the payload in bytes.

Source_Node

: Integer. The 1394 node ID of the source node.