This ioctl associates a PPA with a physical device underneath the layer two provider.
/* Ioctl block for L_SETPPA and L_GETPPA commands */
struct ll_snioc {
uint8 lli_type; /* Table type = LI_SPPA */
uint8 lli_class; /* DTE/DCE/extended */
uint16 lli_slp_pri; /* SLP priority */
uint32 lli_ppa; /* PPA/ Subnetwork ID character */
uint32 lli_index; /* Link index */
};
The members are:
Table 11-46 Members of the ll_snioc structure|
Member |
Description |
|---|---|
|
lli_type |
The table type. This should always be LI_SPPA. |
|
lli_class |
This indicates the type of link. LC_LAPBDTE or LC_LAPBDCE must be used for LAPB. The file /usr/include/netdlc/ll_proto.h contains a complete list of values. |
|
lli_slp_pri |
This determines the priority of SLP when MLP is used. |
|
lli_ppa |
The PPA identifier |
|
lli_index |
The link index. This must be set with the muxid value returned by the I-LINK ioctl when LAPB is placed over a serial driver. |
|
Error |
Description |
|---|---|
|
EBUSY |
The PPA is already being used by another stream. |
|
ENODEV |
The specified lli_index has not been found. |