HP X.25/9000 Programmer's Guide
22 Chapter2
X.25 Addressing
Using Wildcard Addressing
* u_char x25_masklen;
* u_char x25_mask[X25_MAX_PIDLEN];
* }
*/
int sd;
struct x25_mask_data mask;
err = ioctl(sd, X25_WR_MASK_DATA, &mask);
sd A socket descriptor for a listen socket.
X25_WR_MASK_
DATA
Indicates the type of ioctl() call. If the
X25_WR_MASK_DATA
value or
x25_mask_len
value is set to
0
, the ioctl() call returns no error and an
empty mask is used. This has the same effect as if the call were not
made.
mask Indicates the mask to be ANDed with the protocol ID specified in the
CALL REQUEST packet. The
x25_mask_len
field indicates the length of
the mask, and the
x25_mask
field indicates the mask to be used.
36960-90061.bk Page 22 Friday, November 10, 2000 3:42 PM










