Reference Driver
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
66 Rev. 2.7
6.8 Loopback Services
6.8.1 M1966_LOOPBACK
Description
This IOCTL is used for managing the loopback session – initiating, clearing or retrieving the status of
current active loopback session on a given channel. Only one loopback session can be active per
channel. For reading the status the loopback “mode” will be returned in the structure
M1966_LOOPBACK_t pointed to by the “param” field.
#define M1966_LOOPBACK _IOWR(0xA4, 0xBD, unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_LOOPBACK,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1966_LOOPBACK
I/O control identifier for this operation.
unsigned long param
Pointer to structure
M1966_LOOPBACK_
t.
Return Values
Data Type Description
unsigned int
0 – Successful.
-FAULT – Failed to perform loopback request.