HVCS_REGISTER_CONNECTION

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

hvcs_register_connection - establish a connection between this vty-server and  

SYNOPSIS

"SYNOPSIS"

int hvcs_register_connection (uint32_t unit_address, uint32_t p_partition_ID, uint32_t p_unit_address);  

ARGUMENTS

unit_address
The unit address of the vty-server adapter that is to be establish a connection.
p_partition_ID
The partition ID of the vty adapter that is to be connected.
p_unit_address
The unit address of the vty adapter to which the vty-server is to be connected.
 

DESCRIPTION

If this function is called once and -EINVAL is returned it may indicate that the partner info needs to be refreshed for the target unit address at which point the caller must invoke hvcs_get_partner_info and then call this function again. If, for a second time, -EINVAL is returned then it indicates that there is probably already a partner connection registered to a different vty-server adapter. It is also possible that a second -EINVAL may indicate that one of the parms is not valid, for instance if the link was removed between the vty-server adapter and the vty adapter that you are trying to open. Don't shoot the messenger. Firmware implemented it this way.  

DESCRIPTION

If this function is called once and -EINVAL is returned it may indicate that the partner info needs to be refreshed for the target unit address at which point the caller must invoke hvcs_get_partner_info and then call this function again. If, for a second time, -EINVAL is returned then it indicates that there is probably already a partner connection registered to a different vty-server adapter. It is also possible that a second -EINVAL may indicate that one of the parms is not valid, for instance if the link was removed between the vty-server adapter and the vty adapter that you are trying to open. Don't shoot the messenger. Firmware implemented it this way.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:12 GMT, October 09, 2005