mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: "mounir tahar abbes" <mtaharabbes@yahoo.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: help  in tcp/ip
Date: Thu, 29 May 2003 07:34:17 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0305290732030.17525@chaos> (raw)
In-Reply-To: <20030529112649.96663.qmail@web12601.mail.yahoo.com>

On Thu, 29 May 2003, [iso-8859-1] mounir tahar abbes wrote:

> hello
> 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.

Cheers,
Dick Johnson
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.


      reply	other threads:[~2003-05-29 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-29 11:26 mounir tahar abbes
2003-05-29 11:34 ` Richard B. Johnson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.53.0305290732030.17525@chaos \
    --to=root@chaos.analogic.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtaharabbes@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®