Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qnativesocketengine_unix.cpp File Reference

(a395c091a56781352113670b72ba619367486e7e)

#include "qnativesocketengine_p_p.h"
#include "private/qnet_unix_p.h"
#include "qdeadlinetimer.h"
#include "qiodevice.h"
#include "qhostaddress.h"
#include "qvarlengtharray.h"
#include "qnetworkinterface.h"
#include "qnetworkinterface_p.h"
#include "qendian.h"
#include <time.h>
#include <errno.h>
#include <fcntl.h>
#include <netinet/tcp.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>
Include dependency graph for qnativesocketengine_unix.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE void qt_socket_getPortAndAddress (const qt_sockaddr *s, quint16 *port, QHostAddress *addr)
static void convertToLevelAndOption (QNativeSocketEngine::SocketOption opt, QAbstractSocket::NetworkLayerProtocol socketProtocol, int &level, int &n)
static bool multicastMembershipHelper (QNativeSocketEnginePrivate *d, int how6, int how4, const QHostAddress &groupAddress, const QNetworkInterface &interface)

Function Documentation

◆ convertToLevelAndOption()

void convertToLevelAndOption ( QNativeSocketEngine::SocketOption opt,
QAbstractSocket::NetworkLayerProtocol socketProtocol,
int & level,
int & n )
static

Definition at line 74 of file qnativesocketengine_unix.cpp.

◆ multicastMembershipHelper()

bool multicastMembershipHelper ( QNativeSocketEnginePrivate * d,
int how6,
int how4,
const QHostAddress & groupAddress,
const QNetworkInterface & interface )
static

Definition at line 648 of file qnativesocketengine_unix.cpp.

◆ qt_socket_getPortAndAddress()

QT_BEGIN_NAMESPACE void qt_socket_getPortAndAddress ( const qt_sockaddr * s,
quint16 * port,
QHostAddress * addr )
inlinestatic

Definition at line 46 of file qnativesocketengine_unix.cpp.