/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/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() 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.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 | 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 | dfd_srv_internal.h | 19 uint8_t ttl; member
|
D | rpr.h | 28 .ttl = BT_MESH_TTL_DEFAULT \
|
D | blob_srv.c | 182 .send_ttl = srv->state.ttl, in block_report() 220 srv->state.ttl = BT_MESH_TTL_DEFAULT; in cancel() 348 ctx->send_ttl = srv->state.ttl; in xfer_status_rsp() 411 ctx->send_ttl = srv->state.ttl; in block_status_rsp() 830 ctx->send_ttl = srv->state.ttl; in handle_info_get() 854 srv->state.ttl = BT_MESH_TTL_DEFAULT; in blob_srv_init() 926 srv->state.ttl = BT_MESH_TTL_DEFAULT; in blob_srv_start() 952 const struct bt_mesh_blob_io *io, uint8_t ttl, in bt_mesh_blob_srv_recv() argument 964 srv->state.ttl = ttl; in bt_mesh_blob_srv_recv()
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | msg.h | 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, \
|
D | blob_srv.h | 148 uint8_t ttl; member 177 const struct bt_mesh_blob_io *io, uint8_t ttl,
|
D | heartbeat.h | 36 uint8_t ttl; member
|
D | dfu_cli.h | 90 uint8_t ttl; member 204 uint8_t ttl; member
|
D | rpr.h | 82 uint8_t ttl; member
|
/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/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_transport_udp.c | 153 int ttl; in tp_udp_sendto() local 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_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 …]
|
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 | 72 uint32_t ttl);
|
/Zephyr-latest/subsys/net/ip/ |
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/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/include/zephyr/net/ |
D | lldp.h | 162 uint16_t ttl; member 172 struct net_lldp_time_to_live_tlv ttl; /**< Mandatory TTL TLV */ member
|
/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() 521 uint8_t ttl; in test_provisioning_data_load() local [all …]
|
/Zephyr-latest/tests/net/lib/dns_packet/src/ |
D | main.c | 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() 466 .ttl = 3028, in ZTEST() 517 .ttl = 600, in ZTEST() 576 .ttl = 30, in ZTEST() 1279 uint32_t ttl; in ZTEST() local 1286 ret = dns_unpack_answer(&dns_msg, 0, &ttl, &type); in ZTEST()
|
/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
|