Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs
sock.h File Reference
#include "simplelink.h"
#include "socket.h"
#include "platform-impl/common/kaa_htonll.h"

Go to the source code of this file.

Data Structures

struct  addrinfo
 
struct  sockaddr_storage
 

Macros

#define _SS_PADSIZE   (128 - (2 * sizeof (unsigned long)))
 
#define KAA_HTONS(hostshort)   htons((hostshort))
 
#define KAA_HTONL(hostlong)   htonl((hostlong))
 
#define KAA_HTONLL(hostlonglong)   kaa_htonll((hostlonglong))
 
#define KAA_NTOHS(netshort)   ntohs((netshort))
 
#define KAA_NTOHL(netlong)   ntohl((netlong))
 
#define KAA_NTOHLL(netlonglong)   kaa_ntohll((netlonglong))
 

Typedefs

typedef int kaa_fd_t
 
typedef struct sockaddr kaa_sockaddr_t
 
typedef struct sockaddr_storage kaa_sockaddr_storage_t
 
typedef socklen_t kaa_socklen_t
 

Macro Definition Documentation

#define _SS_PADSIZE   (128 - (2 * sizeof (unsigned long)))
#define KAA_HTONL (   hostlong)    htonl((hostlong))
#define KAA_HTONLL (   hostlonglong)    kaa_htonll((hostlonglong))
#define KAA_HTONS (   hostshort)    htons((hostshort))
#define KAA_NTOHL (   netlong)    ntohl((netlong))
#define KAA_NTOHLL (   netlonglong)    kaa_ntohll((netlonglong))
#define KAA_NTOHS (   netshort)    ntohs((netshort))

Typedef Documentation

typedef int kaa_fd_t
typedef struct sockaddr kaa_sockaddr_t
typedef socklen_t kaa_socklen_t