summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb025a0)
raw | patch | inline | side by side (parent: cb025a0)
author | Tinku Mannan <tmannan@ti.com> | |
Tue, 11 Nov 2014 20:56:44 +0000 (15:56 -0500) | ||
committer | Tinku Mannan <tmannan@ti.com> | |
Tue, 11 Nov 2014 20:56:44 +0000 (15:56 -0500) |
index a97feb7bca2a45d2e501a16446415889e6690e9b..5cc8e52ac9ce10f990005271dc866ab189d4a55a 100755 (executable)
{
goto ERR_netapi_init;
}
- netapi_netcpCfgExceptions(p, NETCP_CFG_ALL_EXCEPTIONS, NETCP_CFG_ACTION_TO_SW, (NETCP_CFG_ROUTE_HANDLE_T) NULL);
}
/* PROC_MASTER case */
else if (master==NETAPI_PROC_MASTER)
{
/* Un-configure rules for execption packet handling */
- netapi_netcpCfgExceptions(p,
- NETCP_CFG_ALL_EXCEPTIONS,
- NETCP_CFG_ACTION_DISCARD,
- (NETCP_CFG_ROUTE_HANDLE_T) NULL);
/* close nwal master (per soc) context */
nwal_delete(pnetapiShm->netapi_global.nwal_context.nwalInstHandle);
index d02a530debf4ce1c104d5fc1d2cc05af675f7c96..657f3ddccb78293237cda0145692b6f4a9915c8d 100755 (executable)
printf("main: returned from netapi_init\n");
/* Un-configure rules for execption packet handling */
- netapi_netcpCfgExceptions(netapi_handle,
- NETCP_CFG_ALL_EXCEPTIONS,
- NETCP_CFG_ACTION_DISCARD,
- (NETCP_CFG_ROUTE_HANDLE_T) NULL);
/* open the main heap */
OurHeap = Pktlib_findHeapByName("netapi");
if (!OurHeap) {printf("findheapbyname fail\n"); exit(1);}
index 52bb2832dce9c5455bdbfd1b0f69e2f15f733d48..8e3f8865fddd5cefd69e9ebf3e82fdea50bdee4c 100755 (executable)
printf("main: netapi_init failure, exiting\n");
exit(1);
}
- netapi_netcpCfgExceptions(netapi_handle, NETCP_CFG_ALL_EXCEPTIONS, NETCP_CFG_ACTION_DISCARD, (NETCP_CFG_ROUTE_HANDLE_T) NULL);
/* open the main heap */
OurHeap = Pktlib_findHeapByName("netapi");
diff --git a/ti/runtime/netapi/test/net_test_loopback.c b/ti/runtime/netapi/test/net_test_loopback.c
index 299c15bab29048aac042076bb76ea7be7fdb461e..d9adaf11bda2461aab25498a35bfe29d70e12427 100755 (executable)
}
/* configure expection packet handling with netapi */
- netapi_netcpCfgExceptions(netapi_handle,
- NETCP_CFG_ALL_EXCEPTIONS,
- NETCP_CFG_ACTION_DISCARD,
- (NETCP_CFG_ROUTE_HANDLE_T) NULL);
expPkt_appid = netapi_netcpCfgExceptions(netapi_handle,
7,
NETCP_CFG_ACTION_TO_SW,
index 48837d410111a8d17031cfaf147929088f8472e0..66f7cf5f9662c950845f6ef4e829042d31872996 100755 (executable)
exit(1);
}
/* configure expection packet handling with netapi */
- netapi_netcpCfgExceptions(netapi_handle, NETCP_CFG_ALL_EXCEPTIONS, NETCP_CFG_ACTION_DISCARD, (NETCP_CFG_ROUTE_HANDLE_T) NULL);
- expPkt_appid = netapi_netcpCfgExceptions(netapi_handle, 7, NETCP_CFG_ACTION_TO_SW, (NETCP_CFG_ROUTE_HANDLE_T) NULL);
+ expPkt_appid = netapi_netcpCfgExceptions(netapi_handle,
+ 7,
+ NETCP_CFG_ACTION_TO_SW,
+ (NETCP_CFG_ROUTE_HANDLE_T) NULL);
/* open the main heap */
ourHeap = Pktlib_findHeapByName("netapi");
index 436cff3d1d8638d4606f7c86aeea6293158cc2f1..021d9b1b8837c37bc7049a7a2d97fc6e2b420891 100755 (executable)
exit(1);
}
- netapi_netcpCfgExceptions(netapi_handle,
- NETCP_CFG_ALL_EXCEPTIONS,
- NETCP_CFG_ACTION_DISCARD,
- (NETCP_CFG_ROUTE_HANDLE_T) NULL);
/* open the main heap */
OurHeap = Pktlib_findHeapByName("netapi");