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

Service database entry. More...

#include <zephyr/posix/netdb.h>

Data Fields

char * s_name
 Official service name.
 
char ** s_aliases
 NULL-terminated list of alternate names.
 
int s_port
 Port number (network byte order).
 
char * s_proto
 Protocol to use ("tcp" or "udp").
 

Detailed Description

Service database entry.

Definition at line 70 of file netdb.h.

Field Documentation

◆ s_aliases

char** servent::s_aliases

NULL-terminated list of alternate names.

Definition at line 72 of file netdb.h.

◆ s_name

char* servent::s_name

Official service name.

Definition at line 71 of file netdb.h.

◆ s_port

int servent::s_port

Port number (network byte order).

Definition at line 73 of file netdb.h.

◆ s_proto

char* servent::s_proto

Protocol to use ("tcp" or "udp").

Definition at line 74 of file netdb.h.


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