HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
SET_TRACE_TYPE
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.183.5 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.184 SET_TRACE_TYPE
This verb specifies tracing options for SNAplus2 kernel components. You can use this verb to specify the state
of tracing (on or off) at all interfaces, or to turn tracing on or off at specific interfaces (leaving tracing at other
interfaces unchanged). For more information about tracing options, see the HP-UX SNAplus2 Administration Guide.
This verb does not control DLC line tracing. To do this, use the ADD_DLC_TRACE verb.
This verb must be issued to a running node.
3.184.1 VCB Structure
typedef struct set_trace_type
{
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_UINT16 trace_flags; /* trace flags */
AP_UINT32 truncation_length; /* truncate each msg to this size */
unsigned char init_flags; /* TRUE if initializing flags */
unsigned char set_flags; /* TRUE if setting flags */
/* FALSE if unsetting flags */
unsigned char set_internal; /* reserved */
AP_UINT16 internal_level; /* reserved */
AP_UINT32 api_flags; /* reserved */
} SET_TRACE_TYPE;
3.184.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_SET_TRACE_TYPE
trace_flags
The types of tracing required. To turn off all tracing, or to turn on tracing of all types, specify one of the
following values:
AP_NO_TRACE
No tracing.
AP_ALL_TRACE
729