OpenVAS Scanner  22.7.9
nasl_snmp.h File Reference

Headers of an API for SNMP used by NASL scripts. More...

#include "nasl_lex_ctxt.h"
#include "nasl_tree.h"
Include dependency graph for nasl_snmp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

tree_cellnasl_snmpv1_get (lex_ctxt *)
 
tree_cellnasl_snmpv1_getnext (lex_ctxt *)
 
tree_cellnasl_snmpv2c_get (lex_ctxt *)
 
tree_cellnasl_snmpv2c_getnext (lex_ctxt *)
 
tree_cellnasl_snmpv3_get (lex_ctxt *)
 
tree_cellnasl_snmpv3_getnext (lex_ctxt *)
 

Detailed Description

Headers of an API for SNMP used by NASL scripts.

Definition in file nasl_snmp.h.

Function Documentation

◆ nasl_snmpv1_get()

tree_cell* nasl_snmpv1_get ( lex_ctxt )

Definition at line 703 of file nasl_snmp.c.

704 {
706 }

References NASL_SNMP_GET, nasl_snmpv1v2c_get(), and SNMP_VERSION_1.

Here is the call graph for this function:

◆ nasl_snmpv1_getnext()

tree_cell* nasl_snmpv1_getnext ( lex_ctxt )

Definition at line 709 of file nasl_snmp.c.

710 {
712 }

References NASL_SNMP_GETNEXT, nasl_snmpv1v2c_get(), and SNMP_VERSION_1.

Here is the call graph for this function:

◆ nasl_snmpv2c_get()

tree_cell* nasl_snmpv2c_get ( lex_ctxt )

Definition at line 715 of file nasl_snmp.c.

716 {
718 }

References NASL_SNMP_GET, nasl_snmpv1v2c_get(), and SNMP_VERSION_2c.

Here is the call graph for this function:

◆ nasl_snmpv2c_getnext()

tree_cell* nasl_snmpv2c_getnext ( lex_ctxt )

Definition at line 721 of file nasl_snmp.c.

722 {
724 }

References NASL_SNMP_GETNEXT, nasl_snmpv1v2c_get(), and SNMP_VERSION_2c.

Here is the call graph for this function:

◆ nasl_snmpv3_get()

tree_cell* nasl_snmpv3_get ( lex_ctxt )

Definition at line 832 of file nasl_snmp.c.

833 {
834  return nasl_snmpv3_get_action (lexic, NASL_SNMP_GET);
835 }

References NASL_SNMP_GET, and nasl_snmpv3_get_action().

Here is the call graph for this function:

◆ nasl_snmpv3_getnext()

tree_cell* nasl_snmpv3_getnext ( lex_ctxt )

Definition at line 838 of file nasl_snmp.c.

839 {
841 }

References NASL_SNMP_GETNEXT, and nasl_snmpv3_get_action().

Here is the call graph for this function:
NASL_SNMP_GET
#define NASL_SNMP_GET
Definition: nasl_snmp.c:358
SNMP_VERSION_1
#define SNMP_VERSION_1
SNMP V1.
Definition: nasl_snmp.c:33
nasl_snmpv3_get_action
static tree_cell * nasl_snmpv3_get_action(lex_ctxt *lexic, u_char action)
Definition: nasl_snmp.c:727
nasl_snmpv1v2c_get
static tree_cell * nasl_snmpv1v2c_get(lex_ctxt *lexic, int version, u_char action)
Definition: nasl_snmp.c:633
NASL_SNMP_GETNEXT
#define NASL_SNMP_GETNEXT
Definition: nasl_snmp.c:359
SNMP_VERSION_2c
#define SNMP_VERSION_2c
SNMP V2c.
Definition: nasl_snmp.c:38