OpenVAS Scanner 23.32.3
snmpv1v2_request Struct Reference

SNMP Request struct for snmp v1 and v2c. More...

Collaboration diagram for snmpv1v2_request:
Collaboration graph

Data Fields

char * peername
char * community
char * oid_str
int version
u_char action

Detailed Description

SNMP Request struct for snmp v1 and v2c.

Definition at line 46 of file nasl_snmp.c.

Field Documentation

◆ action

u_char snmpv1v2_request::action

snmp get or getnext action.

Definition at line 52 of file nasl_snmp.c.

Referenced by nasl_snmpv1v2c_get(), and snmpv1v2c_get().

◆ community

char* snmpv1v2_request::community

snmp community name.

Definition at line 49 of file nasl_snmp.c.

Referenced by nasl_snmpv1v2c_get(), and snmpv1v2c_get().

◆ oid_str

char* snmpv1v2_request::oid_str

snmp oid to search for.

Definition at line 50 of file nasl_snmp.c.

Referenced by nasl_snmpv1v2c_get(), and snmpv1v2c_get().

◆ peername

char* snmpv1v2_request::peername

snmp peer name.

Definition at line 48 of file nasl_snmp.c.

Referenced by nasl_snmpv1v2c_get(), and snmpv1v2c_get().

◆ version

int snmpv1v2_request::version

snmp version.

Definition at line 51 of file nasl_snmp.c.

Referenced by nasl_snmpv1v2c_get(), and snmpv1v2c_get().


The documentation for this struct was generated from the following file: