lkml.org 
[lkml]   [2001]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectopening, reading, writing to file from 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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:56    [W:0.030 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site