X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fbridge.h;h=d1ca988ef070a8921a89fc29b0e6ab5d33a4c908;hb=0ef165ecb57943e17a8ee8270df68ffb8d032e29;hp=3d3770d702212362d6869ef9eb9b053fd601f95b;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;p=sliver-openvswitch.git diff --git a/vswitchd/bridge.h b/vswitchd/bridge.h index 3d3770d70..d1ca988ef 100644 --- a/vswitchd/bridge.h +++ b/vswitchd/bridge.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008, 2009 Nicira Networks +/* Copyright (c) 2008, 2009, 2010, 2011, 2012, 2014 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,18 +16,16 @@ #ifndef VSWITCHD_BRIDGE_H #define VSWITCHD_BRIDGE_H 1 -#include -#include "list.h" +struct simap; -struct ovsrec_open_vswitch; -struct svec; +void bridge_init(const char *remote); +void bridge_exit(void); -void bridge_init(const struct ovsrec_open_vswitch *); -void bridge_reconfigure(const struct ovsrec_open_vswitch *); -int bridge_run(void); +void bridge_enable_of14(void); + +void bridge_run(void); void bridge_wait(void); -bool bridge_exists(const char *); -uint64_t bridge_get_datapathid(const char *name); -void bridge_get_ifaces(struct svec *svec); + +void bridge_get_memory_usage(struct simap *usage); #endif /* bridge.h */