DLPI Primitives

Local Management Primitives

/* info area in

DL_HP_PPA_ACK */

typedef struct {

u_long

dl_next_offset;

u_long

dl_ppa;

u_char

dl_hw_path[100];

u_long

dl_mac_type;

u_char

dl_phys_addr[20];

u_long

dl_addr_length;

u_long

dl_mjr_num;

u_char

dl_name[64]

u_long

dl_instance_num

u_long

dl_mtu;

u_long

dl_hdw_state;

u_char

dl_module_id_1[64];

u_char

dl_module_id_2[64];

u_char

dl_arpmod_name[64];

u_char

dl_nmid;

u_long

dl_reserved1;

u_long

dl_reserved2;

} dl_hp_ppa_info_t;

dl_next_offset

offset of next ppa info structure from start of info area. dl_ppa

PPA # assigned to LAN interface. dl_hw_path

hardware path of LAN interface. dl_mac_type

MAC type of LAN interface. dl_phys_addr

station address. dl_addr_length

length of station address. dl_mjr_num

major number of interface driver. dl_name

name of driver. dl_instance_num

instance number of device.

54

Chapter 2