#include "afs/param.h"
-#ifdef AFS_FBSD40_ENV
#include <sys/malloc.h>
#include "rx/rx_kcommon.h"
u.uio_resid = *alength;
u.uio_segflg = UIO_SYSSPACE;
u.uio_rw = UIO_READ;
-#ifdef AFS_FBSD50_ENV
u.uio_td = NULL;
-#else
- u.uio_procp = NULL;
-#endif
if (haveGlock)
AFS_GUNLOCK();
afs_warn("osi_StopListener: rxk_ListenerPid %lx\n", p);
if (p)
psignal(p, SIGUSR1);
-#ifdef AFS_FBSD50_ENV
PROC_UNLOCK(p);
-#endif
#ifdef AFS_FBSD70_ENV
{
/* Avoid destroying socket until osi_NetReceive has
u.uio_resid = alength;
u.uio_segflg = UIO_SYSSPACE;
u.uio_rw = UIO_WRITE;
-#ifdef AFS_FBSD50_ENV
u.uio_td = NULL;
-#else
- u.uio_procp = NULL;
-#endif
addr->sin_len = sizeof(struct sockaddr_in);
#if KNET_DEBUG
printf("+");
#endif
-#ifdef AFS_FBSD50_ENV
code =
sosend(asocket, (struct sockaddr *)addr, &u, NULL, NULL, 0,
curthread);
-#else
- code =
- sosend(asocket, (struct sockaddr *)addr, &u, NULL, NULL, 0, curproc);
-#endif
#if KNET_DEBUG
if (code) {
if (code == EINVAL)
return code;
}
#endif
-
-#endif /* AFS_FBSD40_ENV */