X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto.h;h=63ae793a5e1bdb6b7b88d3c0c381e38e6e94d716;hb=a6b7506dab305d91fc5f2ac6416a714e5fa09dd4;hp=335e69c2367173077186e69db87b175a662bc57b;hpb=13751fd88c4b7464f9453c03659201c10b3b87a0;p=sliver-openvswitch.git diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index 335e69c23..63ae793a5 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -38,12 +38,12 @@ struct bfd_cfg; struct cfm_settings; struct cls_rule; struct netdev; -struct ofproto; +struct netdev_stats; struct ofport; +struct ofproto; struct shash; struct simap; struct smap; -struct netdev_stats; struct ofproto_controller_info { bool is_connected; @@ -55,13 +55,6 @@ struct ofproto_controller_info { } pairs; }; -struct ofexpired { - struct flow flow; - uint64_t packet_count; /* Packets from subrules. */ - uint64_t byte_count; /* Bytes from subrules. */ - long long int used; /* Last-used time (0 if never used). */ -}; - struct ofproto_sflow_options { struct sset targets; uint32_t sampling_rate; @@ -72,7 +65,6 @@ struct ofproto_sflow_options { char *control_ip; }; - struct ofproto_ipfix_bridge_exporter_options { struct sset targets; uint32_t sampling_rate; @@ -173,7 +165,6 @@ struct iface_hint { void ofproto_init(const struct shash *iface_hints); int ofproto_type_run(const char *datapath_type); -int ofproto_type_run_fast(const char *datapath_type); void ofproto_type_wait(const char *datapath_type); int ofproto_create(const char *datapath, const char *datapath_type, @@ -182,7 +173,6 @@ void ofproto_destroy(struct ofproto *); int ofproto_delete(const char *name, const char *type); int ofproto_run(struct ofproto *); -int ofproto_run_fast(struct ofproto *); void ofproto_wait(struct ofproto *); bool ofproto_is_alive(const struct ofproto *);