| 847 | |
| 848 | #ifdef TCPHPTS |
| 849 | static void |
| 850 | tcp_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 | |
| 866 | void |