XRootD
XrdNetSockAddr.hh File Reference
#include <sys/socket.h>
#include <netinet/in.h>
+ Include dependency graph for XrdNetSockAddr.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  XrdNetSockAddr
 

Class Documentation

◆ XrdNetSockAddr

union XrdNetSockAddr

Define the smallest structure needed to hold ipv6 and ipv4 addresses. Note we do not want to use sockadddr_storage for this case because it is sized to handle all possible network addresses and winds up being outlandishly bigger than we really need (e.g. 256 bytes in Solaris and 128 in Linux).

Definition at line 43 of file XrdNetSockAddr.hh.

+ Collaboration diagram for XrdNetSockAddr:
Class Members
struct sockaddr Addr
struct sockaddr_in v4
struct sockaddr_in6 v6