libwebsockets
Lightweight C library for HTML5 websockets
Loading...
Searching...
No Matches
lws-optee.h File Reference

#include <lws-optee.h>

Go to the source code of this file.

Data Structures

struct  in6_addr
struct  sockaddr_storage
struct  sockaddr
struct  sockaddr_in
struct  sockaddr_in6

Macros

#define _SS_MAXSIZE   128U
#define _SS_ALIGNSIZE   (sizeof(int64_t))
#define _SS_PAD1SIZE
#define _SS_PAD2SIZE
#define __SOCK_SIZE__   16

Data Structure Documentation

◆ 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_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

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

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