ET System  16.4
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
et_network.h File Reference
#include <arpa/inet.h>
#include <sys/ioctl.h>
#include "et_private.h"

Go to the source code of this file.

Macros

#define SA   struct sockaddr
 
#define ET_IOV_MAX   16 /* minimum for POSIX systems */
 
#define hton64(x)   ntoh64(x)
 
#define ntoh64(x)   x
 
#define ET_MAGIC_INT1   0x45543269
 
#define ET_MAGIC_INT2   0x73324772
 
#define ET_MAGIC_INT3   0x72656174
 

Functions

uint64_t et_ntoh64 (uint64_t n)
 
int et_CODAswap (int *src, int *dest, int nints, int same_endian)
 
int et_findserver2 (const char *etname, char *ethost, int *port, uint32_t *inetaddr, et_response **allETinfo, et_open_config *config, int trys, struct timeval *waittime, int debug)
 
void et_freeAnswers (et_response *answer)
 
codaIpList * et_orderIpAddrs (et_response *response, codaIpAddr *netinfo, char *preferredSubnet)
 

Macro Definition Documentation

#define ET_IOV_MAX   16 /* minimum for POSIX systems */

Referenced by etr_open().

#define ET_MAGIC_INT1   0x45543269

Referenced by etr_open().

#define ET_MAGIC_INT2   0x73324772

Referenced by etr_open().

#define ET_MAGIC_INT3   0x72656174

Referenced by etr_open().

#define hton64 (   x)    ntoh64(x)
#define ntoh64 (   x)    x
#define SA   struct sockaddr

Function Documentation

int et_CODAswap ( int *  src,
int *  dest,
int  nints,
int  same_endian 
)
int et_findserver2 ( const char *  etname,
char *  ethost,
int *  port,
uint32_t *  inetaddr,
et_response **  allETinfo,
et_open_config config,
int  trys,
struct timeval *  waittime,
int  debug 
)

Referenced by et_findlocality().

void et_freeAnswers ( et_response answer)

Referenced by etr_open().

uint64_t et_ntoh64 ( uint64_t  n)
codaIpList* et_orderIpAddrs ( et_response response,
codaIpAddr *  netinfo,
char *  preferredSubnet 
)

Referenced by etr_open().