public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Williams  Karl" <karlg3@lycos.com>
To: linux-kernel@vger.kernel.org
Subject: opening, reading, writing to file from kernel
Date: Sun, 08 Jul 2001 12:53:37 -0700	[thread overview]
Message-ID: <PJPLKKGEPDGOAAAA@mailcity.com> (raw)

I need to change the data field in select outgoing TCP packets with information from a data file in user space.  I think the easiest way to do this would be to replace the pointer to skb->data with a pointer to the applicable portion of my data file.  But, I'm not clear on how to do this.  

I'd prefer just to do a sys_open() or some other file open command to gain access to my data file.

Any ideas?  I apologize, but, I am by no means a kernel level programmer.  I'm just trying to get the kernel to do this one little thing.

Thanks in advance for any specific examples


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

                 reply	other threads:[~2001-07-08 19:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=PJPLKKGEPDGOAAAA@mailcity.com \
    --to=karlg3@lycos.com \
    --cc=linux-kernel@vger.kernel.org \
    /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