Commit Graph

5 Commits

Author SHA1 Message Date
rwatson
63b3afd827 Rework SPX segment reassembly, which was originally based on our TCP
reassembly but failed to be modernized over time:

- Use queue(9).
- Specifically allocate queue entries of type M_SPXREASSQ to point at
  member mbufs, rather than casting mbuf data to 'spx_q'.
- Maintain the mbuf pointer as part of the queue entry so that we can
  later free the mbuf without using dtom().
2009-06-20 18:24:25 +00:00
rwatson
4fb8e988d3 Staticize spx_remque() now that it's only used from spx_reass.c. 2009-05-25 13:52:51 +00:00
rwatson
f10db480e1 Pull SPX reassembly queue init and flush into spx_reass.c.
MFC after:	1 month
2009-05-25 10:25:41 +00:00
rwatson
0fa1d2d603 Complete move of SPX reassembly from spx_usrreq.c to spx_reass.c.
MFC after:	1 month
2009-05-25 09:28:54 +00:00
rwatson
5dbd8394e8 Copy spx_usrreq.c to spx_reass.c in order to apply similar file layout
changes to IPX/SPX that were applied to TCP/IP in the creation of
tcp_reass.c.

MFC after:	1 month
2009-05-25 09:09:43 +00:00