Add support for etherType field for netapi_netcpCfgCraeteMacInterface
[keystone-rtos/netapi.git] / ti / runtime / netapi / netcp_cfg.h
index c6b8f140871595fe6fc4f949dd0e4c4bbfae5144..5ad7b5b409caa3a5dc31c3c207f826a99462ba50 100755 (executable)
@@ -630,6 +630,8 @@ void netapi_netcpCfgDelIp(NETAPI_T          h,
  *  @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]  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
  *  @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
@@ -642,6 +644,7 @@ NETCP_CFG_MACIF_T  netapi_netcpCfgCreateMacInterface(NETAPI_T
                                                      int                        switch_port,
                                                      NETCP_CFG_ROUTE_HANDLE_T   route,
                                                      NETCP_CFG_VLAN_T           vlan,
                                                      int                        switch_port,
                                                      NETCP_CFG_ROUTE_HANDLE_T   route,
                                                      NETCP_CFG_VLAN_T           vlan,
+                                                     uint16_t                   etherType,
                                                      int                        state,
                                                      int *                      err);
 
                                                      int                        state,
                                                      int *                      err);