Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

snmp_clone_pdu (3)

Name

snmp_clone_pdu - snmp_pdu_api functions

Synopsis

#include <net-snmp/pdu_api.h>

netsnmp_pdu *snmp_pdu_create( inttype);

netsnmp_pdu *snmp_clone_pdu( netsnmp_pdu*pdu);

netsnmp_pdu *snmp_fix_pdu( netsnmp_pdu*pdu, int idx);

netsnmp_pdu *snmp_free_pdu( netsnmp_pdu*pdu);

Description

NETSNMP_PDU_API(3)                 Net-SNMP                 NETSNMP_PDU_API(3)



NAME
       snmp_pdu_create,  snmp_clone_pdu,  snmp_fix_pdu,  snmp_free_pdu  - net-
       snmp_pdu_api functions

SYNOPSIS
       #include <net-snmp/pdu_api.h>

       netsnmp_pdu *snmp_pdu_create( inttype);

       netsnmp_pdu *snmp_clone_pdu( netsnmp_pdu*pdu);

       netsnmp_pdu *snmp_fix_pdu( netsnmp_pdu*pdu, int idx);

       netsnmp_pdu *snmp_free_pdu( netsnmp_pdu*pdu);

DESCRIPTION
       These functions deal with SNMP request structures.

       snmp_pdu_create

       snmp_clone_pdu

       snmp_fix_pdu

       snmp_free_pdu


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------------+
       |ATTRIBUTE TYPE |        ATTRIBUTE VALUE          |
       +---------------+---------------------------------+
       |Availability   | system/management/snmp/net-snmp |
       +---------------+---------------------------------+
       |Stability      | Volatile                        |
       +---------------+---------------------------------+

SEE ALSO
       netsnmp_varbind_api(3), netsnmp_session_api(3)



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded   from    https://sourceforge.net/projects/net-
       snmp/files/net-snmp/5.8/net-snmp-5.8.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.net-snmp.org/.



V5.8                              13 Aug 2010               NETSNMP_PDU_API(3)