Lines Matching refs:NetClientState
33 NetClientState nc;
93 static bool net_hub_port_can_receive(NetClientState *nc) in net_hub_port_can_receive()
112 static ssize_t net_hub_port_receive(NetClientState *nc, in net_hub_port_receive()
120 static ssize_t net_hub_port_receive_iov(NetClientState *nc, in net_hub_port_receive_iov()
128 static void net_hub_port_cleanup(NetClientState *nc) in net_hub_port_cleanup()
145 NetClientState *hubpeer) in net_hub_port_new()
147 NetClientState *nc; in net_hub_port_new()
176 NetClientState *net_hub_add_port(int hub_id, const char *name, in net_hub_add_port()
177 NetClientState *hubpeer) in net_hub_add_port()
199 NetClientState *net_hub_port_find(int hub_id) in net_hub_port_find()
203 NetClientState *nc; in net_hub_port_find()
248 int net_hub_id_for_client(NetClientState *nc, int *id) in net_hub_id_for_client()
268 NetClientState *peer, Error **errp) in net_init_hubport()
271 NetClientState *hubpeer = NULL; in net_init_hubport()
297 NetClientState *peer; in net_hub_check_clients()
335 bool net_hub_flush(NetClientState *nc) in net_hub_flush()