Subject: Re: sendto(2) EINVAL / pacing problem
To: None <tech-net@NetBSD.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: tech-net
Date: 02/11/2004 10:48:06
On 11.02-04:32, der Mouse wrote:
> 
> >   error = (*so->so_proto->pr_usrreq)(so, 
> >      (flags & MSG_OOB) ? PRU_SENDOOB : PRU_SEND, 
> >      top, addr, control, p);
> 
> > I also put printfs into udp_usrreq.c but didn't score a hit there.
> 
> > Now, as this is a unix domain socket, could it be that the above
> > mentionned line doesn't call udp_usrreq() but something else?
> 
> > I couldn't find out, where so->so_proto->pr_usrreq gets initialized.
> 
> For AF_LOCAL, sys/kern/uipc_proto.c (the initialization of unixsw[]).
> Looks to me as though you want uipc_usrreq().

Thanks, I'll look into that :-)

Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------