(Page 3 of 26 in this chapter)


TxTpxIfBufCtl

Description

Sets up the buffer control portion of an interface definition packet.

Prototype

short TxTpxIfBufCtl (TXMNGPKT *req,
unsigned long mtu,
unsigned long max_buffers,
unsigned long buff_reserve)

req Pointer to packet to be set.

mtu Maximum Transmission Unit (default = 1500 bytes).

max_buffers Maximum buffer limit for this interface (default = 102,400 bytes).

buff_reserve Reserved buffer space for receive
(default = 10,240 bytes).

Return Values

TX API completion code.

Details

Buffer control is common to all TPX interfaces. Applications are able to control the maximum transmission unit and memory usage for each interface independently. This function will only effect the buffer control portion of the define interface packet.

Note: TxTpxIfBufCtl assumes that the packet is already a properly initialized define interface packet. Applications should call TxTpxIfDefault some time prior to calling this function to assure that the packet contains all the proper default values. Buffer control is also not performed independently. The fields set up by this function call are part of a future interface create request to be issued by the application.

Applications should call TxTpxIfBufCtl any time buffer control is to be adjusted for the interface being defined.

See Also

TxTpxIfDefault



(Page 3 of 26 in this chapter)


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