Lines Matching refs:nc
122 NetClientState *nc = qemu_get_queue(port->nic); in fp_port_eg() local
125 qemu_sendv_packet(nc, iov, iovcnt); in fp_port_eg()
131 static ssize_t fp_port_receive_iov(NetClientState *nc, const struct iovec *iov, in fp_port_receive_iov() argument
134 FpPort *port = qemu_get_nic_opaque(nc); in fp_port_receive_iov()
149 static ssize_t fp_port_receive(NetClientState *nc, const uint8_t *buf, in fp_port_receive() argument
157 return fp_port_receive_iov(nc, &iov, 1); in fp_port_receive()
160 static void fp_port_cleanup(NetClientState *nc) in fp_port_cleanup() argument
164 static void fp_port_set_link_status(NetClientState *nc) in fp_port_set_link_status() argument
166 FpPort *port = qemu_get_nic_opaque(nc); in fp_port_set_link_status()
168 rocker_event_link_changed(port->r, port->pport, !nc->link_down); in fp_port_set_link_status()
203 NetClientState *nc = qemu_get_queue(port->nic); in fp_port_set_link() local
205 if (up == nc->link_down) { in fp_port_set_link()
206 nc->link_down = !up; in fp_port_set_link()
207 nc->info->link_status_changed(nc); in fp_port_set_link()