posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
hostent Struct Reference

Host database entry. More...

#include <zephyr/posix/netdb.h>

Data Fields

char * h_name
 Official name of the host.
 
char ** h_aliases
 NULL-terminated list of alternate names.
 
int h_addrtype
 Address type (AF_INET, etc.).
 
int h_length
 Length of each address in bytes.
 
char ** h_addr_list
 NULL-terminated list of addresses.
 

Detailed Description

Host database entry.

Definition at line 34 of file netdb.h.

Field Documentation

◆ h_addr_list

char** hostent::h_addr_list

NULL-terminated list of addresses.

Definition at line 39 of file netdb.h.

◆ h_addrtype

int hostent::h_addrtype

Address type (AF_INET, etc.).

Definition at line 37 of file netdb.h.

◆ h_aliases

char** hostent::h_aliases

NULL-terminated list of alternate names.

Definition at line 36 of file netdb.h.

◆ h_length

int hostent::h_length

Length of each address in bytes.

Definition at line 38 of file netdb.h.

◆ h_name

char* hostent::h_name

Official name of the host.

Definition at line 35 of file netdb.h.


The documentation for this struct was generated from the following file: