Searched defs:shared_net_id (Results 1 - 1 of 1) sorted by relevance

/external/qemu/android/
H A Dmain.c361 if (opts->shared_net_id) {
363 long shared_net_id = strtol(opts->shared_net_id, &end, 0); local
364 if (end == NULL || *end || shared_net_id < 1 || shared_net_id > 255) {
369 "net.shared_net_ip=10.1.2.%ld", shared_net_id);
1167 if (opts->shared_net_id) {
1168 unsigned int shared_net_id = atoi(opts->shared_net_id); local
1177 snprintf(nic, sizeof nic, "nic,vlan=1,macaddr=52:54:00:12:34:%02x", shared_net_id);
[all...]

Completed in 182 milliseconds