MythTV  master
Classes | Macros | Functions | Variables
serverpool.cpp File Reference
#include <QNetworkAddressEntry>
#include <QReadWriteLock>
#include <QWriteLocker>
#include <QReadLocker>
#include <QTcpSocket>
#include "mythcorecontext.h"
#include "mythlogging.h"
#include "serverpool.h"
Include dependency graph for serverpool.cpp:

Go to the source code of this file.

Classes

class  PrivUdpSocket
 

Macros

#define LOC   QString("ServerPool: ")
 

Functions

static QString prettyip (const QHostAddress &x)
 

Variables

static QList< QNetworkAddressEntry > naList_4
 
static QList< QNetworkAddressEntry > naList_6
 
static QReadWriteLock naLock
 
static QPair< QHostAddress, int > kLinkLocal
 
static QPair< QHostAddress, int > kLinkLocal6
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("ServerPool: ")

Definition at line 20 of file serverpool.cpp.

Function Documentation

◆ prettyip()

static QString prettyip ( const QHostAddress &  x)
inlinestatic

Variable Documentation

◆ naList_4

QList<QNetworkAddressEntry> naList_4
static

◆ naList_6

QList<QNetworkAddressEntry> naList_6
static

◆ naLock

QReadWriteLock naLock
static

◆ kLinkLocal

QPair<QHostAddress, int> kLinkLocal
static
Initial value:
=
QHostAddress::parseSubnet("169.254.0.0/16")

Definition at line 27 of file serverpool.cpp.

Referenced by MythCoreContext::CheckSubnet(), and ServerPool::SelectDefaultListen().

◆ kLinkLocal6

QPair<QHostAddress, int> kLinkLocal6
static
Initial value:
=
QHostAddress::parseSubnet("fe80::/10")

Definition at line 29 of file serverpool.cpp.

Referenced by PrivUdpSocket::contains(), and ServerPool::SelectDefaultListen().