Home | History | Annotate | Download | only in qemu

Lines Matching defs:ip

87 #include <netinet/ip.h>
88 #include <netinet/ip_icmp.h> // must come after ip.h
291 uint32_t ip;
299 ip = 0;
302 if (inet_strtoip(buf, &ip) < 0)
307 ip = sock_address_get_ip(saddr);
313 sock_address_init_inet(saddr, ip, port);
717 /* must have room for Mac + IP header */
724 /* must have valid IP header */
839 int restricted, const char *ip)
847 slirp_init(restricted, ip);
1316 /* Check if IP device was opened */
1322 syslog(LOG_ERR, "Can't open /dev/ip (actually /dev/udp)");
1345 if(ioctl(if_fd, I_PUSH, "ip") < 0){
1346 syslog(LOG_ERR, "Can't push IP module");
1387 syslog(LOG_ERR, "Can't link TAP device to IP");
2266 "vlan", "name", "hostname", "restrict", "ip", NULL
2269 char *ip = NULL;
2282 if (get_param_value(buf, sizeof(buf), "ip", p)) {
2283 ip = qemu_strdup(buf);
2286 ret = net_slirp_init(vlan, device, name, restricted, ip);
2287 qemu_free(ip);