Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Definition used when querying address information. More...
#include <socket.h>
Data Fields | |
struct zsock_addrinfo * | ai_next |
Pointer to next address entry. | |
int | ai_flags |
Additional options. | |
int | ai_family |
Address family of the returned addresses. | |
int | ai_socktype |
Socket type, for example SOCK_STREAM or SOCK_DGRAM. | |
int | ai_protocol |
Protocol for addresses, 0 means any protocol. | |
int | ai_eflags |
Extended flags for special usage. | |
socklen_t | ai_addrlen |
Length of the socket address. | |
struct sockaddr * | ai_addr |
Pointer to the address. | |
char * | ai_canonname |
Optional official name of the host. | |
Definition used when querying address information.
A linked list of these descriptors is returned by getaddrinfo(). The struct is also passed as hints when calling the getaddrinfo() function.
struct sockaddr* zsock_addrinfo::ai_addr |
Pointer to the address.
socklen_t zsock_addrinfo::ai_addrlen |
Length of the socket address.
char* zsock_addrinfo::ai_canonname |
Optional official name of the host.
int zsock_addrinfo::ai_eflags |
Extended flags for special usage.
int zsock_addrinfo::ai_family |
Address family of the returned addresses.
int zsock_addrinfo::ai_flags |
Additional options.
struct zsock_addrinfo* zsock_addrinfo::ai_next |
Pointer to next address entry.
int zsock_addrinfo::ai_protocol |
Protocol for addresses, 0 means any protocol.
int zsock_addrinfo::ai_socktype |
Socket type, for example SOCK_STREAM or SOCK_DGRAM.