Home
last modified time | relevance | path

Searched refs:pkt_head (Results 1 – 2 of 2) sorted by relevance

/dpdk/lib/gro/
H A Dgro_tcp4.h212 struct rte_mbuf *pkt_head, *pkt_tail, *lastseg; in merge_two_tcp4_packets() local
216 pkt_head = item->firstseg; in merge_two_tcp4_packets()
219 pkt_head = pkt; in merge_two_tcp4_packets()
224 hdr_len = l2_offset + pkt_head->l2_len + pkt_head->l3_len + in merge_two_tcp4_packets()
225 pkt_head->l4_len; in merge_two_tcp4_packets()
226 l2_len = l2_offset > 0 ? pkt_head->outer_l2_len : pkt_head->l2_len; in merge_two_tcp4_packets()
227 if (unlikely(pkt_head->pkt_len - l2_len + pkt_tail->pkt_len - in merge_two_tcp4_packets()
251 pkt_head->nb_segs += pkt_tail->nb_segs; in merge_two_tcp4_packets()
252 pkt_head->pkt_len += pkt_tail->pkt_len; in merge_two_tcp4_packets()
H A Dgro_udp4.h200 struct rte_mbuf *pkt_head, *pkt_tail, *lastseg; in merge_two_udp4_packets() local
205 pkt_head = item->firstseg; in merge_two_udp4_packets()
208 pkt_head = pkt; in merge_two_udp4_packets()
213 hdr_len = l2_offset + pkt_head->l2_len + pkt_head->l3_len; in merge_two_udp4_packets()
214 l2_len = l2_offset > 0 ? pkt_head->outer_l2_len : pkt_head->l2_len; in merge_two_udp4_packets()
215 ip_len = pkt_head->pkt_len - l2_len in merge_two_udp4_packets()
238 pkt_head->nb_segs += pkt_tail->nb_segs; in merge_two_udp4_packets()
239 pkt_head->pkt_len += pkt_tail->pkt_len; in merge_two_udp4_packets()