Modules#
Socket API type definitions#
Enumerations#
Socket protocol types enum.
Typedefs#
Socket address length type definition.
IPv4 Address structure storage with padding.
Internet address structure for functions.
IPv6 Internet address.
IPv6 structure.
IPv6 Internet address storage with padding.
Wi-SUN address structure type definition.
Enumeration Documentation#
sock_domain_t#
sock_domain_t
Socket domain types enum.
Enumerator | |
---|---|
AF_WISUN | Wi-SUN FAN. |
AF_INET | External IPv4. |
AF_INET6 | External IPv6. |
77
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
sock_type_t#
sock_type_t
Socket type definitions enum.
Enumerator | |
---|---|
SOCK_STREAM | Stream socket (TCP) |
SOCK_DGRAM | Datagram socket (UDP) |
SOCK_RAW | RAW sockets without transfer protocol (ICMP) |
87
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
proto_type_t#
proto_type_t
Socket protocol types enum.
Enumerator | |
---|---|
IPPROTO_AUTO | Default IP protocol. |
IPPROTO_IP | Default IP protocol. |
IPPROTO_ICMP | ICMP protocol. |
IPPROTO_TCP | TCP protocol. |
IPPROTO_UDP | UDP protocol. |
97
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
Typedef Documentation#
socklen_t#
typedef uint32_t socklen_t
Socket address length type definition.
74
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
sockaddr_t#
typedef struct sockaddr sockaddr_t
IPv4 Address structure storage with padding.
116
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
in_addr_t#
typedef struct in_addr in_addr_t
IPv4 Internet address.
122
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
sockaddr_in_t#
typedef struct sockaddr_in sockaddr_in_t
Internet address structure for functions.
134
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
in6_addr_t#
typedef struct in6_addr in6_addr_t
IPv6 Internet address.
140
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
sockaddr_in6_t#
typedef struct sockaddr_in6 sockaddr_in6_t
IPv6 structure.
154
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
sockaddr_storage_t#
typedef struct sockaddr_storage sockaddr_storage_t
IPv6 Internet address storage with padding.
162
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h
wisun_addr_t#
typedef struct sockaddr_in6 wisun_addr_t
Wi-SUN address structure type definition.
165
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/socket/socket.h