X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.h;h=22484519e9d59cd89bf9257a6234eebe13800355;hb=a31e0e31c6f319b50e0d285117c5d187804a7b2e;hp=6bac96268c73be59ef15141bb519e3569fcd82fd;hpb=26d79bf2686b08a49c881d5bb54501d7584f5111;p=openvswitch diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index 6bac9626..22484519 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -111,16 +111,14 @@ void ofproto_set_desc(struct ofproto *, const char *mfr_desc, const char *hw_desc, const char *sw_desc, const char *serial_desc, const char *dp_desc); -int ofproto_set_listeners(struct ofproto *, const struct svec *listeners); int ofproto_set_snoops(struct ofproto *, const struct svec *snoops); int ofproto_set_netflow(struct ofproto *, const struct netflow_options *nf_options); void ofproto_set_sflow(struct ofproto *, const struct ofproto_sflow_options *); -int ofproto_set_stp(struct ofproto *, bool enable_stp); /* Configuration querying. */ uint64_t ofproto_get_datapath_id(const struct ofproto *); -bool ofproto_has_controller(const struct ofproto *); +bool ofproto_has_primary_controller(const struct ofproto *); enum ofproto_fail_mode ofproto_get_fail_mode(const struct ofproto *); void ofproto_get_listeners(const struct ofproto *, struct svec *); void ofproto_get_snoops(const struct ofproto *, struct svec *);