libwebsockets
Lightweight C library for HTML5 websockets
lws-optee.h File Reference

Go to the source code of this file.

Data Structures

struct  in6_addr
 
struct  sockaddr_storage
 
struct  sockaddr
 
struct  sockaddr_in
 
struct  sockaddr_in6
 
union  in6_addr.__unnamed34__
 

Macros

#define _SS_MAXSIZE   128U
 
#define _SS_ALIGNSIZE   (sizeof(int64_t))
 
#define _SS_PAD1SIZE
 
#define _SS_PAD2SIZE
 
#define __SOCK_SIZE__   16 /* sizeof(struct sockaddr) */
 

Data Structure Documentation

◆ in6_addr

struct in6_addr

Definition at line 29 of file lws-optee.h.

+ Collaboration diagram for in6_addr:
Data Fields
union in6_addr.__unnamed34__ __unnamed__

◆ sockaddr_storage

struct sockaddr_storage

Definition at line 44 of file lws-optee.h.

+ Collaboration diagram for sockaddr_storage:
Data Fields
sa_family_t ss_family
char __ss_pad1[_SS_PAD1SIZE]
int64_t __ss_align
char __ss_pad2[_SS_PAD2SIZE]

◆ sockaddr

struct sockaddr

Definition at line 52 of file lws-optee.h.

+ Collaboration diagram for sockaddr:
Data Fields
sa_family_t sa_family
uint8_t sa_data[__SOCK_SIZE__ - sizeof(sa_family_t)]

◆ sockaddr_in

struct sockaddr_in

Definition at line 59 of file lws-optee.h.

+ Collaboration diagram for sockaddr_in:
Data Fields
sa_family_t sin_family
in_port_t sin_port
struct in_addr sin_addr
uint8_t sin_zero[__SOCK_SIZE__ - sizeof(sa_family_t) - sizeof(in_port_t) - sizeof(struct in_addr)]

◆ sockaddr_in6

struct sockaddr_in6

Definition at line 69 of file lws-optee.h.

+ Collaboration diagram for sockaddr_in6:
Data Fields
sa_family_t sin6_family
in_port_t sin6_port
uint32_t sin6_flowinfo
struct in6_addr sin6_addr
uint32_t sin6_scope_id

◆ in6_addr.__unnamed34__

union in6_addr.__unnamed34__

Definition at line 30 of file lws-optee.h.

+ Collaboration diagram for in6_addr.__unnamed34__:
Data Fields
uint8_t u6_addr8[16]
uint16_t u6_addr16[8]
uint32_t u6_addr32[4]

Macro Definition Documentation

◆ _SS_MAXSIZE

#define _SS_MAXSIZE   128U

Definition at line 37 of file lws-optee.h.

◆ _SS_ALIGNSIZE

#define _SS_ALIGNSIZE   (sizeof(int64_t))

Definition at line 38 of file lws-optee.h.

◆ _SS_PAD1SIZE

#define _SS_PAD1SIZE
Value:
sizeof(sa_family_t))
#define _SS_ALIGNSIZE
Definition: lws-optee.h:38

Definition at line 39 of file lws-optee.h.

◆ _SS_PAD2SIZE

#define _SS_PAD2SIZE
Value:
sizeof(sa_family_t) - _SS_PAD1SIZE - _SS_ALIGNSIZE)
#define _SS_MAXSIZE
Definition: lws-optee.h:37
#define _SS_PAD1SIZE
Definition: lws-optee.h:39

Definition at line 41 of file lws-optee.h.

◆ __SOCK_SIZE__

#define __SOCK_SIZE__   16 /* sizeof(struct sockaddr) */

Definition at line 51 of file lws-optee.h.