Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hostname.h File Reference

Hostname configuration definitions. More...

Go to the source code of this file.

Macros

#define NET_HOSTNAME_MAX_LEN
 Maximum hostname length.
 

Functions

static const char * net_hostname_get (void)
 Get the device hostname.
 
static int net_hostname_set (char *host, size_t len)
 Set the device hostname.
 
static void net_hostname_init (void)
 Initialize and set the device hostname.
 
static int net_hostname_set_postfix (const uint8_t *hostname_postfix, int postfix_len)
 Set the device hostname postfix.
 

Detailed Description

Hostname configuration definitions.