Zephyr API 3.6.99
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.
 
static int net_hostname_set_postfix_str (const uint8_t *hostname_postfix, int postfix_len)
 Set the postfix string for the network hostname.
 

Detailed Description

Hostname configuration definitions.