Re: Re: Verification of log messages from loopback.c

2007-07-26 Thread root
在 2007-07-27五的 09:56 +0530,pradeep singh写道: > On 7/26/07, hake2002 <[EMAIL PROTECTED]> wrote: > > > > > > I dont think so! > What do you don't think? > Please stick to replying inline to avoid loosing track of what you you > are replying to. Sorry ,I just use outlook at windows ,and it can't do t

Is netfilter hook and iptables rules are same?

2007-07-26 Thread Ganesan Natarajan
Hi all, What is the difference between the netfilter hooks and iptables rules? Are both same? If different, how the packet traverses through the stack? What is the behaviour, if we insmod a netfilter hook at PRE_ROUTE to drop the packet and insert a rule using iptables at PREROUTING cha

RE: Verification of log messages from loopback.c

2007-07-26 Thread Rajendra Stalekar
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of pradeep singh Sent: Thursday, July 26, 2007 6:33 PM To: [EMAIL PROTECTED] Cc: kernelnewbies@nl.linux.org Subject: Re: Verification of log messages from loopback.c On 7/26/07, Rajendra Stalekar <[EMAIL PROTECT

Jiffies, Clock_per_tick ..

2007-07-26 Thread Ajay Jain
Hello, The kernel needs both the 'jiffies' as well as the 'clocks_per_tick'. Why? Shouldn't one variable be enough to calcuate time? What do both these variable precisely mean? Thanks, Ajay. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] P

Re: Re: Verification of log messages from loopback.c

2007-07-26 Thread pradeep singh
On 7/26/07, hake2002 <[EMAIL PROTECTED]> wrote: > > > I dont think so! What do you don't think? Please stick to replying inline to avoid loosing track of what you you are replying to. thanks > > > > > > hake2002 > 2007-07-26 > > >

Re: Question about your item

2007-07-26 Thread Avishay Traeger
Careful Windows users - it's a .exe virus... Avishay On Thu, 2007-07-26 at 20:08 -0500, E-Greeting wrote: > Hello , > > A Greeting Card is waiting for you at our virtual post office! You can > pick up your postcard at the following web address: > > http://www.all-yours.net/u/view.php?id=a019031

difference between dmac_clean_range() and clean_dcache_area()

2007-07-26 Thread pankaj chauhan
hi all, can anybody please tell me difference between dmac_clean_range() and clean_dcache_area()? I am using 2.6.11 on ARM11. It seems to me that both clean dcache lines specified by arguments (only the arguments that both functions take are different), Is there any difference in their functio

Unmap pages from a VMA

2007-07-26 Thread Thomas Petazzoni
Hi, The nopage() method of a VMA is called when a page fault occurs on that VMA, and this method allows the driver being mmap()ed which page should be mapped at the fault address. Works nicely. However, how can the driver unmap some pages of a VMA, so that at the next access from userspace, a new

Re: Re: Verification of log messages from loopback.c

2007-07-26 Thread hake2002
I dont think so! hake2002 2007-07-26 pradeep singh 2007-07-26 21:35:31 [EMAIL PROTECTED] kernelnewbies@nl.linux.org Re: Verification of log messages from loopback.c On 7/26/07, Rajendra Stalekar <[EMAIL PROTECTED] > wrote: > > -Original Message- > From: pradeep singh [mailto:[EMAI

Re: necessity for "extern" in function prototype?

2007-07-26 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jul 26, 2007 at 04:45:55AM -0400, Min-Hua Chen wrote: > I note that the headers of the linux source have "extern" in the function > protoptye. > I think the extern is not necessary because all function in C are global > (except static functions

Re: Verification of log messages from loopback.c

2007-07-26 Thread pradeep singh
On 7/26/07, Rajendra Stalekar <[EMAIL PROTECTED]> wrote: -Original Message- From: pradeep singh [mailto:[EMAIL PROTECTED] Sent: Thursday, July 26, 2007 3:21 PM To: [EMAIL PROTECTED] Cc: kernelnewbies@nl.linux.org Subject: Re: Verification of log messages from loopback.c Code please?? Y

RE: Verification of log messages from loopback.c

2007-07-26 Thread Martyn Welch
Rajendra Stalekar wrote on 26 July 2007 11:40 AM: > However the most important question is since it being a driver, > shouldn't this be a loopback.ko? If you want it to install it as a module, yes. You will also need to ensure that the standard version isn't compiled into the kernel and of Course

RE: Verification of log messages from loopback.c

2007-07-26 Thread Rajendra Stalekar
-Original Message- From: pradeep singh [mailto:[EMAIL PROTECTED] Sent: Thursday, July 26, 2007 3:21 PM To: [EMAIL PROTECTED] Cc: kernelnewbies@nl.linux.org Subject: Re: Verification of log messages from loopback.c Code please?? You won't require the code, since I have just added printk(

Re: Verification of log messages from loopback.c

2007-07-26 Thread pradeep singh
Code please?? On 7/26/07, Rajendra Stalekar <[EMAIL PROTECTED]> wrote: Hi, I just put in a printk statement in getstats function in loopback.c and when I tried doing a ping 127.0.0.1 or ifconfig, it does not log the message in the /var/log/messages. I have built it , after making the chang

necessity for "extern" in function prototype?

2007-07-26 Thread Min-Hua Chen
Hi: I note that the headers of the linux source have "extern" in the function protoptye. I think the extern is not necessary because all function in C are global (except static functions), on the other hand, adding "extern" in prototype makes the code easy to read. Is there any stronger reason f