(Page 16 of 26 in this chapter)


TxTpxIfSlx

Description

Sets up the packet as a SLIP over X.25 interface definition packet.

Prototype

short TxTpxIfSlx (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: x25: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 SLIP over X.25-specific fields are set to their default values. All common interface definition fields are left unmodified.

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

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

See Also

TxTpxIfDefault



(Page 16 of 26 in this chapter)


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