Lines Matching full:model
312 "model=%s,macaddr=%02x:%02x:%02x:%02x:%02x:%02x",
313 vc->model,
318 static char *assign_name(VLANClientState *vc1, const char *model)
328 if (vc != vc1 && strcmp(vc->model, model) == 0)
332 snprintf(buf, sizeof(buf), "%s.%d", model, id);
338 const char *model,
348 vc->model = strdup(model);
352 vc->name = assign_name(vc, model);
379 free(vc->model);
795 static int net_slirp_init(VLANState *vlan, const char *model, const char *name,
821 slirp_vc = qemu_new_vlan_client(vlan, model, name, NULL, slirp_receive,
1211 const char *model,
1219 s->vc = qemu_new_vlan_client(vlan, model, name, NULL, tap_receive,
1460 static int net_tap_init(VLANState *vlan, const char *model,
1482 s = net_tap_fd_init(vlan, model, name, fd);
1533 static int net_vde_init(VLANState *vlan, const char *model,
1553 s->vc = qemu_new_vlan_client(vlan, model, name, NULL, vde_receive,
1575 char *model;
1740 const char *model,
1782 s->vc = qemu_new_vlan_client(vlan, model, name, NULL, net_socket_receive_dgram,
1803 const char *model,
1810 s->vc = qemu_new_vlan_client(vlan, model, name, NULL, net_socket_receive,
1823 const char *model, const char *name,
1830 return net_socket_fd_init_dgram(vlan, model, name, fd, is_connected);
1832 return net_socket_fd_init_stream(vlan, model, name, fd, is_connected);
1836 return net_socket_fd_init_stream(vlan, model, name, fd, is_connected);
1856 s1 = net_socket_fd_init(s->vlan, s->model, s->name, fd, 1);
1866 const char *model,
1900 s->model = strdup(model);
1908 const char *model,
1944 s = net_socket_fd_init(vlan, model, name, fd, connected);
1954 const char *model,
1970 s = net_socket_fd_init(vlan, model, name, fd, 0);
2113 void qemu_check_nic_model(NICInfo *nd, const char *model)
2117 models[0] = model;
2120 qemu_check_nic_model_list(nd, models, model);
2128 if (!nd->model)
2129 nd->model = strdup(default_model);
2131 if (strcmp(nd->model, "?") != 0) {
2133 if (strcmp(nd->model, models[i]) == 0)
2136 fprintf(stderr, "qemu: Unsupported NIC model: %s\n", nd->model);
2168 "vlan", "name", "macaddr", "model", NULL
2200 if (get_param_value(buf, sizeof(buf), "model", p)) {
2201 nd->model = strdup(buf);
2444 free((void *)nd->model);
2495 if (!net_host_check_device(vc->model)) {