X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto.h;h=546827fa6a3f934278b241cd513d6f6f2ee3001a;hb=72310b041cfa7d8e2ee5fb585348223ac7c22497;hp=1f9cb158912b84d09d8fab92d8c7c959c4e0bb57;hpb=1680d3d7e3813258f5050bb8cb10a2543c60e549;p=sliver-openvswitch.git diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index 1f9cb1589..546827fa6 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -214,6 +214,7 @@ int ofproto_port_dump_done(struct ofproto_port_dump *); ) #define OFPROTO_FLOW_LIMIT_DEFAULT 200000 +#define OFPROTO_MAX_IDLE_DEFAULT 1500 const char *ofproto_port_open_type(const char *datapath_type, const char *port_type); @@ -236,6 +237,7 @@ void ofproto_set_extra_in_band_remotes(struct ofproto *, const struct sockaddr_in *, size_t n); void ofproto_set_in_band_queue(struct ofproto *, int queue_id); void ofproto_set_flow_limit(unsigned limit); +void ofproto_set_max_idle(unsigned max_idle); void ofproto_set_forward_bpdu(struct ofproto *, bool forward_bpdu); void ofproto_set_mac_table_config(struct ofproto *, unsigned idle_time, size_t max_entries);