yumapro  20.10-12
YumaPro SDK
agt_ypsnmp.h File Reference

Yuma Interface to net-snmp data structures. Agent interface. More...

#include "status_enum.h"
#include "agt_ypsnmp_util.h"
#include "yangapi.h"
Include dependency graph for agt_ypsnmp.h:

Go to the source code of this file.

Functions

int ypsnmp_snmp_packet (int op_type, netsnmp_session *session, int reqid, netsnmp_pdu *pdu, void *magic)
 Register handle an incoming SNMP packet. More...
 
int ypsnmp_check_packet (netsnmp_session *session, netsnmp_transport *transport, void *transport_data, int transport_data_length)
 Handler for all incoming messages (a.k.a. More...
 
int ypsnmp_check_parse (netsnmp_session *session, netsnmp_pdu *pdu, int result)
 Check the PDU parse. More...
 
status_t agt_ypsnmp_init (void)
 Initialize the agt_ypsnmp module. More...
 
void agt_ypsnmp_cleanup (void)
 Cleanup the agt_ypsnmp module. More...
 
void agt_ypsnmp_check_io (void)
 Check if any SNMP messages to process. More...
 
status_t agt_ypsnmp_reply_handler (ses_cb_t *scb, yangapi_cb_t *rcb, rpc_msg_t *msg, status_t result)
 Handler called for sending a response. More...
 
status_t agt_ypsnmp_notification_handler (agt_not_msg_t *notif)
 Handler called for sending a notification. More...
 
status_t agt_ypsnmp_handle_request (ypsnmp_agent_session_t *asp)
 Incoming Packet handling function. More...
 

Detailed Description

Yuma Interface to net-snmp data structures. Agent interface.