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


TxVpdAddrDef

Description:

This function initializes the provided virtual port addressing structure as indicated.

Prototype:

short TxVpdAddrDef (TXVPD_ADDR *addr,
unsigned char priority,
unsigned char flags,
unsigned char num_addrs,
unsigned long addr1,
unsigned long addr2,
unsigned long addr3,
unsigned long addr4 );

addr Virtual port address description structure to be initialized.

priority Priority of this virtual port (during received frame handling) versus all other virtual ports sharing the same resource.

flags Virtual port handling flags (defined in vpduser.h).

VPA_OVERWRITE: if set, virtual port device handler (on comminications processor) will overwrite the address field of transmit frames with the first address indicated (addr1) for the given virtual port. This flag allows previously developed applications to share a physical resource without recording the application to send using different address fields.

num_addrs Number of addresses for which this virtual port can receive frames (can be in the range of 1..4, allowing a single virtual port connection to receive up to 4 differently addressed frames).

addr1..4 Specific addresses for which the virtual port will register.

For example, standard HDLC would use 1 and 3 here.

VPD_DEMUXALL = register to receive all addresses.

See Also

TxVpdVport



Table of Contents NMS Glossary Previous Page Next Page (Page 2 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.