Contiki-NG
Data Fields
snmp_header_s::snmp_msg_community Struct Reference

Struct to wrap the community. More...

#include <os/net/app-layer/snmp/snmp.h>

Data Fields

const char * community
 A pointer to the community. More...
 
uint32_t length
 The string length. More...
 

Detailed Description

Struct to wrap the community.

Definition at line 101 of file snmp.h.

Field Documentation

◆ community

const char* snmp_header_s::snmp_msg_community::community

A pointer to the community.

Remarks
This pointer refers to the beginning of the string in the packet

Definition at line 107 of file snmp.h.

Referenced by snmp_engine().

◆ length

uint32_t snmp_header_s::snmp_msg_community::length

The string length.

Remarks
Do not use strlen on the community pointer since it is not null terminated

Definition at line 113 of file snmp.h.

Referenced by snmp_engine().