Re: MAC Address As Index

2019-09-17 Thread Krishna Chaitanya
On Tue, Sep 17, 2019 at 5:09 PM Krishna Chaitanya wrote: > > On Tue, Sep 17, 2019 at 4:51 PM Bill Fenner wrote: > > > > On Tue, Sep 17, 2019 at 4:27 AM Krishna Chaitanya > > wrote: > >> > >> On Tue, Sep 17, 2019 at 5:18 AM Bill Fenner wrote: > >> > > >> > You can do this if you use

Re: MAC Address As Index

2019-09-17 Thread Krishna Chaitanya
On Tue, Sep 17, 2019 at 4:51 PM Bill Fenner wrote: > > On Tue, Sep 17, 2019 at 4:27 AM Krishna Chaitanya > wrote: >> >> On Tue, Sep 17, 2019 at 5:18 AM Bill Fenner wrote: >> > >> > You can do this if you use snmp_varlist_add_variable() to create the index >> > info (you can't use

Re: MAC Address As Index

2019-09-17 Thread Bill Fenner
On Tue, Sep 17, 2019 at 4:27 AM Krishna Chaitanya wrote: > On Tue, Sep 17, 2019 at 5:18 AM Bill Fenner wrote: > > > > You can do this if you use snmp_varlist_add_variable() to create the > index info (you can't use netsnmp_table_helper_add_indexes). The code > would be something like > > > >

Re: MAC Address As Index

2019-09-17 Thread Krishna Chaitanya
On Tue, Sep 17, 2019 at 5:18 AM Bill Fenner wrote: > > You can do this if you use snmp_varlist_add_variable() to create the index > info (you can't use netsnmp_table_helper_add_indexes). The code would be > something like > > table_info = SNMP_MALLOC_TYPEDEF(