Solstice X.25 9.2 Developer's Guide

7.4 N_getpvcmap--Get PVC Default Packet/Window Sizes

This ioctl is used to read the default packet and window sizes of active PVCs.

Associated Structure

The following structure is associated with this ioctl:

struct pvcmapf {
   struct pvcconff entries[MAX_PVC_ENTS]; /* Data buffer           */
   int             first_ent;             /* Where to start search   */
   unsigned char   num_ent;               /* Number entries returned */
 };

The members of the pvcmapf structure are:

Table 7-10 getpvcmap fields

Member 

Description 

entries

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. On return, it points to the next entry.  

num_ent

Indicate the number of mapping entries returned in the entries member. It should be set to 0 before making the ioctl.