XRootD
Loading...
Searching...
No Matches
XrdNetAddrInfo::LocInfo Struct Reference

#include <XrdNetAddrInfo.hh>

+ Collaboration diagram for XrdNetAddrInfo::LocInfo:

Public Member Functions

 LocInfo ()
 

Public Attributes

unsigned char Country [2]
 Two letter TLD country code.
 
char Flags
 Flags.
 
int Latitude
 Degrees +/- xx.xxxxxx (not supported)
 
unsigned char Locale
 Locale (may combine adjacent regions)
 
int Longtitude
 Degrees +/- xx.xxxxxx (not supported)
 
unsigned char Region
 Region (may combine adjacent countries)
 
short Speed
 I/F speed (Gb*1024/100)(not supported)
 
char TimeZone
 +/- hours from GMT (-128 if not set)
 

Detailed Description

Obtain the location of this address.

Returns
!0 pointer to the unverified location information. Not all fields may be set.
=0 location information is not available.

Definition at line 194 of file XrdNetAddrInfo.hh.

Constructor & Destructor Documentation

◆ LocInfo()

XrdNetAddrInfo::LocInfo::LocInfo ( )
inline

Definition at line 204 of file XrdNetAddrInfo.hh.

204 : Region(0), Locale(0), TimeZone(-128), Flags(0),
205 Speed(0), Latitude(0), Longtitude(0) {*Country = 0;}
int Latitude
Degrees +/- xx.xxxxxx (not supported)
unsigned char Region
Region (may combine adjacent countries)
char TimeZone
+/- hours from GMT (-128 if not set)
unsigned char Country[2]
Two letter TLD country code.
short Speed
I/F speed (Gb*1024/100)(not supported)
unsigned char Locale
Locale (may combine adjacent regions)
int Longtitude
Degrees +/- xx.xxxxxx (not supported)

References Country, Flags, Latitude, Locale, Longtitude, Region, Speed, and TimeZone.

Member Data Documentation

◆ Country

unsigned char XrdNetAddrInfo::LocInfo::Country[2]

Two letter TLD country code.

Definition at line 195 of file XrdNetAddrInfo.hh.

Referenced by LocInfo().

◆ Flags

char XrdNetAddrInfo::LocInfo::Flags

Flags.

Definition at line 199 of file XrdNetAddrInfo.hh.

Referenced by LocInfo().

◆ Latitude

int XrdNetAddrInfo::LocInfo::Latitude

Degrees +/- xx.xxxxxx (not supported)

Definition at line 201 of file XrdNetAddrInfo.hh.

Referenced by LocInfo().

◆ Locale

unsigned char XrdNetAddrInfo::LocInfo::Locale

Locale (may combine adjacent regions)

Definition at line 197 of file XrdNetAddrInfo.hh.

Referenced by LocInfo().

◆ Longtitude

int XrdNetAddrInfo::LocInfo::Longtitude

Degrees +/- xx.xxxxxx (not supported)

Definition at line 202 of file XrdNetAddrInfo.hh.

Referenced by LocInfo().

◆ Region

unsigned char XrdNetAddrInfo::LocInfo::Region

Region (may combine adjacent countries)

Definition at line 196 of file XrdNetAddrInfo.hh.

Referenced by LocInfo().

◆ Speed

short XrdNetAddrInfo::LocInfo::Speed

I/F speed (Gb*1024/100)(not supported)

Definition at line 200 of file XrdNetAddrInfo.hh.

Referenced by LocInfo().

◆ TimeZone

char XrdNetAddrInfo::LocInfo::TimeZone

+/- hours from GMT (-128 if not set)

Definition at line 198 of file XrdNetAddrInfo.hh.

Referenced by LocInfo().


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