snmp_client man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

SNMP_CLIENT(3)							SNMP_CLIENT(3)

NAME
       snmp_synch_input,  snmp_synch_response, snmp_synch_setup - SNMP Session
       Synchronization

SYNOPSIS
       cc [ flag ... ] file ...	 -lsnmp [ library ... ]

       #include <sys/types.h>
       #include <snmp/snmp.h>

       int snmp_synch_input(int Operation, struct snmp_session * Session,  int
       RequestID, struct snmp_pdu * PDU, void * Magic);

       int  snmp_synch_response(struct snmp_session * Session, struct snmp_pdu
       * PDU, struct snmp_pdu ** ResponseP);

       void snmp_synch_setup(struct snmp_session *Session);

DESCRIPTION
       snmp_synch_input() is called when  a  registered	 session  receives  an
       update.	  Operation   specifies	  what	 has   occured	(TIMED_OUT  or
       RECEIVED_MESSAGE).  Session is the session, RequestID is the  reqid  of
       the PDU in question, PDU is the PDU in question, and Magic is a pointer
       to the current state of that session.

       snmp_synch_response() is a quick way to send PDU over  session  Session
       and  wait  for  a response.  The response will be pointed to by Respon‐
       sePDUP.

       snmp_synch_setup() sets up session Session for  use  with  these	 func‐
       tions.

RETURN VALUES
       snmp_synch_input() returns 0 upon error, 1 otherwise.

       snmp_synch_response()  returns  either  STAT_SUCCESS,  STAT_TIMEOUT, or
       STAT_ERROR.

RFCS
       Related RFCs: 1065, 1066, 1067
       Related SNMPv2 RFCs: 1901, 1902, 1902, 1904, 1905,  1906,  1907,	 1908,
       1909

RELATED URLS
       CMU Networking Group: http://www.net.cmu.edu/
       CMU SNMP Home Page: http://www.net.cmu.edu/projects/snmp

SEE ALSO
       snmp_api(3),  snmp_api_errors(3),  snmp_client(3), snmp_coexistance(3),
       snmp_error(3),	  snmp_extra(3),      snmp_mib(3),	snmp_mibii(3),
       snmp_mini_client(3),   snmp_msg(3),  snmp_packet_dump(3),  snmp_pdu(3),
       snmp_sess_api(3),   snmp_vars(3),   snmp_version_info(3),   snmp_oid(5)
       snmp(3)

4th Berkeley Distribution  Tue Sep 24 11:13:15 2002		SNMP_CLIENT(3)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net