Solstice X.25 9.2 Developer's Guide

11.1.1.1 LLC2 Address Structure

The LLC2 DLSAP is contained in the following structure:

struct llc_dladdr {
    u_char   dl_mac[6];      /* MAC address */
    u_char   dl_sap;         /* LLC SAP */
 };

The file /usr/include/netdlc/llc2.h contains the structure definition.

The members of the llc_dladdr structure are:

Table 11-6 Members of llc_dladdr structure

Members 

Description 

dl_mac

The MAC address 

dl_sap

The LLC SAP (service access point).