![]() |
Qt 6.x
The Qt SDK
|
#include "qnativesocketengine_p_p.h"#include "private/qnet_unix_p.h"#include "qiodevice.h"#include "qhostaddress.h"#include "qelapsedtimer.h"#include "qvarlengtharray.h"#include "qnetworkinterface.h"#include "qendian.h"#include <time.h>#include <errno.h>#include <fcntl.h>#include <net/if.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) |
|
static |
Definition at line 82 of file qnativesocketengine_unix.cpp.
References QAbstractSocketEngine::AddressReusable, QAbstractSocket::AnyIPProtocol, QAbstractSocketEngine::BindExclusively, QAbstractSocketEngine::BroadcastSocketOption, QAbstractSocket::IPv4Protocol, QAbstractSocket::IPv6Protocol, QAbstractSocketEngine::KeepAliveOption, QAbstractSocketEngine::LowDelayOption, QAbstractSocketEngine::MaxStreamsSocketOption, QAbstractSocketEngine::MulticastLoopbackOption, QAbstractSocketEngine::MulticastTtlOption, QAbstractSocketEngine::NonBlockingSocketOption, opt, QAbstractSocketEngine::PathMtuInformation, QAbstractSocketEngine::ReceiveBufferSocketOption, QAbstractSocketEngine::ReceiveHopLimit, QAbstractSocketEngine::ReceiveOutOfBandData, QAbstractSocketEngine::ReceivePacketInformation, QAbstractSocketEngine::SendBufferSocketOption, and QAbstractSocketEngine::TypeOfServiceOption.
Referenced by QNativeSocketEnginePrivate::option(), and QNativeSocketEnginePrivate::setOption().
Here is the caller graph for this function:
|
static |
Definition at line 617 of file qnativesocketengine_unix.cpp.
References QNativeSocketEnginePrivate::AddressNotAvailableErrorString, d, interface, QAbstractSocket::IPv4Protocol, QAbstractSocket::IPv6Protocol, QAbstractSocket::NetworkError, QNativeSocketEnginePrivate::NetworkUnreachableErrorString, QNativeSocketEnginePrivate::OperationUnsupportedErrorString, QHostAddress::protocol(), QNativeSocketEnginePrivate::ProtocolUnsupportedErrorString, QAbstractSocket::SocketAddressNotAvailableError, QHostAddress::toIPv4Address(), QHostAddress::toIPv6Address(), QAbstractSocket::UnknownSocketError, QNativeSocketEnginePrivate::UnknownSocketErrorString, and QAbstractSocket::UnsupportedSocketOperationError.
Referenced by QNativeSocketEnginePrivate::nativeJoinMulticastGroup(), and QNativeSocketEnginePrivate::nativeLeaveMulticastGroup().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 54 of file qnativesocketengine_unix.cpp.
References AF_INET6, QNetworkInterface::interfaceNameFromIndex(), QHostAddress::setAddress(), and QHostAddress::setScopeId().
Referenced by QNativeSocketEnginePrivate::fetchConnectionParameters(), and QNativeSocketEnginePrivate::nativeReceiveDatagram().
Here is the call graph for this function:
Here is the caller graph for this function: