Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 25 of 56) sorted by relevance

123

/dpdk/app/test/
H A Dtest_ipfrag.c105 uint8_t ttl, uint8_t proto, uint16_t pktid) in v4_allocate_packet_of() argument
134 if (!ttl) in v4_allocate_packet_of()
135 ttl = 64; /* default to 64 */ in v4_allocate_packet_of()
140 hdr->time_to_live = ttl; in v4_allocate_packet_of()
148 v6_allocate_packet_of(struct rte_mbuf *b, int fill, size_t s, uint8_t ttl, in v6_allocate_packet_of() argument
165 hdr->hop_limits = ttl; in v6_allocate_packet_of()
215 uint8_t ttl; in test_ip_frag() member
262 tests[i].ttl, in test_ip_frag()
268 tests[i].ttl, in test_ip_frag()
/dpdk/lib/node/
H A Dip4_lookup_sse.h80 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 Dnode_private.h32 uint16_t ttl; member
H A Dip4_lookup.c84 node_mbuf_priv1(mbuf, dyn)->ttl = ipv4_hdr->time_to_live; in ip4_lookup_node_process_scalar()
/dpdk/examples/pipeline/examples/
H A Dfib.spec41 bit<8> ttl
92 cksub h.ipv4.hdr_checksum h.ipv4.ttl
93 sub h.ipv4.ttl 0x1
94 ckadd h.ipv4.hdr_checksum h.ipv4.ttl
H A Dvxlan.spec19 bit<8> ttl
129 mov h.outer_ipv4.ttl t.ipv4_ttl
H A Dregisters.spec27 bit<8> ttl
H A Dmeter.spec27 bit<8> ttl
H A Dvarbit.spec32 bit<8> ttl
H A Dlearner.spec34 bit<8> ttl
/dpdk/drivers/net/ice/
H A Drte_pmd_ice.h47 ttl:8; member
206 data.ipv4.ttl, in rte_net_ice_dump_proto_xtr_metadata()
/dpdk/drivers/net/iavf/
H A Drte_pmd_iavf.h47 ttl:8; member
210 data.ipv4.ttl, in rte_pmd_ifd_dump_proto_xtr_metadata()
/dpdk/lib/net/
H A Drte_mpls.h36 uint8_t ttl; /**< Time to live. */ member
/dpdk/examples/ip_pipeline/
H A Daction.h54 struct rte_table_action_ttl_config ttl; member
H A Dcli.c1361 p.ttl.drop = 1; in cmd_table_action_profile()
3454 (ttl > 0x3F)) in parse_table_action_encap()
3459 a->encap.mpls.mpls[0].ttl = ttl; in parse_table_action_encap()
3477 (ttl > 0x3F)) in parse_table_action_encap()
3482 a->encap.mpls.mpls[1].ttl = ttl; in parse_table_action_encap()
3500 (ttl > 0x3F)) in parse_table_action_encap()
3505 a->encap.mpls.mpls[2].ttl = ttl; in parse_table_action_encap()
3523 (ttl > 0x3F)) in parse_table_action_encap()
3528 a->encap.mpls.mpls[3].ttl = ttl; in parse_table_action_encap()
3608 a->encap.vxlan.ipv4.ttl = ttl; in parse_table_action_encap()
[all …]
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_cli.c2073 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 …]
/dpdk/drivers/net/ice/base/
H A Dice_fdir.c3510 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3533 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3547 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3556 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3581 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3606 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3634 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3656 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3688 ice_pkt_insert_u8(loc, ICE_IPV4_NO_MAC_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
3745 ice_pkt_insert_u8(loc, ICE_IPV4_NO_MAC_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
[all …]
/dpdk/drivers/bus/pci/
H A Dpci_common.c746 int ttl; in rte_pci_find_ext_capability() local
749 ttl = (RTE_PCI_CFG_SPACE_EXP_SIZE - RTE_PCI_CFG_SPACE_SIZE) / 8; in rte_pci_find_ext_capability()
763 while (ttl != 0) { in rte_pci_find_ext_capability()
778 ttl--; in rte_pci_find_ext_capability()
/dpdk/lib/pipeline/
H A Drte_table_action.c729 p->mpls.mpls[i].ttl)); in encap_mpls_apply()
734 p->mpls.mpls[i].ttl)); in encap_mpls_apply()
1498 if (ttl->drop == 0) in ttl_cfg_check()
1546 ttl -= ttl_diff; in pkt_ipv4_work_ttl()
1549 ip->time_to_live = ttl; in pkt_ipv4_work_ttl()
1551 drop = (ttl == 0) ? 1 : 0; in pkt_ipv4_work_ttl()
1562 uint8_t ttl = ip->hop_limits; in pkt_ipv6_work_ttl() local
1565 ttl -= ttl_diff; in pkt_ipv6_work_ttl()
1567 ip->hop_limits = ttl; in pkt_ipv6_work_ttl()
1569 drop = (ttl == 0) ? 1 : 0; in pkt_ipv6_work_ttl()
[all …]
H A Drte_table_action.h405 uint8_t ttl; /**< Time to Live (TTL). */ member
418 uint8_t ttl; /**< Time To Live (TTL). */ member
/dpdk/doc/guides/sample_app_ug/
H A Dip_pipeline.rst343 [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]
/dpdk/doc/guides/tools/
H A Dflow-perf.rst357 * ``--set-ttl``
358 Add set IP ttl action to all flows actions.
359 The ttl value to be set is random each flow.
361 * ``--dec-ttl``
362 Add decrement IP ttl by one to all flows actions.
/dpdk/doc/guides/nics/
H A Dmemif.rst272 64 bytes from 192.168.1.2: icmp_seq=2 ttl=254 time=36.2918 ms
273 64 bytes from 192.168.1.2: icmp_seq=3 ttl=254 time=23.3927 ms
274 64 bytes from 192.168.1.2: icmp_seq=4 ttl=254 time=24.2975 ms
275 64 bytes from 192.168.1.2: icmp_seq=5 ttl=254 time=17.7049 ms
/dpdk/drivers/net/cxgbe/base/
H A Dadapter.h633 int ttl = 48; in t4_os_find_pci_capability() local
644 while (ttl-- && pos >= 0x40) { in t4_os_find_pci_capability()
/dpdk/lib/ethdev/
H A Drte_eth_ctrl.h170 uint8_t ttl; /**< Time to live to match. */ member

123