xrootd
Loading...
Searching...
No Matches
Public Attributes | List of all members
XrdNetSockAddr Union Reference

#include <XrdNetSockAddr.hh>

Public Attributes

struct sockaddr_in6 v6
 
struct sockaddr_in v4
 
struct sockaddr Addr
 

Detailed Description

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).

Member Data Documentation

◆ Addr

struct sockaddr XrdNetSockAddr::Addr

◆ v4

struct sockaddr_in XrdNetSockAddr::v4

◆ v6

struct sockaddr_in6 XrdNetSockAddr::v6

The documentation for this union was generated from the following file: