Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
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. | |
Hostname configuration definitions.