X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fbridge.h;h=7bffee8ad10bcbd170f05286f64e9b749575b11c;hb=e95f1d01087ad27a71f70d8baa5c95f4350ba5bc;hp=a7250b29f4e7e5a88d40a49513ab952ae38e9a66;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=sliver-openvswitch.git diff --git a/vswitchd/bridge.h b/vswitchd/bridge.h index a7250b29f..7bffee8ad 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,14 @@ #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_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 */