index cddd5cd2f1fd932e6021338f9f14120785b56854..5ad7b5b409caa3a5dc31c3c207f826a99462ba50 100755 (executable)
extern "C" {
#endif
-#include "netapi.h"
+//#include "netapi.h"
/**
* @ingroup cfg_structures
int def_heap_tailroom_size; /**< Size of tailroom in reserve */
int def_heap_extra_size; /**< Size of extra space at end of buffer */
int def_multi_process; /**< Flag to indicate if NETAPI init is for multi-process environment */
+ void *rmHandle; /**< Optional: Resource Manager (RM) server handle to use RM for re souce allocations*/
} NETAPI_CFG_T;
/* @note:
* @param[in] switch_port (0 don't care, 1 switch port 1, 1 switch port 2) [only 0 supported currenly]
* @param[in] route handle of a created route or NULL to use internal default route, @ref NETCP_CFG_ROUTE_HANDLE_T
* @param[in] vlan [future[ vlan configuration . Set to NULL, @ref NETCP_CFG_VLAN_T
+ * @param[in] etherType Ethertype field.
+
* @param[in] state [future] interface state (0=down, 1= up)
* @param[out] err pointer to error return
* @retval returns AppID for interface (this is returned in meta data for received packets matching this rule an no others, @ref NETCP_CFG_MACIF_T
int switch_port,
NETCP_CFG_ROUTE_HANDLE_T route,
NETCP_CFG_VLAN_T vlan,
+ uint16_t etherType,
int state,
int * err);