MCPcopy Create free account
hub / github.com/F-Stack/f-stack / tcp_queue_pkts

Function tcp_queue_pkts

freebsd/netinet/tcp_lro.c:849–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847
848#ifdef TCPHPTS
849static void
850tcp_queue_pkts(struct tcpcb *tp, struct lro_entry *le)
851{
852 if (tp->t_in_pkt == NULL) {
853 /* Nothing yet there */
854 tp->t_in_pkt = le->m_head;
855 tp->t_tail_pkt = le->m_last_mbuf;
856 } else {
857 /* Already some there */
858 tp->t_tail_pkt->m_nextpkt = le->m_head;
859 tp->t_tail_pkt = le->m_last_mbuf;
860 }
861 le->m_head = NULL;
862 le->m_last_mbuf = NULL;
863}
864#endif
865
866void

Callers 1

tcp_lro.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected