(Page 19 of 26 in this chapter)


TxTpxIfX25

Sets up the packet as an X.25 interface definition packet.

Prototype

short TxTpxIfX25 (TXMNGPKT *req,
char *ifname,
TXTPXIPADDR *ipaddr,
unsigned short format,
char *infile,
char *outfile )

req Pointer to packet to be set.

ifname Pointer to TPX interface name.

ipaddr Pointer to IP address of interface (IP address, subnet mask, and broadcast address).

format Indicates whether X.25 virtual circuit should be static or dynamic.

infile Pointer to X.25 file name to use as incoming connection description.
Example: x.25:files/from_rmt1.

outfile Pointer to X.25 file name to use as outgoing connection description
Example: x.25:files/to_rmt1.

Return Values

TX API completion code.

Details

All X.25-specific fields are set to their default values. All common interface definition fields are left unmodified.

Note: TxTpxIfX25 assumes that the packet is already a properly initialized define interface packet. Applications should call TxTpxIfDefault some time prior to calling TxTpxIfX25 to assure that the packet contains all the proper default values.

Applications should call TxTpxIfX25 when a packet is to be used to create an X.25 interface for the first time or when returning to X.25 interface defaults.

See Also

TxTpxIfDefault



(Page 19 of 26 in this chapter)


tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights reserved.