| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
Network hostname configuration library. More...
Macros | |
| #define | NET_HOSTNAME_MAX_LEN | 
Functions | |
| static const char * | net_hostname_get (void) | 
| Get the device hostname.  More... | |
| static void | net_hostname_init (void) | 
| Initialize and set the device hostname.  More... | |
| static int | net_hostname_set_postfix (const uint8_t *hostname_postfix, int postfix_len) | 
| Set the device hostname postfix.  More... | |
Network hostname configuration library.
| #define NET_HOSTNAME_MAX_LEN | 
#include <include/zephyr/net/hostname.h>
      
  | 
  inlinestatic | 
#include <include/zephyr/net/hostname.h>
Get the device hostname.
Return pointer to device hostname.
      
  | 
  inlinestatic | 
#include <include/zephyr/net/hostname.h>
Initialize and set the device hostname.
      
  | 
  inlinestatic | 
#include <include/zephyr/net/hostname.h>
Set the device hostname postfix.
Set the device hostname to some value. This is only used if CONFIG_NET_HOSTNAME_UNIQUE is set.
| hostname_postfix | Usually link address. The function will convert this to a string. | 
| postfix_len | Length of the hostname_postfix array. |