questions regarding the MGET function.

2001-02-28 Thread Shankar Agarwal
Hi, Can you please tell me when did the MGET function change it implementation from using MALLOC to using pool_get to allocate a mbuf. I am having a trouble finding out how does the memstats keep track of the mbufs allocated through pool_get. Thanks Regards Shankar To Unsubscribe: send mail to [E

Question regarding the funcation socket()...

2001-03-12 Thread Shankar Agarwal
Hi, I am trying to find out where the function socket() is actually defined. I did a search on the sources and i kind of could not locate this function. Also i could not find the code for the funcation bind() connect() etc. I think i might be missing something here as i am directly looking for a f

Re: Question regarding the funcation socket()...

2001-03-12 Thread Shankar Agarwal
Hi John, Thanks a lot for this fast reply. One more quick question i don't see any function socket(int,int,int) in uipc_syscalls.c though i see sys_socket function in this file. From what i understand socket libraby function should call trap which should call syscall function which in turn should

Re: Question regarding the funcation socket()...

2001-03-12 Thread Shankar Agarwal
agraph sized individual questions. :) > > * Shankar Agarwal <[EMAIL PROTECTED]> [010312 16:57] wrote: > > Hi, > > I am trying to find out where the function socket() is actually defined. > > I did a search on the sources and i kind of could not locate this > > func

Question regarding the array of size 0.

2001-03-20 Thread Shankar Agarwal
Hi All, I am getting the following array while trying to compile uipc_syscalls.c file. /vobs/atm/netbsd/sys/sys/syscallargs.h", line 30: zero or negative subscript This is because the code in syscallargs.h is defining an array of size 0. The code that is creating problem is #define syscallarg(x)

Question regarding ifconfig.

2001-04-18 Thread Shankar Agarwal
Hi All, I have a doubt about the ifconfig file. when i am trying to configure or change ip address on the interface. The main calls setifaddr function which calls ioctl function with command as SIOCGIFADDR by the following lines ifr->ifr_addr.sa_family = afp->af_af; if (ioctl(s, afp->af_gifaddr, a