Remove unused, obsolete attributes from OpenFlow netlink protocol.
[openvswitch] / include / openflow-netlink.h
index 0fd739b3cc0f8c145c579c2bd3afe9411d1cba85..3e580b15f21af9aabcfb43849ede7f9fde031423 100644 (file)
@@ -34,8 +34,6 @@
 #ifndef OPENFLOW_NETLINK_H
 #define OPENFLOW_NETLINK_H 1
 
-#include <linux/netlink.h>
-
 #define DP_GENL_FAMILY_NAME "OpenFlow"
 
 /* Attributes that can be attached to the datapath's netlink messages. */
@@ -46,9 +44,6 @@ enum {
        DP_GENL_A_MC_GROUP,      /* Generic netlink multicast group. */
        DP_GENL_A_OPENFLOW,  /* OpenFlow packet. */
 
-    DP_GENL_A_NPACKETS,  /* Number of packets to send up netlink */
-    DP_GENL_A_PSIZE,     /* Size of packets to send up netlink */
-
        __DP_GENL_A_MAX,
        DP_GENL_A_MAX = __DP_GENL_A_MAX - 1
 };
@@ -63,10 +58,8 @@ enum dp_genl_command {
        DP_GENL_C_DEL_PORT,      /* Remove port from datapath. */
        DP_GENL_C_OPENFLOW,  /* Encapsulated OpenFlow protocol. */
 
-    DP_GENL_C_BENCHMARK_NL, /* Benchmark netlink connection */
-
        __DP_GENL_C_MAX,
        DP_GENL_C_MAX = __DP_GENL_C_MAX - 1
 };
 
-#endif /* openflow_netlink_h */
+#endif /* openflow_netlink.h */