X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=vswitchd%2Fbridge.h;h=3783a21e3b4cb82b05b89ad33b466b0382734e4e;hb=cc245ce87d3de9c2a66ee42719ab413e464fb2de;hp=3d3770d702212362d6869ef9eb9b053fd601f95b;hpb=7634353824f1631c3008dc43a4a1cc0aebff3caa;p=cascardo%2Fovs.git diff --git a/vswitchd/bridge.h b/vswitchd/bridge.h index 3d3770d70..3783a21e3 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,14 @@ #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_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 */