cvs commit: src/sys/netproto/ipx spx.h spx_usrreq.c src/sys/netproto/ns ns.h ns_input.c ns_pcb.c ns_proto.c spidp.h spp_usrreq.c spp_var.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Jun 4 13:28:46 PDT 2004
dillon 2004/06/04 13:27:32 PDT
DragonFly src repository
Modified files:
sys/netproto/ipx spx.h spx_usrreq.c
sys/netproto/ns ns.h ns_input.c ns_pcb.c ns_proto.c
spidp.h spp_usrreq.c spp_var.h
Log:
Use a normal malloc() for PCB allocations instead of the really aweful mbuf
hacks that were previously being used (which also gets rid of the remaining
dtom() calls).
Get rid of the packet/queue overloading and instead malloc() a queue header
for queueing packets. The old code depended on dtom() to figure out the
mbuf associated with the packet and we are removing dtom().
Give NS a default usrreq so it doesn't panic the system on boot, but note
that NS will remain broken until the usrreq can be tied into the existing
code.
Review and testing by: Hiten Pandya and David Rhodus
Revision Changes Path
1.4 +3 -1 src/sys/netproto/ipx/spx.h
1.12 +41 -25 src/sys/netproto/ipx/spx_usrreq.c
1.6 +0 -1 src/sys/netproto/ns/ns.h
1.15 +0 -1 src/sys/netproto/ns/ns_input.c
1.11 +2 -12 src/sys/netproto/ns/ns_pcb.c
1.5 +9 -1 src/sys/netproto/ns/ns_proto.c
1.3 +3 -2 src/sys/netproto/ns/spidp.h
1.12 +45 -41 src/sys/netproto/ns/spp_usrreq.c
1.5 +1 -1 src/sys/netproto/ns/spp_var.h
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/spx.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/spx_usrreq.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/ns.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/ns_input.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/ns_pcb.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/ns_proto.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/spidp.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/spp_usrreq.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/spp_var.h.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list