client-c
0.8.1
|
Go to the source code of this file.
Classes | |
struct | in_addr |
struct | leaf_sockaddr |
struct | leaf_sockaddr_in |
Macros | |
#define | KAA_HTONS(n) (((((unsigned short)(n) & 0xFF)) << 8) | (((unsigned short)(n) & 0xFF00) >> 8)) |
#define | KAA_NTOHS(n) (((((unsigned short)(n) & 0xFF)) << 8) | (((unsigned short)(n) & 0xFF00) >> 8)) |
#define | KAA_HTONL(n) |
#define | KAA_NTOHL(n) |
#define | KAA_HTONLL(n) |
#define | KAA_NTOHLL(n) KAA_HTONLL(n) |
Typedefs | |
typedef int | kaa_fd_t |
typedef size_t | kaa_socklen_t |
typedef unsigned char | kaa_uint8_t |
typedef unsigned short | kaa_uint16_t |
typedef uint32_t | in_addr_t |
typedef struct leaf_sockaddr | kaa_sockaddr_t |
typedef struct leaf_sockaddr_in | kaa_sockaddr_storage_t |
#define KAA_HTONL | ( | n | ) |
Definition at line 72 of file leaf_sock.h.
#define KAA_HTONLL | ( | n | ) |
Definition at line 82 of file leaf_sock.h.
#define KAA_HTONS | ( | n | ) | (((((unsigned short)(n) & 0xFF)) << 8) | (((unsigned short)(n) & 0xFF00) >> 8)) |
Definition at line 69 of file leaf_sock.h.
#define KAA_NTOHL | ( | n | ) |
Definition at line 77 of file leaf_sock.h.
#define KAA_NTOHLL | ( | n | ) | KAA_HTONLL(n) |
Definition at line 91 of file leaf_sock.h.
#define KAA_NTOHS | ( | n | ) | (((((unsigned short)(n) & 0xFF)) << 8) | (((unsigned short)(n) & 0xFF00) >> 8)) |
Definition at line 70 of file leaf_sock.h.
typedef uint32_t in_addr_t |
Definition at line 34 of file leaf_sock.h.
typedef int kaa_fd_t |
Copyright 2014-2016 CyberVision, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 29 of file leaf_sock.h.
typedef struct leaf_sockaddr_in kaa_sockaddr_storage_t |
Definition at line 55 of file leaf_sock.h.
typedef struct leaf_sockaddr kaa_sockaddr_t |
Definition at line 54 of file leaf_sock.h.
typedef size_t kaa_socklen_t |
Definition at line 30 of file leaf_sock.h.
typedef unsigned short kaa_uint16_t |
Definition at line 32 of file leaf_sock.h.
typedef unsigned char kaa_uint8_t |
Definition at line 31 of file leaf_sock.h.