xrootd
|
Defines | |
#define | INET_ADDRSTRLEN 16 |
#define | EAFNOSUPPORT WSAEAFNOSUPPORT |
#define | IN6ADDRSZ 16 |
#define | INT16SZ 2 |
#define | IS_SOCKET(fd) ((fd)>=64) |
Functions | |
int | sysconf (int what) |
int | fcntl (int, int, long) |
void | gethostbyname_r (const char *inetName, struct hostent *hent, char *buff, int buffsize, struct hostent **hp, int *rc) |
void | gethostbyaddr_r (char *addr, size_t len, int type, struct hostent *hent, char *buff, size_t buffsize, struct hostent **hp, int *rc) |
int | getservbyname_r (const char *servname, const char *servtype, struct servent *sent, char *buff, size_t buffsize, struct servent **sp) |
int | gettimeofday (struct timeval *tp, struct timezone *tzp) |
void * | dlopen (const char *libPath, int opt) |
BOOL | dlclose (void *lib) |
void * | dlsym (void *libHandle, const char *pname) |
char * | dlerror () |
pid_t | fork () |
LARGE_INTEGER | LargeIntegerSubtract (LARGE_INTEGER a, LARGE_INTEGER b) |
static const char * | inet_ntop_v4 (const void *src, char *dst, size_t size) |
const char * | inet_ntop (int af, const void *src, char *dst, size_t size) |
static void | myerrcode (int err) |
static bool | is_socket (SOCKET fd) |
int | close (int fd) |
int | writev (int fd, const struct iovec iov[], int nvecs) |
char * | index (const char *str, int c) |
char * | getlogin () |
char * | cuserid (char *s) |
int | posix_memalign (void **memptr, size_t alignment, size_t size) |
Variables | |
static const unsigned __int64 | epoch = 116444736000000000L |
#define EAFNOSUPPORT WSAEAFNOSUPPORT |
Referenced by inet_ntop().
#define IN6ADDRSZ 16 |
#define INET_ADDRSTRLEN 16 |
Referenced by inet_ntop_v4().
#define INT16SZ 2 |
#define IS_SOCKET | ( | fd | ) | ((fd)>=64) |
int close | ( | int | fd | ) |
References XrdPosixLinkage::Init(), is_socket(), myerrcode(), and XrdPosix_Close().
char* cuserid | ( | char * | s | ) |
References getlogin().
Referenced by XrdClientSock::Socks4Handshake().
BOOL dlclose | ( | void * | lib | ) |
Referenced by main(), and XrdSysPlugin::~XrdSysPlugin().
char* dlerror | ( | ) |
void* dlopen | ( | const char * | libPath, |
int | opt | ||
) |
void* dlsym | ( | void * | libHandle, |
const char * | pname | ||
) |
int fcntl | ( | int | , |
int | , | ||
long | |||
) |
pid_t fork | ( | ) |
References TRUE.
Referenced by XrdOucStream::Exec(), XrdScheduler::Fork(), and XrdOucUtils::Undercover().
void gethostbyaddr_r | ( | char * | addr, |
size_t | len, | ||
int | type, | ||
struct hostent * | hent, | ||
char * | buff, | ||
size_t | buffsize, | ||
struct hostent ** | hp, | ||
int * | rc | ||
) |
Referenced by XrdNetDNS::getHostAddr(), XrdNetDNS::getHostName(), and main().
void gethostbyname_r | ( | const char * | inetName, |
struct hostent * | hent, | ||
char * | buff, | ||
int | buffsize, | ||
struct hostent ** | hp, | ||
int * | rc | ||
) |
Referenced by XrdNetDNS::getHostAddr().
char* getlogin | ( | ) |
Referenced by cuserid().
int getservbyname_r | ( | const char * | servname, |
const char * | servtype, | ||
struct servent * | sent, | ||
char * | buff, | ||
size_t | buffsize, | ||
struct servent ** | sp | ||
) |
Referenced by XrdNetDNS::getPort().
int gettimeofday | ( | struct timeval * | tp, |
struct timezone * | tzp | ||
) |
Referenced by XrdMonTimer::calcElapsed(), XrdMonCtrArchiver::check4InactiveSenders(), XrdSysTimer::Delta_Time(), doCp_loc2xrd(), doCp_xrd2loc(), doCp_xrd2xrd(), XrdCmsFinderRMT::Forward(), generateTimestamp(), XrdSecsssKT::genKey(), main(), XrdMonSndDummyXrootd::newXrdMonSndStageEntry(), print_summary(), XrdSysTimer::Report(), XrdSysTimer::Reset(), XrdSecProtocolssl::secServer(), XrdMonTimer::start(), Think(), XrdSysCondVar::WaitMS(), XrdMonDecUserInfo::writeRT2Buffer(), and XrdMonSndCoder::XrdMonSndCoder().
char* index | ( | const char * | str, |
int | c | ||
) |
Referenced by XrdFrmXfrAgent::Add(), XrdCmsPrepare::Add(), XrdCmsManList::Add(), XrdCnsSsi::AddDel(), XrdCnsSsi::AddFile(), XrdClientVector< T >::BufRealloc(), XrdFrmUtils::chkURL(), XrdFrmConfig::ConfigCmd(), XrdFrmConfig::ConfigOTO(), XrdOssSys::ConfigStageC(), XrdFrmConfig::Configure(), XrdConfig::Configure(), XrdCnsConfig::Configure(), XrdXrootdAdmin::do_Red(), XrdCmsNode::do_Select(), XrdOssPath::Extract(), XrdMpxXml::Format(), XrdOfs::fsctl(), XrdOssPath::genPath(), XrdOssPath::genPFN(), XrdCnsDaemon::getLFN(), XrdSecProtocolsss::getLID(), XrdOucArgs::getopt(), XrdMpxXml::getVars(), getXDate(), XrdNetDNS::Host2Dest(), XrdCmsPrepare::Inform(), XrdCnsLog::isEP(), XrdNetDNS::isMatch(), XrdOucReqID::isMine(), XrdOucStream::isSet(), XrdXrootdPrepare::List(), main(), XrdOucUtils::makePath(), XrdFrmUtils::MapM2O(), XrdCnsLogServer::Massage(), XrdSfsNative::Mkpath(), XrdOssSys::Mkpath(), XrdFrmXfrQueue::Notify(), XrdBwmFile::open(), XrdPssSys::P2URL(), XrdOucMsubs::Parse(), XrdOssCache::Parse(), XrdOfsEvs::Parse(), XrdFrmAdmin::ParseKeep(), XrdFrmAdmin::ParseOwner(), XrdFrmAdmin::ParseSpace(), XrdCmsConfig::PidFile(), XrdOssPath::posCname(), XrdOfsHandle::PoscSet(), XrdCmsReq::Reply_Redirect(), XrdXrootdProtocol::rpCheck(), XrdXrootdPrepare::Scrub(), XrdLinkMatch::Set(), XrdPssSys::T2UID(), XrdLink::Terminate(), XrdFrmTransfer::TrackDC(), XrdOucStream::vSubs(), XrdOfs::xforward(), XrdCmsConfig::xmang(), XrdCmsClientConfig::xmang(), XrdXrootdProtocol::xmon(), XrdFrmConfig::xmon(), XrdPssSys::xorig(), XrdConfig::xprot(), XrdCmsClientMan::XrdCmsClientMan(), XrdCmsNode::XrdCmsNode(), XrdFfsMisc_get_all_urls_real(), XrdFfsMisc_get_current_url(), XrdOucNList::XrdOucNList(), XrdOucStream::XrdOucStream(), XrdPosixXrootPath::XrdPosixXrootPath(), XrdSecProtBind::XrdSecProtBind(), XrdXrootdProtocol::xred(), XrdConfig::xrep(), and XrdCmsConfig::xrmtrt().
const char* inet_ntop | ( | int | af, |
const void * | src, | ||
char * | dst, | ||
size_t | size | ||
) |
References EAFNOSUPPORT, and inet_ntop_v4().
Referenced by XrdNetSecurity::Authorize(), XrdNetDNS::getAddrName(), XrdNetDNS::getHostID(), XrdNetDNS::getHostName(), and XrdClientUrlInfo::SetAddrFromHost().
static const char* inet_ntop_v4 | ( | const void * | src, |
char * | dst, | ||
size_t | size | ||
) | [static] |
References INET_ADDRSTRLEN.
Referenced by inet_ntop().
static bool is_socket | ( | SOCKET | fd | ) | [static] |
LARGE_INTEGER LargeIntegerSubtract | ( | LARGE_INTEGER | a, |
LARGE_INTEGER | b | ||
) |
static void myerrcode | ( | int | err | ) | [static] |
Referenced by close().
int posix_memalign | ( | void ** | memptr, |
size_t | alignment, | ||
size_t | size | ||
) |
Referenced by XrdClientMessage::CreateData(), and XrdCmsRRData::getBuff().
int sysconf | ( | int | what | ) |
int writev | ( | int | fd, |
const struct iovec | iov[], | ||
int | nvecs | ||
) |
References iovec::iov_len, and is_socket().
const unsigned __int64 epoch = 116444736000000000L [static] |