/* Copyright 1993 - 2008 Wind River Systems, Inc. */ #include "copyright_wrs.h" /* modification history -------------------- 01u,10jun08,zhr written */ #ifdef _WRS_KERNEL #include #endif #include #include #include "errnoLib.h" #include "vwModNum.h" #include "in.h" #include #include #include #ifndef _WRS_KERNEL #include /* bzero */ #endif /* _WRS_KERNEL */ STATUS testM2LibIcmp (int); STATUS testM2LibSystem(int); STATUS testM2LibIp (int); STATUS testM2LibIfTable(int); STATUS m2TestInit (void); STATUS (*func[])(int) = { testM2LibIcmp, testM2LibIp, testM2LibIfTable, testM2LibSystem }; STATUS m2TestInit (void) { return OK; } STATUS testM2LibIcmp (int flag) { M2_ICMP pIcmpInfo; if (m2IcmpGroupInfoGet (&pIcmpInfo) == ERROR) return (ERROR); printf (" icmpInMsgs = %d\n",pIcmpInfo.icmpInMsgs); printf (" icmpOutMsgs = %d\n",pIcmpInfo.icmpOutMsgs); /* * display all message here */ return OK; } STATUS testM2LibSystem(int flag) { /* func to be implemented */ return OK; } STATUS testM2LibIp(int flag) { /* func to be implemented */ return OK; } STATUS testM2LibIfTable(int flag) { /* func to be implemented */ return OK; }