/third_party/lwip/src/include/lwip/ |
D | ip.h | 97 u8_t ttl \ 113 u8_t ttl \ 255 #define ip_output(p, src, dest, ttl, tos, proto) \ argument 257 ip6_output(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto) : \ 258 ip4_output(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto)) 263 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 265 ip6_output_if(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \ 266 ip4_output_if(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif)) 271 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument 273 ip6_output_if_src(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \ [all …]
|
D | ip4.h | 81 u8_t ttl, u8_t tos, u8_t proto); 83 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 85 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 88 u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint); 92 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 95 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
|
/third_party/ltp/testcases/network/multicast/mc_opts/ |
D | mc_verify_opts.c | 26 unsigned char ttl; in main() local 81 len = sizeof(ttl); in main() 83 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) { in main() 87 printf("getsockopt: got ttl = %i\n", ttl); in main() 88 if (ttl != 1) in main() 90 ttl); in main() 91 ttl = 10; /* Set ttl to 10 */ in main() 92 len = sizeof(ttl); in main() 94 &ttl, sizeof(ttl)) != 0) { in main() 100 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) { in main() [all …]
|
D | mc_verify_opts_error.c | 19 unsigned char ttl; in main() local 52 len = sizeof(ttl); in main() 54 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) in main() 57 ttl = 10; /* Set ttl to 10 */ in main() 59 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) != 0) in main()
|
/third_party/node/test/parallel/ |
D | test-dns-resolveany.js | 10 { type: 'A', address: '1.2.3.4', ttl: 123 }, property 11 { type: 'AAAA', address: '::42', ttl: 123 }, property 12 { type: 'MX', priority: 42, exchange: 'foobar.com', ttl: 124 }, property 13 { type: 'NS', value: 'foobar.org', ttl: 457 }, property 15 { type: 'PTR', value: 'baz.org', ttl: 987 }, property 67 delete ret.ttl;
|
D | test-dns.js | 364 { type: 'A', address: '1.2.3.4', ttl: 3333333333 }, property 365 { type: 'AAAA', address: '::42', ttl: 3333333333 }, property 366 { type: 'MX', priority: 42, exchange: 'foobar.com', ttl: 3333333333 }, property 367 { type: 'NS', value: 'foobar.org', ttl: 3333333333 }, property 368 { type: 'PTR', value: 'baz.org', ttl: 3333333333 }, property 382 options: { ttl: true }, property 383 answers: [ { type: 'A', address: '1.2.3.4', ttl: 3333333333 } ] }, property 386 options: { ttl: true }, property 387 answers: [ { type: 'AAAA', address: '::42', ttl: 3333333333 } ] }, property 439 delete ret.ttl;
|
/third_party/node/lib/internal/dns/ |
D | callback_resolver.js | 42 if (ttls && this.ttl) 44 result, (address, index) => ({ address, ttl: ttls[index] })); property 72 req.ttl = !!(options && options.ttl); 81 ttl: req.ttl, property
|
D | promises.js | 256 if (ttls && this.ttl) 258 result, (address, index) => ({ address, ttl: ttls[index] })); property 266 function createResolverPromise(resolver, bindingName, hostname, ttl) { argument 275 req.ttl = ttl; 287 ttl, property 298 const ttl = !!(options && options.ttl); 299 return createResolverPromise(this, bindingName, name, ttl);
|
/third_party/ffmpeg/libavformat/ |
D | sdp.c | 49 int ttl; /**< TTL, in case of multicast stream */ member 59 const char *dest_type, int ttl) in sdp_write_address() argument 64 if (ttl > 0 && !strcmp(dest_type, "IP4")) { in sdp_write_address() 67 av_strlcatf(buff, size, "c=IN %s %s/%d\r\n", dest_type, dest_addr, ttl); in sdp_write_address() 82 sdp_write_address(buff, size, s->dst_addr, s->dst_type, s->ttl); in sdp_write_header() 122 static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url) in sdp_get_address() argument 130 *ttl = 0; in sdp_get_address() 144 *ttl = strtol(buff, NULL, 10); in sdp_get_address() 146 *ttl = 5; in sdp_get_address() 752 int port, int ttl, AVFormatContext *fmt) in ff_sdp_write_media() argument [all …]
|
/third_party/node/deps/npm/node_modules/path-scurry/node_modules/lru-cache/dist/cjs/ |
D | index.js | 151 ttl; field in LRUCache 306 …const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale,… 382 this.ttl = ttl || 0; 383 if (this.ttl) { 384 if (!isPosInt(this.ttl)) { 390 if (this.#max === 0 && this.ttl === 0 && this.#maxSize === 0) { 414 this.#setItemTTL = (index, ttl, start = perf.now()) => { 415 starts[index] = ttl !== 0 ? start : 0; 416 ttls[index] = ttl; 417 if (ttl !== 0 && this.ttlAutopurge) { [all …]
|
/third_party/node/deps/npm/node_modules/path-scurry/node_modules/lru-cache/dist/mjs/ |
D | index.js | 148 ttl; field in LRUCache 303 …const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale,… 379 this.ttl = ttl || 0; 380 if (this.ttl) { 381 if (!isPosInt(this.ttl)) { 387 if (this.#max === 0 && this.ttl === 0 && this.#maxSize === 0) { 411 this.#setItemTTL = (index, ttl, start = perf.now()) => { 412 starts[index] = ttl !== 0 ? start : 0; 413 ttls[index] = ttl; 414 if (ttl !== 0 && this.ttlAutopurge) { [all …]
|
/third_party/node/deps/npm/node_modules/lru-cache/ |
D | index.js | 154 ttl, 273 this.ttl = ttl || maxAge || 0 274 if (this.ttl) { 275 if (!isPosInt(this.ttl)) { 284 if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) { 319 this.setItemTTL = (index, ttl, start = perf.now()) => { argument 320 this.starts[index] = ttl !== 0 ? start : 0 321 this.ttls[index] = ttl 322 if (ttl !== 0 && this.ttlAutopurge) { 327 }, ttl + 1) [all …]
|
D | index.mjs | 154 ttl, 273 this.ttl = ttl || maxAge || 0 274 if (this.ttl) { 275 if (!isPosInt(this.ttl)) { 277 'ttl must be a positive integer if specified' 284 if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) { 286 'At least one of max, maxSize, or ttl is required' 304 deprecatedOption('maxAge', 'ttl') 319 this.setItemTTL = (index, ttl, start = perf.now()) => { argument 320 this.starts[index] = ttl !== 0 ? start : 0 [all …]
|
/third_party/toybox/toys/pending/ |
D | traceroute.c | 110 static void send_probe4(int seq, int ttl) in send_probe4() argument 132 res = setsockopt(TT.snd_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); in send_probe4() 133 if (res < 0) perror_exit("setsockopt ttl %d", ttl); in send_probe4() 142 static void send_probe6(int seq, int ttl) in send_probe6() argument 151 if (setsockopt(TT.snd_sock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl, in send_probe6() 152 sizeof(ttl)) < 0) error_exit("setsockopt ttl %d", ttl); in send_probe6() 199 int seq, fexit, ttl, tv = TT.wait_time * 1000; in do_trace() local 207 for (ttl = TT.first_ttl; ttl <= TT.max_ttl; ++ttl) { in do_trace() 214 xprintf("%2d", ttl); in do_trace() 223 if (!TT.istraceroute6) send_probe4(++seq, ttl); in do_trace() [all …]
|
/third_party/node/deps/cares/src/lib/ |
D | ares__addrinfo2hostent.c | 225 if(next_cname->ttl < cname_ttl) in ares__addrinfo2addrttl() 226 cname_ttl = next_cname->ttl; in ares__addrinfo2addrttl() 240 addr6ttls[*naddrttls].ttl = cname_ttl; in ares__addrinfo2addrttl() 242 addr6ttls[*naddrttls].ttl = next->ai_ttl; in ares__addrinfo2addrttl() 251 addrttls[*naddrttls].ttl = cname_ttl; in ares__addrinfo2addrttl() 253 addrttls[*naddrttls].ttl = next->ai_ttl; in ares__addrinfo2addrttl()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | rtpsink.c | 26 gint ttl, ttl_mc; in GST_START_TEST() local 34 g_object_get (rtpsink, "ttl", &ttl, "ttl_mc", &ttl_mc, NULL); in GST_START_TEST() 37 g_assert_cmpint (ttl, ==, 8); in GST_START_TEST()
|
D | rtpsrc.c | 25 guint latency, ttl, ttl_mc; in GST_START_TEST() local 34 "latency", &latency, "ttl-mc", &ttl_mc, "ttl", &ttl, NULL); in GST_START_TEST() 38 g_assert_cmpint (ttl, ==, 8); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/ext/lv2/ |
D | calf-lv2-port-groups.patch | 36 …ttl += gui_uri + " uiext:portNotification [\n uiext:plugin " + uri + " ;\n uiext:portIndex "… 42 + ttl += "<#stereoIn> a pg:StereoGroup ;\n lv2:symbol \"in\";\n lv2:name \"Input\"… 45 + ttl += "<#stereoOut> a pg:StereoGroup ;\n lv2:symbol \"out\" ;\n lv2:name \"Outp… 47 + ttl += " ;\n pg:source <#stereoIn>"; 48 + ttl += " .\n\n"; 51 ttl += uri + " a lv2:Plugin ;\n";
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-session.c | 213 long ttl; in lws_tls_session_new_cb() local 233 ttl = SSL_SESSION_get_timeout(sess); in lws_tls_session_new_cb() 248 ttl * LWS_US_PER_SEC); in lws_tls_session_new_cb() 278 sess, wsi->lc.gutag, disposition, tag, ttl, vh->name, in lws_tls_session_new_cb() 337 lws_tls_session_cache(struct lws_vhost *vh, uint32_t ttl) in lws_tls_session_cache() argument 351 if (!ttl) in lws_tls_session_cache() 355 SSL_CTX_set_timeout(vh->tls.ssl_client_ctx, ttl); in lws_tls_session_cache() 357 SSL_CTX_set_timeout(vh->tls.ssl_client_ctx, (long)ttl); in lws_tls_session_cache()
|
/third_party/ltp/testcases/network/multicast/mc_commo/ |
D | mc_send.c | 26 char ttl = 0; in main() local 90 ttl = atoi(argv[4]); in main() 91 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) < 0) { in main()
|
/third_party/libwebsockets/lib/system/async-dns/ |
D | async-dns-parse.c | 130 uint32_t ttl, adns_query_type_t type, 161 uint32_t ttl; in lws_adns_iterate() local 247 ttl = lws_ser_ru32be(&p[4]); in lws_adns_iterate() 310 cb(stack[0].name, opaque, ttl, rrtype, p); in lws_adns_iterate() 433 lws_async_dns_estimate(const char *name, void *opaque, uint32_t ttl, in lws_async_dns_estimate() argument 463 lws_async_dns_store(const char *name, void *opaque, uint32_t ttl, in lws_async_dns_store() argument 472 if (ttl < adst->smallest_ttl || !adst->ctr) in lws_async_dns_store() 473 adst->smallest_ttl = ttl; in lws_async_dns_store()
|
/third_party/lwip/src/core/ipv4/ |
D | ip4.c | 829 u8_t ttl, u8_t tos, argument 833 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0); 844 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, argument 856 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif, 859 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif); 869 u8_t ttl, u8_t tos, argument 873 return ip4_output_if_opt_src(p, src, dest, ttl, tos, proto, netif, NULL, 0); 882 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, argument 948 IPH_TTL_SET(iphdr, ttl); 951 chk_sum += PP_NTOHS(proto | (ttl << 8)); [all …]
|
/third_party/pulseaudio/src/modules/rtp/ |
D | module-rtp-send.c | 215 uint32_t ttl = DEFAULT_TTL; in pa__init() local 312 if (pa_modargs_get_value_u32(ma, "ttl", &ttl) < 0 || ttl < 1 || ttl > 0xFF) { in pa__init() 418 if (ttl != DEFAULT_TTL) { in pa__init() 419 int _ttl = (int) ttl; in pa__init() 442 pa_proplist_setf(data.proplist, "rtp.ttl", "%lu", (unsigned long) ttl); in pa__init() 509 mtu, dst_addr, port, src_addr, ttl, payload); in pa__init()
|
/third_party/libwebsockets/lib/misc/ |
D | CMakeLists.txt | 41 misc/cache-ttl/lws-cache-ttl.c 42 misc/cache-ttl/heap.c 47 misc/cache-ttl/file.c) 59 # implementation unrelated to lws-cache-ttl
|
/third_party/lwip/src/core/ |
D | raw.c | 449 u8_t ttl; in raw_sendto_if_src() local 543 ttl = (ip_addr_ismulticast(dst_ip) ? raw_get_multicast_ttl(pcb) : pcb->ttl); in raw_sendto_if_src() 545 ttl = pcb->ttl; in raw_sendto_if_src() 549 err = ip_output_if(q, src_ip, dst_ip, ttl, pcb->tos, pcb->protocol, netif); in raw_sendto_if_src() 641 pcb->ttl = RAW_TTL; in raw_new()
|