Lines Matching defs:nc
51 NetClientState nc; member
116 static ssize_t tap_receive_iov(NetClientState *nc, const struct iovec *iov, in tap_receive_iov()
136 static ssize_t tap_receive(NetClientState *nc, const uint8_t *buf, size_t size) in tap_receive()
153 static void tap_send_completed(NetClientState *nc, ssize_t len) in tap_send_completed()
208 static bool tap_has_ufo(NetClientState *nc) in tap_has_ufo()
217 static bool tap_has_uso(NetClientState *nc) in tap_has_uso()
226 static bool tap_has_vnet_hdr(NetClientState *nc) in tap_has_vnet_hdr()
235 static bool tap_has_vnet_hdr_len(NetClientState *nc, int len) in tap_has_vnet_hdr_len()
240 static void tap_set_vnet_hdr_len(NetClientState *nc, int len) in tap_set_vnet_hdr_len()
251 static int tap_set_vnet_le(NetClientState *nc, bool is_le) in tap_set_vnet_le()
258 static int tap_set_vnet_be(NetClientState *nc, bool is_be) in tap_set_vnet_be()
265 static void tap_set_offload(NetClientState *nc, int csum, int tso4, in tap_set_offload()
289 static void tap_cleanup(NetClientState *nc) in tap_cleanup()
310 static void tap_poll(NetClientState *nc, bool enable) in tap_poll()
317 static bool tap_set_steering_ebpf(NetClientState *nc, int prog_fd) in tap_set_steering_ebpf()
325 int tap_get_fd(NetClientState *nc) in tap_get_fd()
358 NetClientState *nc; in net_tap_fd_init() local
983 VHostNetState *tap_get_vhost_net(NetClientState *nc) in tap_get_vhost_net()
990 int tap_enable(NetClientState *nc) in tap_enable()
1007 int tap_disable(NetClientState *nc) in tap_disable()