(Page 21 of 26 in this chapter)


TxTpxRteDefine

Sets up the packet as a route definition packet.

Prototype

short TxTpxRteDefine (TXMNGPKT *req,
TXTPXIPADDR *ipaddr,
TXTPXIPADDR *fwdto,
unsigned char tos,
unsigned long metric)

req Pointer to packet to be set.

ipaddr Pointer to IP address for which route is added (IP address and subnet mask).

fwdto Pointer to IP address indicating route destination (IP address only).

tos Type of service.

metric Route metric.

Return Values

TX API completion code.

Details

All route definition fields that are not specified for TxTpxRteDefine are left unmodified.

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

Applications should call TxTpxRteDefine to create a route.

See Also

TxTpxRteDefault



(Page 21 of 26 in this chapter)


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