Structure for query SiWx91x socket information.

The structure queries the information about a specific socket, in the SiWx91x series. It includes details such as:socket identifier, type, source and destination ports, and the IP address of the remote host. The IP address can be either IPv4 or IPv6, determined by the context structure which is used.

Public Attributes#

uint8_t

Socket Identifier.

uint8_t

Socket type (for example,TCP, and UDP).

uint8_t

Source port number used by the socket.

uint8_t

Destination port number used by the socket.

uint8_t

IPv4 address of the remote host.

uint8_t

IPv6 address of the remote host.

union sl_si91x_sock_info_query_t::@1

IP address of the destination host.

Public Attribute Documentation#

sock_id#

uint8_t sl_si91x_sock_info_query_t::sock_id[2]

Socket Identifier.


Definition at line 54 of file components/service/bsd_socket/si91x_socket/sl_si91x_socket_support.h

sock_type#

uint8_t sl_si91x_sock_info_query_t::sock_type[2]

Socket type (for example,TCP, and UDP).


Definition at line 56 of file components/service/bsd_socket/si91x_socket/sl_si91x_socket_support.h

source_port#

uint8_t sl_si91x_sock_info_query_t::source_port[2]

Source port number used by the socket.


Definition at line 58 of file components/service/bsd_socket/si91x_socket/sl_si91x_socket_support.h

dest_port#

uint8_t sl_si91x_sock_info_query_t::dest_port[2]

Destination port number used by the socket.


Definition at line 60 of file components/service/bsd_socket/si91x_socket/sl_si91x_socket_support.h

ipv4_address#

uint8_t sl_si91x_sock_info_query_t::ipv4_address[4]

IPv4 address of the remote host.


Definition at line 63 of file components/service/bsd_socket/si91x_socket/sl_si91x_socket_support.h

ipv6_address#

uint8_t sl_si91x_sock_info_query_t::ipv6_address[16]

IPv6 address of the remote host.


Definition at line 65 of file components/service/bsd_socket/si91x_socket/sl_si91x_socket_support.h

dest_ip_address#

union sl_si91x_sock_info_query_t::@1 sl_si91x_sock_info_query_t::dest_ip_address

IP address of the destination host.


Definition at line 66 of file components/service/bsd_socket/si91x_socket/sl_si91x_socket_support.h