20 #ifndef __et_network_h
21 #define __et_network_h
23 #include <arpa/inet.h>
24 #include <sys/ioctl.h>
36 #define _SC_IOV_MAX _SC_T_IOV_MAX
40 #define SA struct sockaddr
45 #define hton64(x) ntoh64(x)
46 #if __BYTE_ORDER == __BIG_ENDIAN
49 #define ntoh64(x) et_ntoh64(x)
56 #define ET_MAGIC_INT1 0x45543269
57 #define ET_MAGIC_INT2 0x73324772
58 #define ET_MAGIC_INT3 0x72656174
64 extern int et_CODAswap(
int *src,
int *dest,
int nints,
int same_endian);
66 extern int et_findserver2(
const char *etname,
char *ethost,
int *port,
69 struct timeval *waittime,
int debug);
74 char* preferredSubnet);
Structure holding all configuration parameters used to open an ET system.
Definition: et_private.h:441
Structure for holding an ET system's single response to ET client's broad/multicast.
Definition: et_private.h:569
codaIpList * et_orderIpAddrs(et_response *response, codaIpAddr *netinfo, char *preferredSubnet)
int et_CODAswap(int *src, int *dest, int nints, int same_endian)
uint64_t et_ntoh64(uint64_t n)
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)