SIOCGIFPAIR
if (ioctl(sock, SIOCGIFPAIR, &ifrdesc) == 0 && ifrdesc.ifr_index != 0 &&
case SIOCGIFPAIR: