(Page 17 of 26 in this chapter)


TxTpxIfSnc

Description

Sets up the packet as a Sync interface definition packet.

Prototype

short TxTpxIfSnc (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 or logical port number to which the interface will attach (or with TPX_MVIPPORT to use logical MVIP port).

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

Return Values

TX API completion code.

Details

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

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

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

See Also

TxTpxIfDefault



(Page 17 of 26 in this chapter)


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