Generated from osm_node_desc_rcv.h with ROBODoc vunknown on Wed Aug 07 15:31:45 2002

TABLE OF CONTENTS

  1. OpenSM/Node Description Receiver
  2. OpenSM: Node Description Receiver/osm_nd_rcv_t
  3. OpenSM: Node Description Receiver/osm_nd_rcv_construct
  4. OpenSM: Node Description Receiver/osm_nd_rcv_destroy
  5. OpenSM: Node Description Receiver/osm_nd_rcv_init
  6. OpenSM: Node Description Receiver/osm_nd_rcv_is_inited
  7. OpenSM: Node Description Receiver/osm_nd_rcv_process

OpenSM/Node Description Receiver

NAME
    Node Description Receiver

DESCRIPTION
    The Node Description Receiver object encapsulates the information
    needed to receive the NodeInfo attribute from a node.

    The Node Description Receiver object is thread safe.

    This object should be treated as opaque and should be
    manipulated only through the provided functions.

AUTHOR
    Steve King, Intel


OpenSM: Node Description Receiver/osm_nd_rcv_t

NAME
    osm_nd_rcv_t

DESCRIPTION
    Node Description Receiver structure.

    This object should be treated as opaque and should
    be manipulated only through the provided functions.

SYNOPSIS
typedef struct _osm_nd_rcv
{
    osm_subn_t                  *p_subn;
    osm_log_t                   *p_log;
    cl_plock_t                  *p_lock;

} osm_nd_rcv_t;

FIELDS
    base
        OpenSM base object.

    p_subn
        Pointer to the Subnet object for this subnet.

    p_log
        Pointer to the log object.

    p_lock
        Pointer to the serializing lock.

SEE ALSO
    Node Description Receiver object

OpenSM: Node Description Receiver/osm_nd_rcv_construct

NAME
    osm_nd_rcv_construct

DESCRIPTION
    This function constructs a Node Description Receiver object.

SYNOPSIS
void osm_nd_rcv_construct(
    IN osm_nd_rcv_t* const p_ctrl );

PARAMETERS
    p_ctrl
        [in] Pointer to a Node Description Receiver object to construct.

RETURN VALUE
    This function does not return a value.

NOTES
    Allows calling osm_nd_rcv_init, osm_nd_rcv_destroy,
    and osm_nd_rcv_is_inited.

    Calling osm_nd_rcv_construct is a prerequisite to calling any other
    method except osm_nd_rcv_init.

SEE ALSO
    Node Description Receiver object, osm_nd_rcv_init,
    osm_nd_rcv_destroy, osm_nd_rcv_is_inited

OpenSM: Node Description Receiver/osm_nd_rcv_destroy

NAME
    osm_nd_rcv_destroy

DESCRIPTION
    The osm_nd_rcv_destroy function destroys the object, releasing
    all resources.

SYNOPSIS
void osm_nd_rcv_destroy(
    IN osm_nd_rcv_t* const p_ctrl );

PARAMETERS
    p_ctrl
        [in] Pointer to the object to destroy.

RETURN VALUE
    This function does not return a value.

NOTES
    Performs any necessary cleanup of the specified
    Node Description Receiver object.
    Further operations should not be attempted on the destroyed object.
    This function should only be called after a call to
    osm_nd_rcv_construct or osm_nd_rcv_init.

SEE ALSO
    Node Description Receiver object, osm_nd_rcv_construct,
    osm_nd_rcv_init

OpenSM: Node Description Receiver/osm_nd_rcv_init

NAME
    osm_nd_rcv_init

DESCRIPTION
    The osm_nd_rcv_init function initializes a
    Node Description Receiver object for use.

SYNOPSIS
ib_api_status_t osm_nd_rcv_init(
    IN osm_nd_rcv_t* const p_ctrl,
    IN osm_subn_t* const p_subn,
    IN osm_log_t* const p_log,
    IN cl_plock_t* const p_lock );

PARAMETERS
    p_ctrl
        [in] Pointer to an osm_nd_rcv_t object to initialize.

    p_subn
        [in] Pointer to the Subnet object for this subnet.

    p_log
        [in] Pointer to the log object.

    p_lock
        [in] Pointer to the OpenSM serializing lock.

RETURN VALUES
    CL_SUCCESS if the Node Description Receiver object was initialized
    successfully.

NOTES
    Allows calling other Node Description Receiver methods.

SEE ALSO
    Node Description Receiver object, osm_nd_rcv_construct,
    osm_nd_rcv_destroy, osm_nd_rcv_is_inited

OpenSM: Node Description Receiver/osm_nd_rcv_is_inited

NAME
    osm_nd_rcv_is_inited

DESCRIPTION
    Indicates if the object has been initialized with osm_nd_rcv_init.

SYNOPSIS
boolean_t osm_nd_rcv_is_inited(
    IN const osm_nd_rcv_t* const p_ctrl );

PARAMETERS
    p_ctrl
        [in] Pointer to an osm_nd_rcv_t object.

RETURN VALUES
    TRUE if the object was initialized successfully,
    FALSE otherwise.

NOTES
    The osm_nd_rcv_construct or osm_nd_rcv_init must be
    called before using this function.

SEE ALSO
    Node Description Receiver object, osm_nd_rcv_construct,
    osm_nd_rcv_init

OpenSM: Node Description Receiver/osm_nd_rcv_process

NAME
    osm_nd_rcv_process

DESCRIPTION
    Process the NodeInfo attribute.

SYNOPSIS
void osm_nd_rcv_process(
    IN const osm_nd_rcv_t* const p_ctrl,
    IN osm_madw_t* const p_madw );

PARAMETERS
    p_ctrl
        [in] Pointer to an osm_nd_rcv_t object.

    p_madw
        [in] Pointer to the MAD Wrapper containing the MAD
        that contains the node's NodeInfo attribute.

RETURN VALUES
    CL_SUCCESS if the NodeInfo processing was successful.

NOTES
    This function processes a NodeInfo attribute.

SEE ALSO
    Node Description Receiver, Node Description Response Controller