Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_gro/
H A Dgro_tcp4.h214 struct rte_mbuf *pkt_head, *pkt_tail, *lastseg; in merge_two_tcp4_packets() local
218 pkt_head = item->firstseg; in merge_two_tcp4_packets()
221 pkt_head = pkt; in merge_two_tcp4_packets()
226 hdr_len = l2_offset + pkt_head->l2_len + pkt_head->l3_len + in merge_two_tcp4_packets()
227 pkt_head->l4_len; in merge_two_tcp4_packets()
228 l2_len = l2_offset > 0 ? pkt_head->outer_l2_len : pkt_head->l2_len; in merge_two_tcp4_packets()
229 if (unlikely(pkt_head->pkt_len - l2_len + pkt_tail->pkt_len - in merge_two_tcp4_packets()
253 pkt_head->nb_segs += pkt_tail->nb_segs; in merge_two_tcp4_packets()
254 pkt_head->pkt_len += pkt_tail->pkt_len; in merge_two_tcp4_packets()
H A Dgro_udp4.h202 struct rte_mbuf *pkt_head, *pkt_tail, *lastseg; in merge_two_udp4_packets() local
207 pkt_head = item->firstseg; in merge_two_udp4_packets()
210 pkt_head = pkt; in merge_two_udp4_packets()
215 hdr_len = l2_offset + pkt_head->l2_len + pkt_head->l3_len; in merge_two_udp4_packets()
216 l2_len = l2_offset > 0 ? pkt_head->outer_l2_len : pkt_head->l2_len; in merge_two_udp4_packets()
217 ip_len = pkt_head->pkt_len - l2_len in merge_two_udp4_packets()
240 pkt_head->nb_segs += pkt_tail->nb_segs; in merge_two_udp4_packets()
241 pkt_head->pkt_len += pkt_tail->pkt_len; in merge_two_udp4_packets()