thanks for your help.
as your mail said,I can compile it now.
but I do not find any modify in sock.h,the "struct ring_opt *pf_ring" is not used at any code,is it true?
the module and pcount is compiled correctly,but can not work.
I want to sniffer all the mail at gigabit network,that's why i need so much ring buffer.
thanks for any suggests.
>Send Ntop-misc mailing list submissions to
> ntop-misc@listgateway.unipi.it
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>or, via email, send a message with subject or body 'help' to
> ntop-misc-request@listgateway.unipi.it
>
>You can reach the person managing the list at
> ntop-misc-admin@listgateway.unipi.it
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Ntop-misc digest..."
>
>
>Today's Topics:
>
> 1. about ring-2.0 (i386)
> 2. Re: about ring-2.0 (Luca Deri)
>
>--__--__--
>
>Message: 1
>Date: Mon, 22 Mar 2004 14:49:22 +0800
>From: "i386" <vip386@tom.com>
>To: "ntop-misc" <ntop-misc@listgateway.unipi.it>
>Subject: [Ntop-misc] about ring-2.0
>Reply-To: ntop-misc@listgateway.unipi.it
>
>aGksZGVyaToNCgl0aGFua3MgZm9yIHlvdSBncmVhdCBwYXBlciBhbmQgd29ya3MuYnV0IEkgY2Fu
>IG5vdCBjb21waWxlIHlvdSByaW5nIGNvZGUuDQoJSSBnZXQgbGludXgga2VybmVsIDIuNi4zIGZy
>b20ga2VybmVsLm9yZyxhbmQgcmVwbGFjZSBzb2NrLmggYW5kIGRldi5jIHdpdGggeW91ciBjb2Rl
>IGluIHJpbmctMi4wLHB1dCByaW5nLmggaW4gaW5sY3VkZS9saW51eCBkaXJzLg0KYnV0IGl0IGNh
>biBub3QgY29tcGlsZWQuIG1hbnkgZXJyb3JzIGxpa2UgInJlZGlmaW5pdGlvbiBvZiAuLi4iLndo
>eT8NCglhbm90aGVyIHF1ZXN0aW9uOiBjYW4gSSBtYWxsb2MgMUcgUkFNIHVzZSB5b3VyIGNvZGU/
>DQoNCg0KDQqhoaGhoaGhoaGhoaGhoaGhaTM4Ng0KoaGhoaGhoaGhoaGhoaGhoXZpcDM4NkB0b20u
>Y29tDQqhoaGhoaGhoaGhoaGhoaGhoaGhoTIwMDQtMDMtMjINCg==
>
>
>
>--__--__--
>
>Message: 2
>Date: Mon, 22 Mar 2004 10:47:31 +0100
>From: Luca Deri <deri@ntop.org>
>Organization: ntop.org
>To: ntop-misc@fuji.unipi.it
>Subject: Re: [Ntop-misc] about ring-2.0
>Reply-To: ntop-misc@listgateway.unipi.it
>
>Hi,
>I have tested my code with kernel 2.6.2 so in 2.6.3 you might have to
>patch the files by hand and not simply replace the files. For your
>convenience I have released a prebuilt kernel (for P3 and above) to be
>used for this purpose.
>
>I'm not sure what you mean with 1 GB allocation. If you want to have a
>huge ring you can do that but I'm not sure whether this makes sense. Why
>would you like to do that?
>
>Cheers, Luca
>
>
>
>i386 wrote:
>
>>hi,deri:
>> thanks for you great paper and works.but I can not compile you ring code.
>> I get linux kernel 2.6.3 from kernel.org,and replace sock.h and dev.c with your code in ring-2.0,put ring.h in inlcude/linux dirs.
>>but it can not compiled. many errors like "redifinition of ...".why?
>> another question: can I malloc 1G RAM use your code?
>>
>>
>>
>> i386
>> vip386@tom.com
>> 2004-03-22
>>
>>
>
>
>--
>Luca Deri <deri@ntop.org> http://luca.ntop.org/
>Hacker: someone who loves to program and enjoys being
>clever about it - Richard Stallman
>
>
>
>--__--__--
>
>_______________________________________________
>Ntop-misc mailing list
>Ntop-misc@listgateway.unipi.it
>http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>End of Ntop-misc Digest
>
as your mail said,I can compile it now.
but I do not find any modify in sock.h,the "struct ring_opt *pf_ring" is not used at any code,is it true?
the module and pcount is compiled correctly,but can not work.
I want to sniffer all the mail at gigabit network,that's why i need so much ring buffer.
thanks for any suggests.
>Send Ntop-misc mailing list submissions to
> ntop-misc@listgateway.unipi.it
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>or, via email, send a message with subject or body 'help' to
> ntop-misc-request@listgateway.unipi.it
>
>You can reach the person managing the list at
> ntop-misc-admin@listgateway.unipi.it
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Ntop-misc digest..."
>
>
>Today's Topics:
>
> 1. about ring-2.0 (i386)
> 2. Re: about ring-2.0 (Luca Deri)
>
>--__--__--
>
>Message: 1
>Date: Mon, 22 Mar 2004 14:49:22 +0800
>From: "i386" <vip386@tom.com>
>To: "ntop-misc" <ntop-misc@listgateway.unipi.it>
>Subject: [Ntop-misc] about ring-2.0
>Reply-To: ntop-misc@listgateway.unipi.it
>
>aGksZGVyaToNCgl0aGFua3MgZm9yIHlvdSBncmVhdCBwYXBlciBhbmQgd29ya3MuYnV0IEkgY2Fu
>IG5vdCBjb21waWxlIHlvdSByaW5nIGNvZGUuDQoJSSBnZXQgbGludXgga2VybmVsIDIuNi4zIGZy
>b20ga2VybmVsLm9yZyxhbmQgcmVwbGFjZSBzb2NrLmggYW5kIGRldi5jIHdpdGggeW91ciBjb2Rl
>IGluIHJpbmctMi4wLHB1dCByaW5nLmggaW4gaW5sY3VkZS9saW51eCBkaXJzLg0KYnV0IGl0IGNh
>biBub3QgY29tcGlsZWQuIG1hbnkgZXJyb3JzIGxpa2UgInJlZGlmaW5pdGlvbiBvZiAuLi4iLndo
>eT8NCglhbm90aGVyIHF1ZXN0aW9uOiBjYW4gSSBtYWxsb2MgMUcgUkFNIHVzZSB5b3VyIGNvZGU/
>DQoNCg0KDQqhoaGhoaGhoaGhoaGhoaGhaTM4Ng0KoaGhoaGhoaGhoaGhoaGhoXZpcDM4NkB0b20u
>Y29tDQqhoaGhoaGhoaGhoaGhoaGhoaGhoTIwMDQtMDMtMjINCg==
>
>
>
>--__--__--
>
>Message: 2
>Date: Mon, 22 Mar 2004 10:47:31 +0100
>From: Luca Deri <deri@ntop.org>
>Organization: ntop.org
>To: ntop-misc@fuji.unipi.it
>Subject: Re: [Ntop-misc] about ring-2.0
>Reply-To: ntop-misc@listgateway.unipi.it
>
>Hi,
>I have tested my code with kernel 2.6.2 so in 2.6.3 you might have to
>patch the files by hand and not simply replace the files. For your
>convenience I have released a prebuilt kernel (for P3 and above) to be
>used for this purpose.
>
>I'm not sure what you mean with 1 GB allocation. If you want to have a
>huge ring you can do that but I'm not sure whether this makes sense. Why
>would you like to do that?
>
>Cheers, Luca
>
>
>
>i386 wrote:
>
>>hi,deri:
>> thanks for you great paper and works.but I can not compile you ring code.
>> I get linux kernel 2.6.3 from kernel.org,and replace sock.h and dev.c with your code in ring-2.0,put ring.h in inlcude/linux dirs.
>>but it can not compiled. many errors like "redifinition of ...".why?
>> another question: can I malloc 1G RAM use your code?
>>
>>
>>
>> i386
>> vip386@tom.com
>> 2004-03-22
>>
>>
>
>
>--
>Luca Deri <deri@ntop.org> http://luca.ntop.org/
>Hacker: someone who loves to program and enjoys being
>clever about it - Richard Stallman
>
>
>
>--__--__--
>
>_______________________________________________
>Ntop-misc mailing list
>Ntop-misc@listgateway.unipi.it
>http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>End of Ntop-misc Digest
>