Lines Matching defs:net

99 static const int *vhost_net_get_feature_bits(struct vhost_net *net)  in vhost_net_get_feature_bits()
124 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
129 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config()
134 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config()
140 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
146 uint64_t vhost_net_get_max_queues(VHostNetState *net) in vhost_net_get_max_queues()
151 uint64_t vhost_net_get_acked_features(VHostNetState *net) in vhost_net_get_acked_features()
180 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init() local
255 static void vhost_net_set_vq_index(struct vhost_net *net, int vq_index, in vhost_net_set_vq_index()
262 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
336 static void vhost_net_stop_one(struct vhost_net *net, in vhost_net_stop_one()
366 struct vhost_net *net; in vhost_net_start() local
473 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
478 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done()
488 bool vhost_net_virtqueue_pending(VHostNetState *net, int idx) in vhost_net_virtqueue_pending()
493 void vhost_net_virtqueue_mask(VHostNetState *net, VirtIODevice *dev, in vhost_net_virtqueue_mask()
499 bool vhost_net_config_pending(VHostNetState *net) in vhost_net_config_pending()
504 void vhost_net_config_mask(VHostNetState *net, VirtIODevice *dev, bool mask) in vhost_net_config_mask()
547 VHostNetState *net = get_vhost_net(nc); in vhost_set_vring_enable() local
569 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()
583 VHostNetState *net = get_vhost_net(nc->peer); in vhost_net_virtqueue_reset() local
608 VHostNetState *net = get_vhost_net(nc->peer); in vhost_net_virtqueue_restart() local