target/cris: Let cris_mmu_translate() use MMUAccessType access_type
[qemu/ar7.git] / net / hub.h
blobce45f7b399d30038e492319009ee4c512a7528db
1 /*
2 * Hub net client
4 * Copyright IBM, Corp. 2012
6 * Authors:
7 * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
8 * Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
10 * This work is licensed under the terms of the GNU LGPL, version 2 or later.
11 * See the COPYING.LIB file in the top-level directory.
15 #ifndef NET_HUB_H
16 #define NET_HUB_H
18 NetClientState *net_hub_add_port(int hub_id, const char *name,
19 NetClientState *hubpeer);
20 void net_hub_info(Monitor *mon);
21 void net_hub_check_clients(void);
22 bool net_hub_flush(NetClientState *nc);
24 #endif /* NET_HUB_H */