Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-Core-3.4.0/subsys/net/
DKconfig.hostname7 bool "Add hostname to the device"
9 This is used for example in mDNS to respond to <hostname>.local
15 string "The hostname of this device"
18 The string should be a valid hostname.
21 bool "Make hostname unique"
23 This will append link address to hostname to create a unique
24 hostname. For example, zephyr00005e005357 could be the hostname
28 bool "Update unique hostname"
31 This will update the unique hostname on link address changes. By
32 default, this option is disabled, which means the unique hostname
[all …]
Dhostname.c19 static char hostname[NET_HOSTNAME_MAX_LEN + 1]; variable
23 return hostname; in net_hostname_get()
51 snprintk(&hostname[sizeof(CONFIG_NET_HOSTNAME) - 1 + pos], in net_hostname_set_postfix()
55 NET_DBG("New hostname %s", hostname); in net_hostname_set_postfix()
67 memcpy(hostname, CONFIG_NET_HOSTNAME, sizeof(CONFIG_NET_HOSTNAME) - 1); in net_hostname_init()
DCMakeLists.txt9 zephyr_library_sources_ifdef(CONFIG_NET_HOSTNAME_ENABLE hostname.c)
DKconfig73 source "subsys/net/Kconfig.hostname"
/Zephyr-Core-3.4.0/doc/connectivity/networking/api/
Dnet_hostname.rst13 A networked device might need a hostname, for example, if the device
15 details) and needs to respond to ``<hostname>.local`` DNS queries.
18 to store the hostname and enable the relevant APIs. If the option is enabled,
19 then the default hostname is set to be ``zephyr`` by
23 practical to use the same hostname in all of the boards. In that case, one
25 postfix to the hostname. By default the link local address of the first network
28 ``01:02:03:04:05:06``, then the unique hostname could be
Dmqtt.rst151 tls_config->hostname = MQTT_BROKER_HOSTNAME;
156 We set ``hostname`` field to broker hostname, which is required for server
/Zephyr-Core-3.4.0/include/zephyr/logging/
Dlog_output.h85 const char *hostname; member
207 const char *hostname) in log_output_hostname_set() argument
209 output->control_block->hostname = hostname; in log_output_hostname_set()
/Zephyr-Core-3.4.0/samples/net/cloud/google_iot_mqtt/src/
Dprotocol.h16 void mqtt_startup(char *hostname, int port);
Dprotocol.c240 void mqtt_startup(char *hostname, int port) in mqtt_startup() argument
336 tls_config->hostname = hostname; in mqtt_startup()
338 LOG_INF("Connecting to host: %s", hostname); in mqtt_startup()
/Zephyr-Core-3.4.0/samples/net/mdns_responder/
DREADME.rst9 This application will wait mDNS queries for a pre-defined hostname and
10 respond to them. The default hostname is **zephyr** and it is set in the
72 hostname = [zephyr.local]
/Zephyr-Core-3.4.0/tests/net/hostname/src/
Dmain.c315 const char *hostname; in ZTEST() local
318 hostname = net_hostname_get(); in ZTEST()
320 zassert_mem_equal(hostname, config_hostname, in ZTEST()
328 hostname + sizeof(CONFIG_NET_HOSTNAME) - 1); in ZTEST()
/Zephyr-Core-3.4.0/subsys/net/lib/mqtt/
Dmqtt_transport_socket_tls.c72 if (tls_config->hostname) { in mqtt_client_tls_connect()
74 TLS_HOSTNAME, tls_config->hostname, in mqtt_client_tls_connect()
75 strlen(tls_config->hostname) + 1); in mqtt_client_tls_connect()
/Zephyr-Core-3.4.0/soc/xtensa/intel_adsp/tools/
Dcavstool_client.py152 if url.hostname:
153 HOST = url.hostname
Dremote-fw-service.py317 if url.hostname:
318 HOST = url.hostname
/Zephyr-Core-3.4.0/samples/net/cloud/mqtt_azure/
DKconfig24 string "Azure cloud IoT hub hostname"
DREADME.rst48 - SAMPLE_CLOUD_AZURE_HOSTNAME - IoT hub hostname
83 CONFIG_SAMPLE_CLOUD_AZURE_HOSTNAME="<IoT hub hostname>"
/Zephyr-Core-3.4.0/subsys/net/lib/dns/
Dllmnr_responder.c445 const char *hostname = net_hostname_get(); in dns_read() local
446 int hostname_len = strlen(hostname); in dns_read()
507 if (!strncasecmp(hostname, result->data + 1, hostname_len) && in dns_read()
510 hostname); in dns_read()
Dmdns_responder.c446 const char *hostname = net_hostname_get(); in dns_read() local
447 int hostname_len = strlen(hostname); in dns_read()
518 if (!strncasecmp(hostname, result->data + 1, hostname_len) && in dns_read()
522 hostname); in dns_read()
/Zephyr-Core-3.4.0/samples/net/dns_resolve/
DREADME.rst122 A Zephyr host needs a hostname assigned to it so that it can respond to a DNS
123 query. Note that the hostname should not have any dots in it.
/Zephyr-Core-3.4.0/samples/net/cloud/aws_iot_mqtt/
DKconfig14 Endpoint (hostname) of the AWS MQTT broker.
/Zephyr-Core-3.4.0/subsys/net/ip/
Ddhcpv4.c114 const char *hostname, const size_t size) in dhcpv4_add_hostname() argument
117 size, hostname); in dhcpv4_add_hostname()
164 const char *hostname = net_hostname_get(); in dhcpv4_create_message() local
165 const size_t hostname_size = strlen(hostname); in dhcpv4_create_message()
251 !dhcpv4_add_hostname(pkt, hostname, hostname_size)) { in dhcpv4_create_message()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dmqtt.h356 const char *hostname; member
/Zephyr-Core-3.4.0/samples/net/mqtt_publisher/src/
Dmain.c333 tls_config->hostname = TLS_SNI_HOSTNAME; in client_init()
335 tls_config->hostname = NULL; in client_init()
/Zephyr-Core-3.4.0/subsys/logging/
Dlog_output.c471 output->control_block->hostname ? in prefix_print()
472 output->control_block->hostname : in prefix_print()
/Zephyr-Core-3.4.0/scripts/net/
Drun-sample-tests.sh110 if docker run --hostname=$name --name=$name $addresses \

12