>
> netsnmp_table_row *row =
> netsnmp_table_data_set_create_row_from_defaults(
> ds->default_row);
> // tweak 'row' as required
> netsnmp_table_dataset_add_row( ds, row );
>
dear sir,
i have created the table with mib2c.create-dataset.conf.
i have created the tabl
dear sir,
I got your point. thanks for the clear analysis!
victor
> > thanks for the helpful reply.
> > This is what i use, i think you use a short form for
> > netsnmp_register_table_data_set(..)??? Right?
>
> netsnmp_register_table_data_set() takes three parameters:
>- netsnmp_handle
> On Wed, 2005-05-25 at 11:30, Victor Yeo wrote:
>
> > One more question, i use mib2c.create-dataset.conf to generate this
table.
> > Can i create the table rows in real-time?
>
> Yes.
>
> If you register the dataset table using:
>
al Message -
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "Victor Yeo" <[EMAIL PROTECTED]>
Cc: "Net-SNMP Users"
Sent: Tuesday, May 24, 2005 8:19 PM
Subject: Re: ASN_IPADDRESS data type
> On Tue, 2005-05-24 at 12:19, Victor Yeo wrote:
> > now i come
pointing out.
Rgds,
Victor
- Original Message -
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "Victor Yeo" <[EMAIL PROTECTED]>
Cc: "Net-SNMP Users"
Sent: Tuesday, May 24, 2005 5:16 PM
Subject: Re: ASN_IPADDRESS data type
> On Tue, 2005-05-24 at
good'day
after creating c code from MIB file, the code snippet:
snmp_set_var_typed_value(request->requestvb, ASN_IPADDRESS,
/* XXX: a pointer to the scalar's data */
,
/*XXX: the length*/
);
My question is : what is the data type to represent ip ad
good'day
after creating c code fromMIB file, the code snippet:
snmp_set_var_typed_value(request->requestvb, ASN_IPADDRESS,
/* XXX: a pointer to the scalar's data */
,
/*XXX: the length*/
);
My question is : what is the data type to represent ip add