[OpenAFS-devel] osi_socket

Jim Rees rees@umich.edu
Wed, 09 Oct 2002 17:58:01 -0400


osi_socket is a mess.  Struct osi_socket is declared in afs/afs_osi.h as a
struct containing junk.  But the type, (osi_socket), is declared in rx as
either a void *, an afs_int32, or a struct socket, depending on whether it's
user or kernel, the architecture, etc.  The various implementations of
osi_NetSend use one or another of these, and they're all different.

The only reasonable thing to do is get rid of struct osi_socket, keep the
typedef, and make all versions of osi_NetSend take the typedef as first
argument.

I don't think I feel like tackling this right now.