Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX SNAplus2 API NOF Programmer's Guide: HP-UX 11.0, 11i v1, and 11i v2 > Chapter 5 NOF API Verbs (REGISTER_INDICATION_SINK to UNREGISTER_INDICATION_SINK)

SET_BUFFER_AVAILABILITY

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

This verb specifies the amount of STREAMS buffers that SNAplus2 can use at any one time. This allows the node to make efficient use of the buffers available, and allows you to ensure that buffers are available for other processes on the HP-UX computer.

VCB Structure

typedef struct set_buffer_availability
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
AP_UINT32 buf_avail; /* maximum buffer space available */
} SET_BUFFER_AVAILABILITY;

Supplied Parameters

The application supplies the following parameters:

opcode

AP_SET_BUFFER_AVAILABILITY

buf_avail

The maximum amount of STREAMS buffer space available, in bytes.

Returned Parameters: Successful Execution

If the verb executes successfully, SNAplus2 returns the following parameters:

primary_rc

AP_OK

secondary_rc

Not used.

Returned Parameters: Other Conditions

Appendix A “Common Return Codes” lists further combinations of primary and secondary return codes that are common to all NOF verbs.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003 Hewlett-Packard Development Company, L.P.