Re: help in tcp/ip
From: Richard B. Johnson (firstname.lastname@example.org)
Date: Thu May 29 2003 - 06:37:54 EST
On Thu, 29 May 2003, [iso-8859-1] mounir tahar abbes wrote:
> i want to modify the tcp_sendmsg in tcp.c for linux
> kernel 2.4.3
> in order to display the message sent and compress it
> -firs: i want to read the message sent and put it in a
> text file.
Get a copy of the tcpdump source-code and see how it's done.
You do __not__ read/write files inside the kernel. You use
an external process `daemon` that writes files containing
stuff that came from inside the kernel.
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/