mbuf: remove the rte_pktmbuf structure
[dpdk.git] / lib / librte_ip_frag / rte_ipv6_reassembly.c
index 3f06960..dee3425 100644 (file)
@@ -109,7 +109,7 @@ ipv6_frag_reassemble(const struct ip_frag_pkt *fp)
 
        /* update ipv6 header for the reassembled datagram */
        ip_hdr = (struct ipv6_hdr *) (rte_pktmbuf_mtod(m, uint8_t *) +
-                                                                 m->pkt.vlan_macip.f.l2_len);
+                                                                 m->vlan_macip.f.l2_len);
 
        ip_hdr->payload_len = rte_cpu_to_be_16(payload_len);
 
@@ -120,7 +120,7 @@ ipv6_frag_reassemble(const struct ip_frag_pkt *fp)
         * other headers, so we assume there are no other headers and thus update
         * the main IPv6 header instead.
         */
-       move_len = m->pkt.vlan_macip.f.l2_len + m->pkt.vlan_macip.f.l3_len -
+       move_len = m->vlan_macip.f.l2_len + m->vlan_macip.f.l3_len -
                        sizeof(*frag_hdr);
        frag_hdr = (struct ipv6_extension_fragment *) (ip_hdr + 1);
        ip_hdr->proto = frag_hdr->next_header;