Table of Contents NMS Glossary Previous Page Next Page (Page 19 of 19 in this chapter) Version


TxVpdVport

Description:

Defines a new virtual port.

Prototype:

short TxVpdVport ( TX_HANDLE handle,
unsigned short resource,
unsigned short vport_num,
TXVPD_ADDR *addr );

handle TX_HANDLE returned from TxVpdOpen.

resource Resource number to attach the virtual port to.

vport_num Virtual port number to assign. If a virtual port exists with this number, the previous definition is removed (if not in use) or the define request will fail.

addr Virtual port addressing information structure. Refer to TxVpdAddrDef for information about setting up this structure.

Details

All applications (those residing on the communications processor and on the host system) access communications processor resources through virtual ports. Virtual ports can be defined to have sole control of a given resource or can share a resource. Resource sharing allows all virtual ports assigned to the same resource to transmit frames over the same physical connection.

The communications processor KERNEL handles multiplexing of all virtual port transmission streams onto the single physical resource transmission stream. The KERNEL also handles demultiplexing of frames received over the single physical resource, routing frames based on the addressing setup in the virtual port definitions.

See Also

TxVpdAddrDef



Table of Contents NMS Glossary Previous Page Next Page (Page 19 of 19 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.