Searched refs:ctlfd (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | qemu-bridge-helper.c | 239 int fd = -1, ctlfd = -1, unixfd = -1; in main() local 331 ctlfd = socket(AF_INET, SOCK_STREAM, 0); in main() 332 if (ctlfd == -1) { in main() 365 if (ioctl(ctlfd, SIOCGIFMTU, &ifr) == -1) { in main() 378 if (ioctl(ctlfd, SIOCSIFMTU, &ifr) == -1) { in main() 389 if (ioctl(ctlfd, SIOCGIFHWADDR, &ifr) < 0) { in main() 396 if (ioctl(ctlfd, SIOCSIFHWADDR, &ifr) < 0) { in main() 412 ret = ioctl(ctlfd, SIOCDEVPRIVATE, &ifr); in main() 415 ret = ioctl(ctlfd, SIOCBRADDIF, &ifr); in main() 457 if (ctlfd >= 0) { in main() [all …]
|