Re: [REPOST] Re: How do I get port inside kernel.... (fwd)

2000-06-07 Thread Bernd Walter
On Wed, Jun 07, 2000 at 04:58:41PM -0400, Garrett Wollman wrote: > < said: > > >> current process? Is it safe if I use proc0 to pass the proc structure to > >> call socreate() and sobind()? How safe it is to use curproc > >> structure? Somebody mentioned that it will not work in interrupt > >> ha

Re: [REPOST] Re: How do I get port inside kernel.... (fwd)

2000-06-07 Thread Garrett Wollman
< said: >> current process? Is it safe if I use proc0 to pass the proc structure to >> call socreate() and sobind()? How safe it is to use curproc >> structure? Somebody mentioned that it will not work in interrupt >> handlers. proc0 is passed because I didn't think things completely through whe

Re: [REPOST] Re: How do I get port inside kernel.... (fwd)

2000-06-07 Thread Bernd Walter
On Wed, Jun 07, 2000 at 10:13:26AM +0530, G.B.Naidu wrote: > > Thanks a lot for your reply. It's quite useful. But I have some more > questions generated of this study of nfs code and sendfile(2) code. The > question is about getting a proc structure. Here it is. > > As you all know that every s

Re: [REPOST] Re: How do I get port inside kernel.... (fwd)

2000-06-07 Thread Jeroen Ruigrok van der Werven
-On [2607 06:50], G.B.Naidu ([EMAIL PROTECTED]) wrote: > >Have posted this question yesterday. But no reply. Hope to et a reply to >day. Sorry, but not everyone has the ability to read the list every day the whole day. Have you tried searching the mailinglist archives? Possibly because no-o

[REPOST] Re: How do I get port inside kernel.... (fwd)

2000-06-06 Thread G.B.Naidu
; Cc: [EMAIL PROTECTED], Deepika Kakrania <[EMAIL PROTECTED]>, Madhavi Suram <[EMAIL PROTECTED]> Subject: Re: How do I get port inside kernel Hi, Thanks a lot for your reply. It's quite useful. But I have some more questions generated of this study of nfs code and sendfile(2

Re: How do I get port inside kernel....

2000-06-05 Thread G.B.Naidu
Hi, Thanks a lot for your reply. It's quite useful. But I have some more questions generated of this study of nfs code and sendfile(2) code. The question is about getting a proc structure. Here it is. As you all know that every system call in side kernel needs a process structure to be passed.

Re: How do I get port inside kernel....

2000-06-05 Thread Alfred Perlstein
* G.B.Naidu <[EMAIL PROTECTED]> [000605 05:37] wrote: > > Hi, > > If I want to get a port inside kernel, how do I do that? In user land we > will call socket(), bind() to get a port. But in kernel, is there any way > to get a new port? > > Any ideas are appreciated. Check the nfsd code. src/s

How do I get port inside kernel....

2000-06-05 Thread G.B.Naidu
Hi, If I want to get a port inside kernel, how do I do that? In user land we will call socket(), bind() to get a port. But in kernel, is there any way to get a new port? Any ideas are appreciated. thanks --gb -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hack