The DLC_ADD_FUNC_ADDR ioctl operation is selectable through the fp_ioctl kernel service or the ioctl subroutine. It can be called from the process environment only.
The following parameter block adds a functional address mask any time a service access point (SAP) has been enabled via DLC_ENA_SAP ioctl. Multiple functional address bits may be specified.
struct dlc_func_addr
{
__ulong32_t gdlc_sap_corr; /* GDLC SAP correlator */
__ulong32_t len_func_addr_mask; /* length of functional */
/* address mask */
uchar_t func_addr_mask[DLC_MAX_ADDR]; /* functional address */
/* mask */
};
The fields of this ioctl operation are:
Field | Description |
---|---|
gdlc_sap_corr | Contains the generic data link control (GDLC) service access point (SAP) correlator being requested to delete a functional address from a port. |
len_func_addr_mask | Contains the byte length of the functional address mask to be added. |
func_addr_mask | Contains the functional address mask value to be ORed with the functional address on the adapter. See the individual DLC interface documentation to determine the length and format of this field. |