classify: remove includes from classifier header file 54/22154/2
authorDamjan Marion <damarion@cisco.com>
Thu, 19 Sep 2019 16:43:42 +0000 (18:43 +0200)
committerDave Barach <openvpp@barachs.net>
Fri, 20 Sep 2019 13:52:06 +0000 (13:52 +0000)
Type: refactor

Change-Id: I6f0af1c3078edce1c1b29a8b99c4a232d7084d33
Signed-off-by: Damjan Marion <damarion@cisco.com>
15 files changed:
MAINTAINERS
src/plugins/ioam/analyse/ip6/ip6_ioam_analyse.c
src/plugins/ioam/analyse/ip6/node.c
src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_thread.c
src/plugins/ioam/export/ioam_export_thread.c
src/plugins/ioam/export/node.c
src/plugins/nsh/nsh-md2-ioam/export-nsh-md2-ioam/nsh_md2_ioam_export_thread.c
src/plugins/nsh/nsh-md2-ioam/export-nsh-md2-ioam/nsh_md2_ioam_node.c
src/vnet/classify/flow_classify.c
src/vnet/classify/vnet_classify.h
src/vnet/dhcp/dhcp6_client_common_dp.c
src/vnet/l2/l2_input.h
src/vnet/l2/l2_vtr.h
src/vnet/lisp-cp/lisp_types.c
src/vnet/lldp/lldp_cli.c

index 6970a00..dcd7bc6 100644 (file)
@@ -73,6 +73,11 @@ I:   bfd
 M:     Klement Sekera <ksekera@cisco.com>
 F:     src/vnet/bfd/
 
+VNET Classifier
+I:     classify
+M:     Dave Barach <dave@barachs.net>
+F:     src/vnet/classify
+
 VNET Device Drivers
 I:     devices
 M:     Damjan Marion <damarion@cisco.com>
index 39442b6..99ba329 100644 (file)
@@ -13,6 +13,7 @@
  * limitations under the License.
  */
 
+#include <vnet/ethernet/ethernet.h>
 #include <ioam/analyse/ioam_analyse.h>
 #include <ioam/export-common/ioam_export.h>
 #include <ioam/analyse/ip6/ip6_ioam_analyse.h>
index 2568e30..ef35d0a 100644 (file)
@@ -16,6 +16,7 @@
 #include <vlib/vlib.h>
 #include <vnet/vnet.h>
 #include <vppinfra/error.h>
+#include <vnet/ethernet/ethernet.h>
 #include <vnet/ip/ip.h>
 #include <ioam/export-common/ioam_export.h>
 #include <ioam/encap/ip6_ioam_trace.h>
index 618278c..7d66bd4 100644 (file)
@@ -17,6 +17,7 @@
  */
 #include <vnet/api_errno.h>
 #include <vppinfra/pool.h>
+#include <vnet/ethernet/ethernet.h>
 #include <ioam/export-common/ioam_export.h>
 
 static vlib_node_registration_t vxlan_gpe_ioam_export_process_node;
index 5f1d964..be1a2be 100644 (file)
@@ -17,6 +17,7 @@
  */
 #include <vnet/api_errno.h>
 #include <vppinfra/pool.h>
+#include <vnet/ethernet/ethernet.h>
 #include <ioam/export-common/ioam_export.h>
 
 static vlib_node_registration_t ioam_export_process_node;
index 9b61c90..3aeac0b 100644 (file)
@@ -16,6 +16,7 @@
 #include <vnet/vnet.h>
 #include <vnet/pg/pg.h>
 #include <vppinfra/error.h>
+#include <vnet/ethernet/ethernet.h>
 #include <vnet/ip/ip.h>
 #include <vnet/ip/ip6_hop_by_hop.h>
 #include <ioam/export-common/ioam_export.h>
index c5dd1bc..54dc01b 100644 (file)
@@ -17,6 +17,7 @@
  */
 #include <vnet/api_errno.h>
 #include <vppinfra/pool.h>
+#include <vnet/ethernet/ethernet.h>
 #include <ioam/export-common/ioam_export.h>
 
 static vlib_node_registration_t nsh_md2_ioam_export_process_node;
index f2910c3..6b1627b 100644 (file)
@@ -16,6 +16,7 @@
 #include <vnet/vnet.h>
 #include <vnet/pg/pg.h>
 #include <vppinfra/error.h>
+#include <vnet/ethernet/ethernet.h>
 #include <vnet/ip/ip.h>
 #include <nsh/nsh.h>
 #include <nsh/nsh_packet.h>
index 941a030..afdadc6 100644 (file)
@@ -12,6 +12,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+#include <vnet/feature/feature.h>
 #include <vnet/classify/flow_classify.h>
 
 flow_classify_main_t flow_classify_main;
index 986e0a6..620ef9a 100644 (file)
 #ifndef __included_vnet_classify_h__
 #define __included_vnet_classify_h__
 
-#include <stdarg.h>
-
-#include <vlib/vlib.h>
 #include <vnet/vnet.h>
-#include <vnet/pg/pg.h>
-#include <vnet/ethernet/ethernet.h>
-#include <vnet/ethernet/packet.h>
-#include <vnet/ip/ip_packet.h>
-#include <vnet/ip/ip4_packet.h>
-#include <vnet/ip/ip6_packet.h>
-#include <vlib/cli.h>
 #include <vnet/api_errno.h>    /* for API error numbers */
 
 #include <vppinfra/error.h>
index d9e1fc7..7ca3b61 100644 (file)
@@ -13,6 +13,7 @@
  * limitations under the License.
  */
 
+#include <vnet/ethernet/ethernet.h>
 #include <vnet/dhcp/dhcp6_client_common_dp.h>
 #include <vnet/dhcp/dhcp6_ia_na_client_dp.h>
 #include <vnet/dhcp/dhcp6_pd_client_dp.h>
index 677186b..0e1e98f 100644 (file)
@@ -21,6 +21,7 @@
 #include <vlib/vlib.h>
 #include <vnet/vnet.h>
 #include <vnet/l2/l2_bd.h>
+#include <vnet/ethernet/ethernet.h>
 #include <vnet/ethernet/packet.h>
 #include <vnet/ip/ip.h>
 
index f6454bf..1cd9209 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <vlib/vlib.h>
 #include <vnet/vnet.h>
+#include <vnet/ethernet/ethernet.h>
 #include <vnet/ethernet/packet.h>
 #include <vnet/l2/l2_vtr.h>
 
index 5691933..cc2b1b2 100644 (file)
@@ -13,6 +13,7 @@
  * limitations under the License.
  */
 
+#include <vnet/ethernet/ethernet.h>
 #include <vnet/lisp-cp/lisp_types.h>
 
 static u16 gid_address_put_no_vni (u8 * b, gid_address_t * gid);
index 4680292..5f63e4a 100644 (file)
@@ -18,6 +18,7 @@
  * @brief LLDP CLI handling
  *
  */
+#include <vnet/ethernet/ethernet.h>
 #include <vnet/lisp-cp/lisp_types.h>
 #include <vnet/lldp/lldp.h>
 #include <vnet/lldp/lldp_node.h>