Modules#

sockaddr

in_addr

sockaddr_in

in6_addr

sockaddr_in6

sockaddr_storage

Socket API type definitions#

Enumerations#

enum
AF_WISUN = 1
AF_INET
AF_INET6
}

Socket domain types enum.

enum
SOCK_STREAM
SOCK_DGRAM
SOCK_RAW
}

Socket type definitions enum.

enum
IPPROTO_AUTO = 0
IPPROTO_IP = 0
IPPROTO_ICMP = 1
IPPROTO_TCP = 2
IPPROTO_UDP = 3
}

Socket protocol types enum.

Typedefs#

typedef uint32_t

Socket address length type definition.

typedef struct sockaddr

IPv4 Address structure storage with padding.

typedef struct in_addr

IPv4 Internet address.

typedef struct sockaddr_in

Internet address structure for functions.

typedef struct in6_addr

IPv6 Internet address.

typedef struct sockaddr_in6

IPv6 structure.

typedef struct sockaddr_storage

IPv6 Internet address storage with padding.

typedef struct sockaddr_in6

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.


Definition at line 67 of file C:/silabs/wisun_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)


Definition at line 77 of file C:/silabs/wisun_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.


Definition at line 87 of file C:/silabs/wisun_gsdk/app/wisun/component/socket/socket.h

Typedef Documentation#