| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | other.tcl | 117 set ttl [r ttl x] 122 set ttl [r ttl x] 152 set ttl [r ttl x] 153 assert {$ttl > 900 && $ttl <= 1000} 154 set ttl [r ttl y] 155 assert {$ttl > 1900 && $ttl <= 2000} 156 set ttl [r ttl z] 158 set ttl [r ttl px] 159 assert {$ttl > 900 && $ttl <= 1000} 160 set ttl [r ttl py] [all …]
|
| H A D | expire.tcl | 5 set v2 [r ttl x] 35 r ttl x 40 r ttl x 67 list [r ttl x] [r persist x] [r ttl x] [r get x] 127 set ttl [r ttl x] 128 assert {$ttl > 8 && $ttl <= 10} 135 assert {$ttl > 900 && $ttl <= 1000} 213 set ttl [r ttl foo] 214 assert {$ttl <= 98 && $ttl > 90} 219 set ttl [r ttl foo] [all …]
|
| H A D | keyspace.tcl | 140 assert {[r ttl mykey] > 95 && [r ttl mykey] <= 100} 142 assert {[r ttl mykey2] > 95 && [r ttl mykey2] <= 100} 150 assert {[r ttl mykey] == -1 && [r ttl mykey2] > 0} 152 r ttl mykey2 202 assert {[r ttl mykey] == -2} 204 assert {[r ttl mykey] > 0 && [r ttl mykey] <= 100} 215 assert {[r ttl mykey] == -2} 217 assert {[r ttl mykey] == -1}
|
| H A D | dump.tcl | 6 list [r exists foo] [r restore foo 0 $encoded] [r ttl foo] [r get foo] 14 set ttl [r pttl foo] 15 assert {$ttl >= 3000 && $ttl <= 5000} 24 set ttl [r pttl foo] 25 assert {$ttl >= (2569591501-3000) && $ttl <= 2569591501} 35 set ttl [r pttl foo] 36 assert {$ttl >= 2900 && $ttl <= 3100} 125 assert {[$second ttl key] == -1} 186 assert {[$second ttl key] >= 7 && [$second ttl key] <= 10} 210 assert {[$second ttl key] == -1} [all …]
|
| /f-stack/tools/libutil/ |
| H A D | login_ok.c | 136 const char **ttl; in login_ttyok() local 140 ttl = login_getcaplist(lc, allowcap, NULL); in login_ttyok() 142 if (ttl != NULL && !login_str2inlist(ttl, tty, grp, 0)) in login_ttyok() 146 ttl = login_getcaplist(lc, denycap, NULL); in login_ttyok() 147 if (ttl != NULL && login_str2inlist(ttl, tty, grp, 0)) in login_ttyok()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_ipfrag.c | 93 uint8_t ttl, uint8_t proto, uint16_t pktid) in v4_allocate_packet_of() argument 113 if (!ttl) in v4_allocate_packet_of() 114 ttl = 64; /* default to 64 */ in v4_allocate_packet_of() 119 hdr->time_to_live = ttl; in v4_allocate_packet_of() 127 v6_allocate_packet_of(struct rte_mbuf *b, int fill, size_t s, uint8_t ttl, in v6_allocate_packet_of() argument 144 hdr->hop_limits = ttl; in v6_allocate_packet_of() 170 uint8_t ttl; in test_ip_frag() member 204 tests[i].ttl, in test_ip_frag() 210 tests[i].ttl, in test_ip_frag()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | expire.c | 191 long long ttl; in activeExpireCycle() local 194 ttl = dictGetSignedIntegerVal(de)-now; in activeExpireCycle() 196 if (ttl > 0) { in activeExpireCycle() 198 ttl_sum += ttl; in activeExpireCycle() 474 long long expire, ttl = -1; in ttlGenericCommand() local 485 ttl = expire-mstime(); in ttlGenericCommand() 486 if (ttl < 0) ttl = 0; in ttlGenericCommand() 488 if (ttl == -1) { in ttlGenericCommand() 491 addReplyLongLong(c,output_ms ? ttl : ((ttl+500)/1000)); in ttlGenericCommand()
|
| /f-stack/app/redis-5.0.5/tests/unit/type/ |
| H A D | string.tcl | 400 set ttl [r ttl foo] 401 assert {$ttl <= 10 && $ttl > 5} 407 set ttl [r ttl foo] 408 assert {$ttl <= 10 && $ttl > 5} 414 set ttl [r ttl foo] 415 assert {$ttl <= 10 && $ttl > 5}
|
| /f-stack/dpdk/lib/librte_node/ |
| H A D | ip4_lookup_sse.h | 80 node_mbuf_priv1(mbuf0, dyn)->ttl = ipv4_hdr->time_to_live; in ip4_lookup_node_process_vec() 88 node_mbuf_priv1(mbuf1, dyn)->ttl = ipv4_hdr->time_to_live; in ip4_lookup_node_process_vec() 96 node_mbuf_priv1(mbuf2, dyn)->ttl = ipv4_hdr->time_to_live; in ip4_lookup_node_process_vec() 113 node_mbuf_priv1(mbuf3, dyn)->ttl = ipv4_hdr->time_to_live; in ip4_lookup_node_process_vec() 204 node_mbuf_priv1(mbuf0, dyn)->ttl = ipv4_hdr->time_to_live; in ip4_lookup_node_process_vec()
|
| H A D | node_private.h | 32 uint16_t ttl; member
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_resolver.c | 48 u_char ttl[4]; member 2146 ttl = (an->ttl[0] << 24) + (an->ttl[1] << 16) in ngx_resolver_process_a() 2147 + (an->ttl[2] << 8) + (an->ttl[3]); in ngx_resolver_process_a() 2156 ttl = 0; in ngx_resolver_process_a() 2159 rn->ttl = ngx_min(rn->ttl, (uint32_t) ttl); in ngx_resolver_process_a() 2688 ttl = (an->ttl[0] << 24) + (an->ttl[1] << 16) in ngx_resolver_process_srv() 2689 + (an->ttl[2] << 8) + (an->ttl[3]); in ngx_resolver_process_srv() 2698 ttl = 0; in ngx_resolver_process_srv() 2701 rn->ttl = ngx_min(rn->ttl, (uint32_t) ttl); in ngx_resolver_process_srv() 3253 ttl = (an->ttl[0] << 24) + (an->ttl[1] << 16) in ngx_resolver_process_ptr() [all …]
|
| /f-stack/dpdk/lib/librte_net/ |
| H A D | rte_mpls.h | 36 uint8_t ttl; /**< Time to live. */ member
|
| /f-stack/dpdk/drivers/net/iavf/ |
| H A D | rte_pmd_iavf.h | 47 ttl:8; member 209 data.ipv4.ttl, in rte_pmd_ifd_dump_proto_xtr_metadata()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | rte_pmd_ice.h | 47 ttl:8; member 206 data.ipv4.ttl, in rte_net_ice_dump_proto_xtr_metadata()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_ipsec_pxy.c | 144 int p, off, dlen, ttl; local 195 ttl = IPF_TTLVAL(softi->ipsec_nat_tqe->ifq_ttl); 196 ipn->in_tqehead[0] = ipf_nat_add_tq(softc, ttl); 197 ipn->in_tqehead[1] = ipf_nat_add_tq(softc, ttl);
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | action.h | 54 struct rte_table_action_ttl_config ttl; member
|
| H A D | cli.c | 1363 p.ttl.drop = 1; in cmd_table_action_profile() 3456 (ttl > 0x3F)) in parse_table_action_encap() 3461 a->encap.mpls.mpls[0].ttl = ttl; in parse_table_action_encap() 3479 (ttl > 0x3F)) in parse_table_action_encap() 3484 a->encap.mpls.mpls[1].ttl = ttl; in parse_table_action_encap() 3502 (ttl > 0x3F)) in parse_table_action_encap() 3507 a->encap.mpls.mpls[2].ttl = ttl; in parse_table_action_encap() 3525 (ttl > 0x3F)) in parse_table_action_encap() 3530 a->encap.mpls.mpls[3].ttl = ttl; in parse_table_action_encap() 3610 a->encap.vxlan.ipv4.ttl = ttl; in parse_table_action_encap() [all …]
|
| /f-stack/dpdk/drivers/bus/pci/ |
| H A D | pci_common.c | 711 int ttl; in rte_pci_find_ext_capability() local 714 ttl = (RTE_PCI_CFG_SPACE_EXP_SIZE - RTE_PCI_CFG_SPACE_SIZE) / 8; in rte_pci_find_ext_capability() 728 while (ttl != 0) { in rte_pci_find_ext_capability() 743 ttl--; in rte_pci_find_ext_capability()
|
| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_clsf.c | 182 if (input->flow.ip4_flow.ttl) { in copy_fltr_v2() 183 ip4_mask.time_to_live = masks->ipv4_mask.ttl; in copy_fltr_v2() 184 ip4_val.time_to_live = input->flow.ip4_flow.ttl; in copy_fltr_v2()
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_cli.c | 2073 p.ttl.drop = 1; in cmd_table_action_profile() 2075 p.ttl.drop = 0; in cmd_table_action_profile() 4160 ttl > 0x3F) in parse_table_action_encap() 4165 a->encap.mpls.mpls[0].ttl = ttl; in parse_table_action_encap() 4184 ttl > 0x3F) in parse_table_action_encap() 4189 a->encap.mpls.mpls[1].ttl = ttl; in parse_table_action_encap() 4208 ttl > 0x3F) in parse_table_action_encap() 4213 a->encap.mpls.mpls[2].ttl = ttl; in parse_table_action_encap() 4232 ttl > 0x3F) in parse_table_action_encap() 4237 a->encap.mpls.mpls[3].ttl = ttl; in parse_table_action_encap() [all …]
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_table_action.h | 405 uint8_t ttl; /**< Time to Live (TTL). */ member 418 uint8_t ttl; /**< Time To Live (TTL). */ member
|
| H A D | rte_table_action.c | 731 p->mpls.mpls[i].ttl)); in encap_mpls_apply() 736 p->mpls.mpls[i].ttl)); in encap_mpls_apply() 1500 if (ttl->drop == 0) in ttl_cfg_check() 1548 ttl -= ttl_diff; in pkt_ipv4_work_ttl() 1551 ip->time_to_live = ttl; in pkt_ipv4_work_ttl() 1553 drop = (ttl == 0) ? 1 : 0; in pkt_ipv4_work_ttl() 1564 uint8_t ttl = ip->hop_limits; in pkt_ipv6_work_ttl() local 1567 ttl -= ttl_diff; in pkt_ipv6_work_ttl() 1569 ip->hop_limits = ttl; in pkt_ipv6_work_ttl() 1571 drop = (ttl == 0) ? 1 : 0; in pkt_ipv6_work_ttl() [all …]
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | ip_pipeline.rst | 343 [ttl drop | fwd 480 label0 <label> <tc> <ttl> 481 [label1 <label> <tc> <ttl> 482 [label2 <label> <tc> <ttl> 483 [label3 <label> <tc> <ttl>]]] 486 [ttl dec | keep]
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmip.h | 172 uint8_t ttl ; member
|
| /f-stack/dpdk/doc/guides/tools/ |
| H A D | flow-perf.rst | 317 * ``--set-ttl`` 318 Add set IP ttl action to all flows actions. 319 The ttl value to be set is random each flow. 321 * ``--dec-ttl`` 322 Add decrement IP ttl by one to all flows actions.
|