• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • kdecore
  • network
Macros | Functions | Variables
k3socketaddress.cpp File Reference
#include "k3socketaddress.h"
#include <config.h>
#include <config-network.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <QFile>
#include <QObject>
#include "klocale.h"
#include "netsupp.h"
Include dependency graph for k3socketaddress.cpp:

Go to the source code of this file.

Macros

#define MIN_SOCKADDR_IN6_LEN   ((quintptr) &(((our_sockaddr_in6*)0)->sin6_scope_id))
 
#define MIN_SOCKADDR_LEN   sizeof(quint16)
 
#define MIN_SOCKADDR_UN_LEN   (sizeof(quint16) + sizeof(char))
 
#define SOCKADDR_IN6_LEN   sizeof(our_sockaddr_in6)
 
#define SOCKADDR_IN_LEN   sizeof(sockaddr_in)
 

Functions

static bool check_v4mapped (const quint32 *v6addr, quint32 v4addr)
 

Variables

static const char localhostV4_data [] = { 127, 0, 0, 1 }
 
static const char localhostV6_data [] = { 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,1 }
 

Macro Definition Documentation

#define MIN_SOCKADDR_IN6_LEN   ((quintptr) &(((our_sockaddr_in6*)0)->sin6_scope_id))

Definition at line 234 of file k3socketaddress.cpp.

#define MIN_SOCKADDR_LEN   sizeof(quint16)

Definition at line 232 of file k3socketaddress.cpp.

#define MIN_SOCKADDR_UN_LEN   (sizeof(quint16) + sizeof(char))

Definition at line 236 of file k3socketaddress.cpp.

#define SOCKADDR_IN6_LEN   sizeof(our_sockaddr_in6)

Definition at line 235 of file k3socketaddress.cpp.

#define SOCKADDR_IN_LEN   sizeof(sockaddr_in)

Definition at line 233 of file k3socketaddress.cpp.

Function Documentation

static bool check_v4mapped ( const quint32 *  v6addr,
quint32  v4addr 
)
static

Definition at line 81 of file k3socketaddress.cpp.

Variable Documentation

const KIpAddress KIpAddress::localhostV4 & localhostV4_data = { 127, 0, 0, 1 }
static

Definition at line 72 of file k3socketaddress.cpp.

const KIpAddress KIpAddress::localhostV6 & localhostV6_data = { 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,1 }
static

Definition at line 73 of file k3socketaddress.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal