/Zephyr-latest/subsys/bluetooth/mesh/ |
D | sar_cfg_internal.h | 52 #define BT_MESH_SAR_TX_UNICAST_RETRANS_TIMEOUT_MS(ttl) \ argument 53 ((ttl > 0) ? (BT_MESH_SAR_TX_UNICAST_RETRANS_INT_STEP_MS + \ 54 BT_MESH_SAR_TX_UNICAST_RETRANS_INT_INC_MS * (ttl - 1)) : \ 58 #define BT_MESH_SAR_TX_RETRANS_TIMEOUT_MS(addr, ttl) \ argument 60 BT_MESH_SAR_TX_UNICAST_RETRANS_TIMEOUT_MS(ttl) : \
|
D | dfu_srv.c | 187 ctx->send_ttl = srv->update.ttl; in handle_info_get() 215 ctx->send_ttl = srv->update.ttl; in handle_metadata_check() 235 net_buf_simple_add_u8(&buf, srv->update.ttl); in update_status_rsp() 241 ctx->send_ttl = srv->update.ttl; in update_status_rsp() 261 const uint64_t *blob_id, uint8_t ttl, in is_active_update() argument 265 srv->update.ttl != ttl || in is_active_update() 277 uint8_t ttl, idx; in handle_start() local 282 ttl = net_buf_simple_pull_u8(buf); in handle_start() 288 LOG_DBG("%u ttl: %u extra time: %u", idx, ttl, timeout_base); in handle_start() 292 srv->update.ttl == ttl && in handle_start() [all …]
|
D | heartbeat.c | 27 uint8_t ttl; member 112 .send_ttl = pub.ttl, in heartbeat_send() 128 hb.init_ttl = pub.ttl; in heartbeat_send() 148 LOG_DBG("InitTTL %u feat 0x%04x", pub.ttl, feat); in heartbeat_send() 222 LOG_DBG("src 0x%04x TTL %u InitTTL %u (%u hop%s) feat 0x%04x", rx->ctx.addr, in bt_mesh_hb_recv() 237 pub.ttl = 0U; in pub_disable() 427 hb_pub.ttl = hb_val.ttl; in hb_pub_set() 459 val.ttl = hb_pub.ttl; in bt_mesh_hb_pub_pending_store()
|
D | testing.c | 40 void bt_mesh_test_net_recv(uint8_t ttl, uint8_t ctl, uint16_t src, uint16_t dst, in bt_mesh_test_net_recv() argument 47 cb->net_recv(ttl, ctl, src, dst, payload, payload_len); in bt_mesh_test_net_recv()
|
D | testing.h | 25 void (*net_recv)(uint8_t ttl, uint8_t ctl, uint16_t src, uint16_t dst, const void *payload, 81 void bt_mesh_test_net_recv(uint8_t ttl, uint8_t ctl, uint16_t src, uint16_t dst,
|
D | dfd_srv_internal.h | 19 uint8_t ttl; member
|
/Zephyr-latest/tests/net/lib/dns_sd/src/ |
D | main.c | 30 extern int add_a_record(const struct dns_sd_rec *inst, uint32_t ttl, 34 extern int add_ptr_record(const struct dns_sd_rec *inst, uint32_t ttl, 40 extern int add_txt_record(const struct dns_sd_rec *inst, uint32_t ttl, 43 extern int add_aaaa_record(const struct dns_sd_rec *inst, uint32_t ttl, 47 extern int add_srv_record(const struct dns_sd_rec *inst, uint32_t ttl, 273 const uint32_t ttl = DNS_SD_PTR_TTL; in ZTEST() local 290 int actual_int = add_ptr_record(&nasxxxxxx, ttl, in ZTEST() 313 zassert_equal(-EINVAL, add_ptr_record(&null_label, ttl, in ZTEST() 321 zassert_equal(-ENOSPC, add_ptr_record(&nasxxxxxx, ttl, in ZTEST() 328 zassert_equal(-E2BIG, add_ptr_record(&nasxxxxxx, ttl, in ZTEST() [all …]
|
/Zephyr-latest/samples/drivers/ethernet/eth_ivshmem/ |
D | README.rst | 101 28 bytes from 192.168.19.1 to 192.168.19.2: icmp_seq=1 ttl=64 time=5.06 ms 102 28 bytes from 192.168.19.1 to 192.168.19.2: icmp_seq=2 ttl=64 time=7.99 ms 103 28 bytes from 192.168.19.1 to 192.168.19.2: icmp_seq=3 ttl=64 time=1.77 ms 112 64 bytes from 192.168.19.2: icmp_seq=1 ttl=64 time=0.646 ms 113 64 bytes from 192.168.19.2: icmp_seq=2 ttl=64 time=1.45 ms 114 64 bytes from 192.168.19.2: icmp_seq=3 ttl=64 time=1.28 ms
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_transport_udp.c | 153 int ttl; in tp_udp_sendto() local 159 /* Set ttl if requested value does not match existing*/ in tp_udp_sendto() 160 rc = zsock_getsockopt(udp->sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, &ttl_len); in tp_udp_sendto() 164 if (ttl != addrlen) { in tp_udp_sendto() 165 ttl = addrlen; in tp_udp_sendto() 166 rc = zsock_setsockopt(udp->sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, in tp_udp_sendto() 167 sizeof(ttl)); in tp_udp_sendto()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_cache.c | 26 uint32_t ttl) in dns_cache_add() argument 32 if (cache == NULL || query == NULL || addrinfo == NULL || ttl == 0) { in dns_cache_add() 45 NET_DBG("Add \"%s\" with TTL %" PRIu32, query, ttl); in dns_cache_add() 67 cache->entries[index_to_replace].expiry = sys_timepoint_calc(K_SECONDS(ttl)); in dns_cache_add()
|
D | dns_cache.h | 66 * @param ttl Time to live for the entry in seconds. This usually represents 67 * the TTL of the RR. 72 uint32_t ttl);
|
D | dns_sd.c | 34 static int add_a_record(const struct dns_sd_rec *inst, uint32_t ttl, 38 static int add_ptr_record(const struct dns_sd_rec *inst, uint32_t ttl, 44 static int add_txt_record(const struct dns_sd_rec *inst, uint32_t ttl, 47 static int add_aaaa_record(const struct dns_sd_rec *inst, uint32_t ttl, 51 static int add_srv_record(const struct dns_sd_rec *inst, uint32_t ttl, 300 int add_a_record(const struct dns_sd_rec *inst, uint32_t ttl, in add_a_record() argument 337 rr->ttl = htonl(ttl); in add_a_record() 350 int add_ptr_record(const struct dns_sd_rec *inst, uint32_t ttl, in add_ptr_record() argument 444 rr->ttl = htonl(ttl); in add_ptr_record() 469 int add_txt_record(const struct dns_sd_rec *inst, uint32_t ttl, in add_txt_record() argument [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | msg.h | 95 /** Received TTL value. Not used for sending. */ 104 /** TTL, or BT_MESH_TTL_DEFAULT for default TTL. */ 117 * @param ttl Time To Live. 119 #define BT_MESH_MSG_CTX_INIT(net_key_idx, app_key_idx, dst, ttl) \ argument 124 .send_ttl = (ttl), \ 155 .send_ttl = (pub)->ttl, \
|
/Zephyr-latest/tests/net/lib/dns_packet/src/ |
D | main.c | 185 /* DNS answer TTL size */ 203 /* answer TTL */ 204 uint32_t ttl; member 340 uint32_t ttl; in eval_response1() local 348 if (dns_unpack_answer(&msg, DNS_ANSWER_MIN_SIZE, &ttl, &answer_type) < 0) { in eval_response1() 385 if (dns_answer_ttl(NAME_PTR_SIZE, resp->res) != resp->ttl) { in eval_response1() 442 * TTL: 3028 466 .ttl = 3028, in ZTEST() 517 .ttl = 600, in ZTEST() 545 * TTL: 30 [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | Kconfig.ipv4 | 51 packet will decrement the value and will drop the packet if the TTL 53 to network if TTL is 0. 61 packet will decrement the value and will drop the packet if the TTL 63 to network if TTL is 0.
|
D | ipv4.c | 59 ipv4_hdr->ttl = net_pkt_ipv4_ttl(pkt); in net_ipv4_create_full() 60 if (ipv4_hdr->ttl == 0U) { in net_ipv4_create_full() 63 ipv4_hdr->ttl = in net_ipv4_create_full() 66 ipv4_hdr->ttl = net_if_ipv4_get_mcast_ttl(net_pkt_iface(pkt)); in net_ipv4_create_full() 70 ipv4_hdr->ttl = in net_ipv4_create_full() 73 ipv4_hdr->ttl = net_if_ipv4_get_ttl(net_pkt_iface(pkt)); in net_ipv4_create_full() 287 if (hdr->ttl == 0) { in net_ipv4_input() 338 net_pkt_set_ipv4_ttl(pkt, hdr->ttl); in net_ipv4_input()
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | rpr.c | 91 .ttl = BT_MESH_TTL_DEFAULT, in cmd_scan() 133 .ttl = BT_MESH_TTL_DEFAULT, in cmd_scan_ext() 174 .ttl = BT_MESH_TTL_DEFAULT, in cmd_scan_srv() 208 .ttl = BT_MESH_TTL_DEFAULT, in cmd_scan_caps() 236 .ttl = BT_MESH_TTL_DEFAULT, in cmd_scan_get() 264 .ttl = BT_MESH_TTL_DEFAULT, in cmd_scan_stop() 289 .ttl = BT_MESH_TTL_DEFAULT, in cmd_link_get() 315 .ttl = BT_MESH_TTL_DEFAULT, in cmd_link_close() 336 .ttl = BT_MESH_TTL_DEFAULT, in cmd_provision_remote() 372 .ttl = BT_MESH_TTL_DEFAULT, in cmd_reprovision_remote()
|
/Zephyr-latest/include/zephyr/net/ |
D | lldp.h | 109 * FIXME: when the network interface is about to be ‘disabled’ TTL shall be set 161 /** Time To Live (TTL) value */ 162 uint16_t ttl; member 172 struct net_lldp_time_to_live_tlv ttl; /**< Mandatory TTL TLV */ member
|
D | net_context.h | 410 /** IPv6 hop limit or IPv4 ttl for packets sent via this context. */ 417 uint8_t ipv4_ttl; /**< IPv4 TTL */ 418 uint8_t ipv4_mcast_ttl; /**< IPv4 multicast TTL */ 782 * @brief Get IPv4 TTL (time-to-live) value for this context. 784 * @details This function returns the IPv4 TTL (time-to-live) value that is 789 * @return IPv4 TTL value 797 * @brief Set IPv4 TTL (time-to-live) value for this context. 799 * @details This function sets the IPv4 TTL (time-to-live) value for 803 * @param ttl IPv4 time-to-live value. 806 uint8_t ttl) in net_context_set_ipv4_ttl() argument [all …]
|
/Zephyr-latest/doc/connectivity/networking/ |
D | usbnet_setup.rst | 102 64 bytes from 192.0.2.1: icmp_seq=1 ttl=64 time=2.30 ms 103 64 bytes from 192.0.2.1: icmp_seq=2 ttl=64 time=1.43 ms 104 64 bytes from 192.0.2.1: icmp_seq=3 ttl=64 time=2.45 ms
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_persistence.c | 72 .ttl = 5, \ 82 .ttl = 5, \ 92 .ttl = 3, \ 102 .ttl = 3, \ 112 .ttl = 0, \ 199 uint8_t ttl; member 218 .ttl = 12, 234 .ttl = 0, 336 ASSERT_EQUAL(expected->ttl, got->ttl); in check_mod_pub_params() 520 /* send TTL Get to verify Tx/Rx path works with loaded config */ in test_provisioning_data_load() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | rpr_cli.rst | 46 .ttl = BT_MESH_TTL_DEFAULT, 82 .ttl = BT_MESH_TTL_DEFAULT, 121 .ttl = BT_MESH_TTL_DEFAULT,
|
D | blob_cli.rst | 38 to live (TTL) value before it is used in a procedure: 49 .ttl = BT_MESH_TTL_DEFAULT, 84 time scales automatically with the transfer TTL.
|
/Zephyr-latest/tests/net/socket/udp/ |
D | testcase.yaml | 26 net.socket.udp.ttl:
|
/Zephyr-latest/tests/boards/mec15xxevb_assy6853/i2c_api/ |
D | README.txt | 12 to I2C00 port, however, I2C00 port is shared with UART2 RS232 to TTL
|