| /dpdk/lib/gso/ |
| H A D | gso_tunnel_udp4.c | 14 struct rte_ipv4_hdr *ipv4_hdr; in update_tunnel_ipv4_udp_headers() 25 ipv4_hdr = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) + in update_tunnel_ipv4_udp_headers() 30 ipv4_hdr = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) + in update_tunnel_ipv4_udp_headers() 45 ipv4_hdr = (struct rte_ipv4_hdr *) in update_tunnel_ipv4_udp_headers() 65 struct rte_ipv4_hdr *inner_ipv4_hdr; in gso_tunnel_udp4_segment() 70 inner_ipv4_hdr = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) + in gso_tunnel_udp4_segment()
|
| H A D | gso_tunnel_tcp4.c | 12 struct rte_ipv4_hdr *ipv4_hdr; in update_tunnel_ipv4_tcp_headers() 26 ipv4_hdr = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) + in update_tunnel_ipv4_tcp_headers() 31 ipv4_hdr = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) + in update_tunnel_ipv4_tcp_headers() 63 struct rte_ipv4_hdr *inner_ipv4_hdr; in gso_tunnel_tcp4_segment() 68 inner_ipv4_hdr = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) + in gso_tunnel_tcp4_segment()
|
| H A D | gso_udp4.c | 14 struct rte_ipv4_hdr *ipv4_hdr; in update_ipv4_udp_headers() 26 struct rte_ipv4_hdr *, l2_hdrlen); in update_ipv4_udp_headers() 45 struct rte_ipv4_hdr *ipv4_hdr; in gso_udp4_segment() 51 ipv4_hdr = rte_pktmbuf_mtod_offset(pkt, struct rte_ipv4_hdr *, in gso_udp4_segment()
|
| H A D | gso_tcp4.c | 12 struct rte_ipv4_hdr *ipv4_hdr; in update_ipv4_tcp_headers() 19 ipv4_hdr = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char*) + in update_ipv4_tcp_headers() 43 struct rte_ipv4_hdr *ipv4_hdr; in gso_tcp4_segment() 49 ipv4_hdr = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) + in gso_tcp4_segment()
|
| H A D | rte_gso.h | 22 sizeof(struct rte_ipv4_hdr) + sizeof(struct rte_tcp_hdr) + 1) 26 sizeof(struct rte_ipv4_hdr) + sizeof(struct rte_udp_hdr) + 1)
|
| /dpdk/app/test-pmd/ |
| H A D | txonly.c | 106 setup_pkt_udp_ip_headers(struct rte_ipv4_hdr *ip_hdr, in setup_pkt_udp_ip_headers() 126 pkt_len = (uint16_t) (pkt_len + sizeof(struct rte_ipv4_hdr)); in setup_pkt_udp_ip_headers() 164 struct rte_ipv4_hdr *ip_hdr; in update_pkt_header() 171 sizeof(struct rte_ipv4_hdr) + in update_pkt_header() 176 sizeof(struct rte_ipv4_hdr)); in update_pkt_header() 217 pkt->l3_len = sizeof(struct rte_ipv4_hdr); in pkt_burst_prepare() 236 struct rte_ipv4_hdr *ip_hdr; in pkt_burst_prepare() 240 struct rte_ipv4_hdr *, in pkt_burst_prepare() 255 sizeof(struct rte_ipv4_hdr)); in pkt_burst_prepare() 311 sizeof(struct rte_ipv4_hdr) + in pkt_burst_prepare() [all …]
|
| /dpdk/app/test/ |
| H A D | packet_burst_generator.c | 158 initialize_ipv4_header(struct rte_ipv4_hdr *ip_hdr, uint32_t src_addr, in initialize_ipv4_header() 168 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_ipv4_hdr)); in initialize_ipv4_header() 216 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_ipv4_hdr)); in initialize_ipv4_header_proto() 307 copy_buf_to_pkt(ip_hdr, sizeof(struct rte_ipv4_hdr), in generate_packet_burst() 310 eth_hdr_size + sizeof(struct rte_ipv4_hdr)); in generate_packet_burst() 328 pkt->l3_len = sizeof(struct rte_ipv4_hdr); in generate_packet_burst() 388 copy_buf_to_pkt(ip_hdr, sizeof(struct rte_ipv4_hdr), in generate_packet_burst_proto() 395 sizeof(struct rte_ipv4_hdr)); in generate_packet_burst_proto() 401 sizeof(struct rte_ipv4_hdr)); in generate_packet_burst_proto() 407 sizeof(struct rte_ipv4_hdr)); in generate_packet_burst_proto() [all …]
|
| H A D | test_cryptodev_security_ipsec.c | 321 struct rte_ipv4_hdr *ipv4 = ip; in is_ipv4() 334 struct rte_ipv4_hdr *ipv4; in test_ipsec_csum_init() 342 size = sizeof(struct rte_ipv4_hdr); in test_ipsec_csum_init() 484 struct rte_ipv4_hdr *ip; in test_ipsec_td_prepare() 633 struct rte_ipv4_hdr *ip; in test_ipsec_l3_csum_verify() 656 struct rte_ipv4_hdr *ipv4; in test_ipsec_l4_csum_verify() 757 const struct rte_ipv4_hdr *iph4; in test_ipsec_td_verify() 787 const struct rte_ipv4_hdr *iph4; in test_ipsec_td_verify() 974 const struct rte_ipv4_hdr *iph4; in test_ipsec_post_process() 1130 struct rte_ipv4_hdr *iph4; in test_ipsec_pkt_update() [all …]
|
| H A D | test_ipfrag.c | 112 memset(data, fill, sizeof(struct rte_ipv4_hdr) + s); in v4_allocate_packet_of() 114 struct rte_ipv4_hdr *hdr = (struct rte_ipv4_hdr *)data; in v4_allocate_packet_of() 118 b->pkt_len = s + sizeof(struct rte_ipv4_hdr); in v4_allocate_packet_of() 187 struct rte_ipv4_hdr *iph = in test_get_offset() 188 rte_pktmbuf_mtod(mb[i], struct rte_ipv4_hdr *); in test_get_offset()
|
| /dpdk/lib/ipsec/ |
| H A D | iph.h | 49 struct rte_ipv4_hdr *v4h; in update_trs_l3hdr() 143 struct rte_ipv4_hdr *v4out_h; in update_outb_tun_tos() 158 itp = ((const struct rte_ipv4_hdr *)ref_h)->type_of_service & in update_outb_tun_tos() 172 itp = ((const struct rte_ipv4_hdr *)ref_h)->type_of_service & in update_outb_tun_tos() 194 struct rte_ipv4_hdr *v4in_h; in update_inb_tun_tos() 222 ecn_v4out = ((const struct rte_ipv4_hdr *)ref_h)-> in update_inb_tun_tos() 232 ecn_v4out = ((const struct rte_ipv4_hdr *)ref_h)-> in update_inb_tun_tos() 246 struct rte_ipv4_hdr *v4h; in update_tun_outb_l3hdr()
|
| /dpdk/lib/ip_frag/ |
| H A D | rte_ipv4_fragmentation.c | 23 static inline void __fill_ipv4hdr_frag(struct rte_ipv4_hdr *dst, in __fill_ipv4hdr_frag() 24 const struct rte_ipv4_hdr *src, uint16_t header_len, in __fill_ipv4hdr_frag() 72 struct rte_ipv4_hdr *in_hdr; in rte_ipv4_fragment_packet() 87 in_hdr = rte_pktmbuf_mtod(pkt_in, struct rte_ipv4_hdr *); in rte_ipv4_fragment_packet() 123 struct rte_ipv4_hdr *out_hdr; in rte_ipv4_fragment_packet() 183 out_hdr = rte_pktmbuf_mtod(out_pkt, struct rte_ipv4_hdr *); in rte_ipv4_fragment_packet()
|
| /dpdk/lib/net/ |
| H A D | rte_ip.h | 41 struct rte_ipv4_hdr { struct 135 rte_ipv4_hdr_len(const struct rte_ipv4_hdr *ipv4_hdr) in rte_ipv4_hdr_len() 296 rte_ipv4_cksum(const struct rte_ipv4_hdr *ipv4_hdr) in rte_ipv4_cksum() 322 rte_ipv4_phdr_cksum(const struct rte_ipv4_hdr *ipv4_hdr, uint64_t ol_flags) in rte_ipv4_phdr_cksum() 352 __rte_ipv4_udptcp_cksum(const struct rte_ipv4_hdr *ipv4_hdr, const void *l4_hdr) in __rte_ipv4_udptcp_cksum() 386 rte_ipv4_udptcp_cksum(const struct rte_ipv4_hdr *ipv4_hdr, const void *l4_hdr) in rte_ipv4_udptcp_cksum() 408 const struct rte_ipv4_hdr *ipv4_hdr, in __rte_ipv4_udptcp_cksum_mbuf() 445 const struct rte_ipv4_hdr *ipv4_hdr, uint16_t l4_off) in rte_ipv4_udptcp_cksum_mbuf() 477 rte_ipv4_udptcp_cksum_verify(const struct rte_ipv4_hdr *ipv4_hdr, in rte_ipv4_udptcp_cksum_verify() 509 const struct rte_ipv4_hdr *ipv4_hdr, in rte_ipv4_udptcp_cksum_mbuf_verify()
|
| H A D | rte_net.h | 113 struct rte_ipv4_hdr *ipv4_hdr = NULL; in rte_net_intel_cksum_flags_prepare() 136 struct rte_ipv4_hdr *, m->outer_l2_len); in rte_net_intel_cksum_flags_prepare() 151 ipv4_hdr = rte_pktmbuf_mtod_offset(m, struct rte_ipv4_hdr *, in rte_net_intel_cksum_flags_prepare()
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_lpm_sse.h | 18 struct rte_ipv4_hdr *ipv4_hdr; in processx4_step1() 23 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 28 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 33 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 38 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1()
|
| H A D | l3fwd_lpm_altivec.h | 20 struct rte_ipv4_hdr *ipv4_hdr; in processx4_step1() 25 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 31 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 37 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 43 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1()
|
| H A D | l3fwd_lpm_neon.h | 21 struct rte_ipv4_hdr *ipv4_hdr; in processx4_step1() 26 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 31 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 36 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1() 41 ipv4_hdr = (struct rte_ipv4_hdr *)(eth_hdr + 1); in processx4_step1()
|
| H A D | l3fwd_altivec.h | 71 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 74 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 77 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 80 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 137 rfc1812_process((struct rte_ipv4_hdr *)(eth_hdr + 1), dst_port, in process_packet()
|
| H A D | l3fwd_sse.h | 51 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 54 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 57 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 60 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 116 rfc1812_process((struct rte_ipv4_hdr *)(eth_hdr + 1), dst_port, in process_packet()
|
| H A D | l3fwd_neon.h | 51 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 54 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 57 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 60 rfc1812_process((struct rte_ipv4_hdr *) in processx4_step3() 120 rfc1812_process((struct rte_ipv4_hdr *)(eth_hdr + 1), dst_port, in process_packet()
|
| /dpdk/lib/node/ |
| H A D | ip4_lookup_neon.h | 16 struct rte_ipv4_hdr *ipv4_hdr; in ip4_lookup_node_process_vec() 79 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf0, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec() 87 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf1, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec() 95 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf2, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec() 103 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf3, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec() 195 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf0, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec()
|
| H A D | ip4_lookup_sse.h | 17 struct rte_ipv4_hdr *ipv4_hdr; in ip4_lookup_node_process_vec() 75 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf0, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec() 83 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf1, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec() 91 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf2, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec() 99 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf3, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec() 200 ipv4_hdr = rte_pktmbuf_mtod_offset(mbuf0, struct rte_ipv4_hdr *, in ip4_lookup_node_process_vec()
|
| H A D | ip4_rewrite.c | 41 struct rte_ipv4_hdr *ip0, *ip1, *ip2, *ip3; in ip4_rewrite_node_process() 98 ip0 = (struct rte_ipv4_hdr *)((uint8_t *)d0 + in ip4_rewrite_node_process() 109 ip1 = (struct rte_ipv4_hdr *)((uint8_t *)d1 + in ip4_rewrite_node_process() 119 ip2 = (struct rte_ipv4_hdr *)((uint8_t *)d2 + in ip4_rewrite_node_process() 130 ip3 = (struct rte_ipv4_hdr *)((uint8_t *)d3 + in ip4_rewrite_node_process() 220 ip0 = (struct rte_ipv4_hdr *)((uint8_t *)d0 + in ip4_rewrite_node_process()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_tso.h | 34 const struct rte_ipv4_hdr *ip_hdrp; in sfc_tso_ip4_get_ipid() 37 ip_hdrp = (const struct rte_ipv4_hdr *)(pkt_hdrp + ip_hdr_off); in sfc_tso_ip4_get_ipid() 63 field_ofst = offsetof(struct rte_ipv4_hdr, total_length); in sfc_tso_innermost_ip_fix_len()
|
| /dpdk/app/test-pipeline/ |
| H A D | pipeline_acl.c | 43 offsetof(struct rte_ipv4_hdr, next_proto_id), 51 offsetof(struct rte_ipv4_hdr, src_addr), 59 offsetof(struct rte_ipv4_hdr, dst_addr), 67 sizeof(struct rte_ipv4_hdr), 75 sizeof(struct rte_ipv4_hdr) + sizeof(uint16_t),
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | sad.h | 29 cmp_sa_key(struct ipsec_sa *sa, int is_v4, struct rte_ipv4_hdr *ipv4, in cmp_sa_key() 67 struct rte_ipv4_hdr *ipv4; in sad_lookup() 87 ipv4 = rte_pktmbuf_mtod(pkts[i], struct rte_ipv4_hdr *); in sad_lookup() 148 struct rte_ipv4_hdr *); in sad_lookup()
|