index d4decbcda461facd93ad3bcefd969b903026a103..f97dfa25c80e815ca1c64e2005cec4daa27fc952 100755 (executable)
#define NETCP_DEFAULT_ROUTE (NETCP_CFG_ROUTE_HANDLE_T) NULL
-#if 0
-/**
- * @ingroup cfg_constants
- * @def NETCP_CFG_ROUTE_VLAN_PRIORITY
-* @brief Route by using VLAN bits as priority
- */
-#define NETCP_CFG_ROUTE_VLAN_PRIORITY 0x1
-
-/**
- * @ingroup cfg_constants
- * @def NETCP_CFG_ROUTE_DSCP_PRIORITY
-* @brief Route by using DSCP value as priority
- */
-#define NETCP_CFG_ROUTE_DSCP_PRIORITY 0x2
-
-/**
- * @ingroup cfg_constants
- * @def NETCP_CFG_ROUTE_RX_INTF
-* @brief Route by using EMAC port (interface) number as destination queue offset
- */
-#define NETCP_CFG_ROUTE_RX_INTF 0x4
-
-/**
- * @ingroup cfg_constants
- * @def NETCP_CFG_ROUTE_RX_INTF_W_FLOW
- * @brief Route by using EMAC port (interface) number as both
- * destination queue and CPPI flow offset
- */
-#define NETCP_CFG_ROUTE_RX_INTF_W_FLOW 0x8
-#endif
/**
* @ingroup cfg_constants
* @{
* @param[in] h NETAPI instance handle, @ref NETAPI_T
* @param[in] iface_no interface number (0,1,..)
* @param[in] ipType type of IP address (V4 for V6)
- * @param[in] ip_addr local
+ * @param[in] ip_addr destination or local
+ * @param[in] ip_rem_addr source or remote
* @param[in] ip_qualifiers ip_qualifiers (all 0 for no qualifiers). This can be used to apply special handling for
* diffserv category for example.
* @param[in] route handle of a created route or NULL to use internal default route, @ref NETCP_CFG_ROUTE_HANDLE_T
int iface_no,
nwal_IpType ipType,
nwalIpAddr_t* ip_addr,
+ nwalIpAddr_t* ip_rem_addr,
nwalIpOpt_t* ip_qualifiers,
NETCP_CFG_ROUTE_HANDLE_T route,
void* user_data,