Solstice X.25 9.2 Developer's Guide

7.14 N_nuimget--Read all Existing NUI Mappings

This ioctl is used to read all existing mappings for Network User Identifiers (NUI).

Associated Structure

The following structure is associated with this ioctl:

struct nui_mget {    
   unsigned int first_ent;          /* First entry required    */
   unsigned int last_ent;           /* Last entry required     */
   unsigned int num_ent;            /* No of entries required  */
   char         buf[MGET_NBUFSIZE]; /* Data Buffer             */
 };

The members of the nui_mget structure are:

Table 7-29 Members of the nui_mget structure

Member 

Description 

buf

Contains the structure for the returned mapping entries. 

first_ent

Informs the X.25 multiplexor where to start or restart the table read. It should initially be set to 0, to indicate starting at the beginning of the table.  

num_ent

Indicates the number of mapping entries returned in the buf member.

last_ent

Set on return to point past the last entry returned (that is, a subsequent N_nuimget ioctl should have first_ent set to the value returned here).