Compaq TCP/IP Services for OpenVMS Programming And Reference Manual page 94

Tcp/ip services for openvms
Table of Contents

Advertisement

eSNMP API Routines
o_string
Example
#include <esnmp.h>
#include "ip_tbl.h" <-- for ipNetToMediaEntry_type definition
VARBIND
OBJECT
ipNetToMediaEntry_type *data;
:
: assume buffer and structure member assignments occur here
:
switch(arg) {
case I_atPhysAddress:
return o_string(vb, object, data->ipNetToMediaPhysAddress.ptr,
5–36 eSNMP API Routines
*vb
= method->varbind;
*object
= method->object;
data->ipNetToMediaPhysAddress.len);

Advertisement

Table of Contents
loading

Table of Contents