client-c  0.8.1
cc32xx_sock.h File Reference
#include "simplelink.h"
#include "socket.h"
#include "../common/kaa_htonll.h"
+ Include dependency graph for cc32xx_sock.h:

Go to the source code of this file.

Classes

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)   htonll((hostlonglong))
 
#define KAA_NTOHS(netshort)   ntohs((netshort))
 
#define KAA_NTOHL(netlong)   ntohl((netlong))
 
#define KAA_NTOHLL(netlonglong)   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)))

Definition at line 66 of file cc32xx_sock.h.

#define KAA_HTONL (   hostlong)    htonl((hostlong))

Definition at line 81 of file cc32xx_sock.h.

#define KAA_HTONLL (   hostlonglong)    htonll((hostlonglong))

Definition at line 82 of file cc32xx_sock.h.

#define KAA_HTONS (   hostshort)    htons((hostshort))

Definition at line 80 of file cc32xx_sock.h.

#define KAA_NTOHL (   netlong)    ntohl((netlong))

Definition at line 85 of file cc32xx_sock.h.

#define KAA_NTOHLL (   netlonglong)    ntohll((netlonglong))

Definition at line 86 of file cc32xx_sock.h.

#define KAA_NTOHS (   netshort)    ntohs((netshort))

Definition at line 84 of file cc32xx_sock.h.

Typedef Documentation

typedef int kaa_fd_t

Definition at line 74 of file cc32xx_sock.h.

Definition at line 77 of file cc32xx_sock.h.

typedef struct sockaddr kaa_sockaddr_t

Definition at line 76 of file cc32xx_sock.h.

typedef socklen_t kaa_socklen_t

Definition at line 78 of file cc32xx_sock.h.