(Page 15 of 26 in this chapter)


TxTpxIfSlp

Description

Sets up the packet as a SLIP interface definition packet.

Prototype

short TxTpxIfSlp (TXMNGPKT *req,
char *ifname,
TXTPXIPADDR *ipaddr,
unsigned short port,
unsigned long baud)

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).

port Physical port number to which that interface will attach.

baud Baud rate to apply to port (in bits/sec).

Return Values

TX API completion code.

Details

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

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

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

See Also

TxTpxIfDefault



(Page 15 of 26 in this chapter)


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