public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* opening, reading, writing to file from kernel
@ 2001-07-08 19:53 Williams  Karl
  0 siblings, 0 replies; only message in thread
From: Williams  Karl @ 2001-07-08 19:53 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-08 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-08 19:53 opening, reading, writing to file from kernel Williams  Karl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox