Solstice X.25 9.2 Developer's Guide

7.1 ioctls Functional Grouping

These ioctls are related to NUI mapping. The NUI mapping table maps Network User Identifiers to particular facilities. The ioctls described in this section let you operate on NUI mappings. Note that any changes you make could disrupt other users. For this reason you require root access to use the ioctls that let you change the current settings.

Table 7-1 NUI mapping icotls

ioctl 

description 

access level 

N_nuidel

delete specified NUI mapping 

root only 

N_nuiget

read specified NUI mapping 

unrestricted 

N_nuimget

read all NUI mappings 

unrestricted 

N_nuiput

store a set of NUI mappings 

root only 

N_nuireset

delete all NUI mappings 

root only 

These ioctls operate on a per multiplexor basis:

Table 7-2 Multiplexor ioctls

ioctl 

description 

access level 

N_getstats

read X.25 multiplexor statistics 

unrestricted 

N_zerostats

reset X.25 multiplexor statistics to zero 

root only 

These ioctls operate on a per virtual circuit basis:

Table 7-3 Virtual circuit ioctls

ioctl 

description 

access level 

N_getoneVCstats

get status and statistics for VC associated with current stream 

unrestricted 

N_getpvcmap

get default packet and window sizes 

unrestricted 

N_getVCstats

get per VC statistics 

unrestricted 

N_getVCstatus

get per VC state and statistics 

unrestricted 

N_putpvcmap

change per VC packet and window sizes 

unrestricted 

These ioctls start and stop packet level tracing:

Table 7-4 Packet level tracing ioctls

ioctl 

description 

access level 

N_traceon

start packet level tracing 

root only 

N_traceoff

stop packet level tracing 

root only 

These ioctls manage the X.25 routing table. Using them may override values set using x25tool. The ioctls are:

Table 7-5 Routing ioctls

ioctl 

description 

access level 

N_X25_ADD_ROUTE

add a new route or update an existing route. 

root only 

N_X25_FLUSH_ROUTE

clear all entries from table. 

root only 

N_X25_GET_ROUTE

obtain routing information for specified address 

unrestricted 

N_GET_NEXT_ROUTE

obtain routing information for the next route in the table 

unrestricted 

N_RM_ROUTE

remove the specified route 

root only 

These ioctls operate on a link:

Table 7-6 Link ioctls

Header 

Header 

Header 

N_getlinkstats

retreive per link statistics 

unrestricted 

N_linkconfig

configure wlcfg database for a link

unrestricted 

N_linkent

configure a newly linked driver 

unrestricted 

N_linkread

read the wlcfg database

unrestricted