(Page 9 of 26 in this chapter)


TxTpxIfEth

Description

Sets up the packet as an Ethernet interface definition packet.

Prototype

short TxTpxIfEth (TXMNGPKT *req,
char *ifname,
TXTPXIPADDR *ipaddr )

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

Return Values

TX API completion code.

Details

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

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

Applications should call this function when a packet is to be used to create an Ethernet interface for the first time or when returning to Ethernet interface defaults

See Also

TxTpxIfDefault



(Page 9 of 26 in this chapter)


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