SNMP Manager Programmer's Guide
Programming Examples
SNMP Manager Programmer’s Guide–134249
2-9
Managers Supporting UDP and IPC
1. The header files support various operations performed by the functions:
2. These defines are used by check_host_name() when validating host names.
3. These defines are for values returned by check_host_name() to indicate the kind of
communication protocol that is appropriate for the target SNMP entity specified at
invocation:
UDP communication is used when the returned value is CK_REMOTE_NAME
or CK_REMOTE_IP.
IPC communication is used when the returned value is one of these:
CK_LOCAL_NAME
CK_REMOTE_NAME_NOBSL_EXPAND
CK_REMOTE_NAME_BSL_EXPAND
CK_REMOTE_IP_EXPAND
If IPC communication fails, UDP communication is attempted.
4. These defines are for errors the functions defined in snmpfsc return.
5. These defines are for values returned by SNMP_Init_() to indicate whether to create
a socket for UDP communication or open a file for IPC communication.
SNMP operations buffer.h
snmpdefs.h
print.h
snmpfs.h
Encoded-packet handling
Unencoded-packet handling
Packet printing
Operations performed by snmpfsc
C operations stdio.h
ctype.h
stddef.h
stdlib.h
string.h
C library utilities for such activities as memory
and string management
UDP operation systype.h
socket.h
netdb.h
in.h
UDP packet handling
System operations tal.h NonStop Kernel system call support