X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fbridge.h;h=c1b0a2b52306278352b4ff8e54a851b822e39a44;hb=2bd135b5f88b1633042fe4dc99119bfbe14bd73e;hp=a7250b29f4e7e5a88d40a49513ab952ae38e9a66;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=sliver-openvswitch.git diff --git a/vswitchd/bridge.h b/vswitchd/bridge.h index a7250b29f..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,17 +16,15 @@ #ifndef VSWITCHD_BRIDGE_H #define VSWITCHD_BRIDGE_H 1 -#include -#include "list.h" +struct simap; -struct svec; +void bridge_init(const char *remote); +void bridge_exit(void); -void bridge_init(void); -void bridge_reconfigure(void); -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 */