Home
last modified time | relevance | path

Searched refs:ip_dst (Results 1 – 25 of 34) sorted by relevance

12

/dpdk/app/test/
H A Dtest_acl.h13 uint32_t ip_dst; member
541 .ip_dst = RTE_IPV4(10,0,0,0),
559 .ip_dst = RTE_IPV4(5,6,7,254),
570 .ip_dst = RTE_IPV4(1,10,20,30),
580 .ip_dst = RTE_IPV4(5,6,7,8),
590 .ip_dst = RTE_IPV4(2,2,3,4),
600 .ip_dst = RTE_IPV4(1,2,3,4),
623 .ip_dst = RTE_IPV4(5,6,7,254),
642 .ip_dst = RTE_IPV4(5,6,7,8),
651 .ip_dst = RTE_IPV4(2,2,3,4),
[all …]
H A Dtest_table.c61 uint32_t ip_dst = rte_be_to_cpu_32(k32[0]); in pipeline_test_hash() local
62 uint64_t signature = ip_dst; in pipeline_test_hash()
72 uint32_t ip_dst = rte_be_to_cpu_32(k32[0]); in pipeline_test_hash_cuckoo() local
73 uint32_t signature = ip_dst; in pipeline_test_hash_cuckoo()
H A Dtest_efd.c38 uint32_t ip_dst; member
66 .ip_dst = RTE_IPV4(0x07, 0x06, 0x05, 0x04),
73 .ip_dst = RTE_IPV4(0x17, 0x16, 0x15, 0x14),
80 .ip_dst = RTE_IPV4(0x27, 0x26, 0x25, 0x24),
87 .ip_dst = RTE_IPV4(0x37, 0x36, 0x35, 0x34),
94 .ip_dst = RTE_IPV4(0x47, 0x46, 0x45, 0x44),
H A Dtest_member.c35 uint32_t ip_dst; member
56 .ip_dst = RTE_IPV4(0x07, 0x06, 0x05, 0x04),
63 .ip_dst = RTE_IPV4(0x17, 0x16, 0x15, 0x14),
70 .ip_dst = RTE_IPV4(0x27, 0x26, 0x25, 0x24),
77 .ip_dst = RTE_IPV4(0x37, 0x36, 0x35, 0x34),
84 .ip_dst = RTE_IPV4(0x47, 0x46, 0x45, 0x44),
H A Dtest_acl.c54 offsetof(struct ipv4_7tuple, ip_dst),
69 data[i].ip_dst = rte_cpu_to_be_32(data[i].ip_dst); in bswap_test_data()
76 data[i].ip_dst = rte_be_to_cpu_32(data[i].ip_dst); in bswap_test_data()
532 .ip_dst = RTE_IPV4(192, 168, 0, 33), in test_build_ports_range()
539 .ip_dst = RTE_IPV4(1, 2, 3, 4), in test_build_ports_range()
1031 offsetof(struct ipv4_7tuple, ip_dst), in test_invalid_layout()
H A Dtest_table_acl.c20 uint32_t ip_dst; member
54 .offset = offsetof(struct ipv4_5tuple, ip_dst),
664 five_tuple.ip_dst = rte_bswap32(RTE_IPV4(10, 4, j, 1)); in test_pipeline_single_filter()
H A Dtest_hash.c84 uint32_t ip_dst; member
121 .ip_dst = RTE_IPV4(0x07, 0x06, 0x05, 0x04),
127 .ip_dst = RTE_IPV4(0x17, 0x16, 0x15, 0x14),
133 .ip_dst = RTE_IPV4(0x27, 0x26, 0x25, 0x24),
139 .ip_dst = RTE_IPV4(0x37, 0x36, 0x35, 0x34),
145 .ip_dst = RTE_IPV4(0x47, 0x46, 0x45, 0x44),
H A Dtest_link_bonding_mode4.c748 uint32_t ip_dst[4] = { [0 ... 2] = 0xFEEDFACE, [3] = RTE_IPV4(192, 168, 0, 2) }; in generate_packets() local
763 initialize_ipv4_header(&pkt_ip_hdr.v4, ip_src[3], ip_dst[3], pktlen); in generate_packets()
766 (uint8_t *)&ip_dst, pktlen); in generate_packets()
/dpdk/examples/l3fwd/
H A Dem_route_parse.c54 rc = em_parse_v6_net(in[CB_FLD_DST_ADDR], v->v6_key.ip_dst); in em_parse_v6_rule()
88 rc = inet_pton(AF_INET, in[CB_FLD_DST_ADDR], &(v->v4_key.ip_dst)); in em_parse_v4_rule()
89 v->v4_key.ip_dst = ntohl(v->v4_key.ip_dst); in em_parse_v4_rule()
204 em_route_base_v4[i].v4_key.ip_dst = ipv4_l3fwd_em_route_array[i].key.ip_dst; in em_add_default_v4_rules()
224 memcpy(em_route_base_v6[i].v6_key.ip_dst, ipv6_l3fwd_em_route_array[i].key.ip_dst, in em_add_default_v6_rules()
225 sizeof(em_route_base_v6[i].v6_key.ip_dst)); in em_add_default_v6_rules()
H A Dl3fwd_em.c52 uint32_t ip_dst; member
67 uint8_t ip_dst[IPV6_ADDR_LEN]; member
153 init_val = rte_hash_crc_4byte(k->ip_dst, init_val); in ipv4_hash_crc()
158 init_val = rte_jhash_1word(k->ip_dst, init_val); in ipv4_hash_crc()
186 ip_dst0 = (const uint32_t *) k->ip_dst; in ipv6_hash_crc()
187 ip_dst1 = (const uint32_t *)(k->ip_dst+4); in ipv6_hash_crc()
188 ip_dst2 = (const uint32_t *)(k->ip_dst+8); in ipv6_hash_crc()
189 ip_dst3 = (const uint32_t *)(k->ip_dst+12); in ipv6_hash_crc()
204 init_val = rte_jhash(k->ip_dst, in ipv6_hash_crc()
322 key2->ip_dst = rte_cpu_to_be_32(key1->ip_dst); in convert_ipv4_5tuple()
[all …]
H A Dl3fwd_route.h37 uint32_t ip_dst; member
45 uint8_t ip_dst[IPV6_ADDR_LEN]; member
/dpdk/app/test-pipeline/
H A Dpipeline_hash.c388 uint32_t ip_dst = rte_be_to_cpu_32(k32[0]); in test_hash() local
389 uint64_t signature = (ip_dst >> 2) | ((ip_dst & 0x3) << 30); in test_hash()
400 uint32_t ip_dst = rte_be_to_cpu_32(k32[0]); in test_hash_cuckoo() local
401 uint32_t signature = (ip_dst >> 2) | ((ip_dst & 0x3) << 30); in test_hash_cuckoo()
431 uint32_t ip_dst; in app_main_loop_rx_metadata() local
445 ip_dst = ip_hdr->dst_addr; in app_main_loop_rx_metadata()
448 k32[0] = ip_dst & 0xFFFFFF00; in app_main_loop_rx_metadata()
/dpdk/app/test-acl/
H A Dmain.c141 uint32_t ip_dst; member
192 .offset = offsetof(struct ipv4_5tuple, ip_dst),
217 uint32_t ip_dst[IPV6_ADDR_U32]; member
278 .offset = offsetof(struct ipv6_5tuple, ip_dst[0]),
285 .offset = offsetof(struct ipv6_5tuple, ip_dst[1]),
292 .offset = offsetof(struct ipv6_5tuple, ip_dst[2]),
299 .offset = offsetof(struct ipv6_5tuple, ip_dst[3]),
374 GET_CB_FIELD(in[CB_TRC_DST_ADDR], v->ip_dst, 0, UINT32_MAX, 0); in parse_cb_ipv4_trace()
381 v->ip_dst = rte_cpu_to_be_32(v->ip_dst); in parse_cb_ipv4_trace()
462 rc = parse_cb_ipv6_addr_trace(in[CB_TRC_DST_ADDR], v->ip_dst); in parse_cb_ipv6_trace()
/dpdk/examples/server_node_efd/server/
H A Dinit.c222 uint32_t ip_dst; in populate_efd_table() local
230 ip_dst = rte_cpu_to_be_32(i); in populate_efd_table()
232 (void *)&ip_dst, (efd_value_t)node_id); in populate_efd_table()
/dpdk/examples/server_node_efd/node/
H A Dnode.c224 uint32_t ip_dst; in populate_hash_table() local
234 ip_dst = rte_cpu_to_be_32(i); in populate_hash_table()
236 ret = rte_hash_add_key(h, (void *) &ip_dst); in populate_hash_table()
/dpdk/app/test-flow-perf/
H A Dactions_gen.c577 uint32_t ip_dst = para.counter; in add_ipv4_header() local
584 ip_dst = 1; in add_ipv4_header()
588 ipv4_hdr.dst_addr = RTE_BE32(ip_dst); in add_ipv4_header()
852 uint32_t ip_dst = para.counter; in add_vxlan_encap() local
856 ip_dst = 1; in add_vxlan_encap()
863 item_ipv4.hdr.dst_addr = RTE_BE32(ip_dst); in add_vxlan_encap()
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_flow.c365 int index, ip_src = -1, ip_dst = -1; in dpaa2_flow_extract_add() local
386 ip_dst = index; in dpaa2_flow_extract_add()
394 if (ip_dst >= 0) in dpaa2_flow_extract_add()
395 RTE_ASSERT((ip_dst + 2) >= dpkg->num_extracts); in dpaa2_flow_extract_add()
402 if (ip_src >= 0 && ip_dst >= 0) in dpaa2_flow_extract_add()
404 else if (ip_src >= 0 || ip_dst >= 0) in dpaa2_flow_extract_add()
483 if (ip_dst >= 0) { in dpaa2_flow_extract_add()
484 ip_dst++; in dpaa2_flow_extract_add()
485 dpkg->extracts[ip_dst].type = in dpaa2_flow_extract_add()
487 dpkg->extracts[ip_dst].extract.from_hdr.type = in dpaa2_flow_extract_add()
[all …]
/dpdk/examples/ip_fragmentation/
H A Dmain.c272 uint32_t ip_dst; in l3fwd_simple_forward() local
275 ip_dst = rte_be_to_cpu_32(ip_hdr->dst_addr); in l3fwd_simple_forward()
278 if (rte_lpm_lookup(rxq->lpm, ip_dst, &next_hop) == 0 && in l3fwd_simple_forward()
/dpdk/drivers/common/cnxk/
H A Droc_ie_on.h286 uint32_t ip_dst; member
/dpdk/examples/ipsec-secgw/
H A Dipip.h80 outip4->ip_dst.s_addr = dst->ip.ip4; in ipip_outbound()
H A Dsp4.c79 .offset = offsetof(struct ip, ip_dst) - offsetof(struct ip, ip_p)
/dpdk/examples/ip_reassembly/
H A Dmain.c331 uint32_t ip_dst; in reassemble() local
363 ip_dst = rte_be_to_cpu_32(ip_hdr->dst_addr); in reassemble()
366 if (rte_lpm_lookup(rxq->lpm, ip_dst, &next_hop) == 0 && in reassemble()
/dpdk/examples/l3fwd-power/
H A Dmain.c283 uint32_t ip_dst; member
291 uint8_t ip_dst[IPV6_ADDR_LEN]; member
549 "proto = %d\n", (unsigned)key.ip_dst, (unsigned)key.ip_src, in print_ipv4_key()
557 IPv6_BYTES(key.ip_dst), IPv6_BYTES(key.ip_src), in print_ipv6_key()
570 key.ip_dst = rte_be_to_cpu_32(ipv4_hdr->dst_addr); in get_ipv4_dst_port()
609 memcpy(key.ip_dst, ipv6_hdr->dst_addr, IPV6_ADDR_LEN); in get_ipv6_dst_port()
/dpdk/doc/guides/prog_guide/
H A Dpacket_classif_access_ctrl.rst85 uint32_t ip_dst;
119 .offset = offsetof (struct ipv4_5tuple, ip_dst),
231 uint32_t ip_dst;
264 .offset = offsetof (struct acl_key, ip_dst),
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_sec_telemetry.c42 rte_tel_data_add_dict_u64(d, str, out_sa->ip_dst); in copy_outb_sa_9k()

12