Signal

HinawaFwResp::requested2

deprecated: 2.6 since: 2.2

Declaration

HinawaFwRcode
requested2 (
  HinawaFwResp* self,
  HinawaFwTcode tcode,
  guint64 offset,
  guint src,
  guint dst,
  guint card,
  guint generation,
  gpointer frame,
  guint length,
  gpointer user_data
)

Description [src]

Emitted when any node transfers request subaction to the range of address in 1394 OHCI controller to which this object listening, except for the case that HinawaFwResp::requested3 signal handler is already assigned.

The handler is expected to call hinawa_fw_resp_set_resp_frame() with frame and return HinawaFwRcode for response subaction.

If the version is less than 4, the src, dst, card, generation arguments have invalid value (=G_MAXUINT).

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 2.2
Deprecated since: 2.6

Use HinawaFwResp::requested3, instead.

Parameters

tcode

Type: HinawaFwTcode

One of HinawaFwTcode enumerations.

offset

Type: guint64

The address offset at which the transaction arrives.

src

Type: guint

The node ID of source for the transaction.

dst

Type: guint

The node ID of destination for the transaction.

card

Type: guint

The index of card corresponding to 1394 OHCI controller.

generation

Type: guint

The generation of bus when the transaction is transferred.

frame

Type: An array of guint8

The array with elements for byte data.

The length of the array is specified in the length argument.
length

Type: guint

The length of bytes for the frame.

Return value

Type: HinawaFwRcode

One of HinawaFwRcode enumerations corresponding to rcodes defined in IEEE 1394 specification.