XrdNetSockAddr Union Reference

#include <XrdNetSockAddr.hh>

List of all members.

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

struct sockaddr XrdNetSockAddr::Addr [read]
struct sockaddr_in XrdNetSockAddr::v4 [read]
struct sockaddr_in6 XrdNetSockAddr::v6 [read]

The documentation for this union was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 7 Jul 2020 for xrootd by  doxygen 1.6.1