Tyler Retzlaff
2015-04-19 20:52:59 UTC
hi,
attached is the next patch for converting protocol
user-request methods to use sockaddr * instead of mbuf *.
This patch covers getsockname, getpeername and accept.
The only part of the patch I think needs help is what to do
with the ktrkuser(mbuftypes[MT_SONAME], addr, len) call from
copyout_sockname_sb(). Obviously mbuftypes[] makes no real
sense and addr is not in alias of an mbuf. What should be
done with the ktrace hook?
comments welcome
rtr
attached is the next patch for converting protocol
user-request methods to use sockaddr * instead of mbuf *.
This patch covers getsockname, getpeername and accept.
The only part of the patch I think needs help is what to do
with the ktrkuser(mbuftypes[MT_SONAME], addr, len) call from
copyout_sockname_sb(). Obviously mbuftypes[] makes no real
sense and addr is not in alias of an mbuf. What should be
done with the ktrace hook?
comments welcome
rtr