Hi,
I have called the m2IfTblEntryGet which is in m2lib in vxworks 5.5.
The following is my code and problem is giving by comment
//////////////////////////////////////////////////////////////////
void ifEntryNext
(
OIDC_T lastmatch,
int compc,
OIDC_T * compl,
SNMP_PKT_T * pktp,
VB_T * vbp
)
{
..................................
M2_INTERFACETBL ifEntry;
............................

if (m2IfTblEntryGet (M2_NEXT_VALUE, &ifEntry) != OK) //after this
called,ifEntry has obtain the value,but
// the address of pktp,vbp is 0x00000000.I don't know why
this,because m2lib is cann't access
.................
nextproc_next_instance (pktp, vbp, IF_INDEX_LEN,
ifIndex); //when run up to the code, this will give error
access the 0x00000000 address. And pktp =0x00000000,vbp = 0x00000000

/////////////////////////////////////////////////////////////////////////////
Also cann't backtrace the code m2IfTblEntryGet. Who can give me the
solution?
Help me!