XRootD
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. More...
 
char Flags
 Flags. More...
 
int Latitude
 Degrees +/- xx.xxxxxx (not supported) More...
 
unsigned char Locale
 Locale (may combine adjacent regions) More...
 
int Longtitude
 Degrees +/- xx.xxxxxx (not supported) More...
 
unsigned char Region
 Region (may combine adjacent countries) More...
 
short Speed
 I/F speed (Gb*1024/100)(not supported) More...
 
char TimeZone
 +/- hours from GMT (-128 if not set) More...
 

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.

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(), and XrdNetAddrInfo::Location().

◆ Flags

char XrdNetAddrInfo::LocInfo::Flags

Flags.

Definition at line 199 of file XrdNetAddrInfo.hh.

◆ Latitude

int XrdNetAddrInfo::LocInfo::Latitude

Degrees +/- xx.xxxxxx (not supported)

Definition at line 201 of file XrdNetAddrInfo.hh.

◆ Locale

unsigned char XrdNetAddrInfo::LocInfo::Locale

Locale (may combine adjacent regions)

Definition at line 197 of file XrdNetAddrInfo.hh.

◆ Longtitude

int XrdNetAddrInfo::LocInfo::Longtitude

Degrees +/- xx.xxxxxx (not supported)

Definition at line 202 of file XrdNetAddrInfo.hh.

◆ Region

unsigned char XrdNetAddrInfo::LocInfo::Region

Region (may combine adjacent countries)

Definition at line 196 of file XrdNetAddrInfo.hh.

◆ Speed

short XrdNetAddrInfo::LocInfo::Speed

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

Definition at line 200 of file XrdNetAddrInfo.hh.

◆ TimeZone

char XrdNetAddrInfo::LocInfo::TimeZone

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

Definition at line 198 of file XrdNetAddrInfo.hh.


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