X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fbridge.h;h=c1b0a2b52306278352b4ff8e54a851b822e39a44;hb=76c4290d8adceeec8ee4ffebd5742b5c1f6a1dec;hp=3d3770d702212362d6869ef9eb9b053fd601f95b;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=sliver-openvswitch.git diff --git a/vswitchd/bridge.h b/vswitchd/bridge.h index 3d3770d70..c1b0a2b52 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 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,15 @@ #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_run_fast(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 */