93#if defined(WITH_SNMP) && defined(WITH_RESTCONF)
122#ifndef _H_status_enum
126#ifndef _H_agt_ypsnmp_util
204 netsnmp_session *session,
225 netsnmp_transport *transport,
226 void *transport_data,
227 int transport_data_length);
Utility Functions for YP SNMP.
status_t agt_ypsnmp_init(void)
Initialize the agt_ypsnmp module.
Definition: agt_ypsnmp.c:3325
void agt_ypsnmp_cleanup(void)
Cleanup the agt_ypsnmp module.
Definition: agt_ypsnmp.c:3409
void agt_ypsnmp_check_io(void)
Check if any SNMP messages to process.
Definition: agt_ypsnmp.c:3455
status_t agt_ypsnmp_notification_handler(agt_not_msg_t *notif)
Handler called for sending a notification.
Definition: agt_ypsnmp.c:3666
status_t agt_ypsnmp_handle_request(ypsnmp_agent_session_t *asp)
Incoming Packet handling function.
Definition: agt_ypsnmp.c:3794
int ypsnmp_check_parse(netsnmp_session *session, netsnmp_pdu *pdu, int result)
Check the PDU parse.
Definition: agt_ypsnmp.c:3299
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.
Definition: agt_ypsnmp.c:3548
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.
Definition: agt_ypsnmp.c:3253
int ypsnmp_snmp_packet(int op_type, netsnmp_session *session, int reqid, netsnmp_pdu *pdu, void *magic)
Register handle an incoming SNMP packet.
Definition: agt_ypsnmp.c:3119
status_t
global error return code
Definition: status_enum.h:210
global error status code enumerations
one notification message that will be sent to all subscriptions in the stream and kept in the replay ...
Definition: agt_not.h:143
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:181
Session Control Block.
Definition: ses.h:573
Restapi Control Block Used by RESTCONF to hold parse and request processing state.
Definition: yangapi.h:351
agent session
Definition: agt_ypsnmp_util.h:315
YANG-API definitions (pre-RESTCONF)