RE: Identifying neighbors within the LAN

2014-05-04 Thread Hettiarachchige Hasitha Shan
Dear Sir, > Step 1: When making security decisions, you probably don't need a list > of *all* neighbors - you only need an answer to "is *this* neighbor known or > not". And that would be a different API. If I am to get the information of known neighbors, which API should use in my kernel modu

confuse about generic_file_read_iter

2014-05-04 Thread Jimmy Li
Hello everyone, I'm trying to figure out how asyncchronous I/O implemented, but I'm confusing about the generic_file_read_iter in mm/filemap.c. major file systems use this function as read_iter for it's file_operations structure(eg, ext3). And it's called by syscall io_submit(fs/aio.c:1359): s

Re: LKM related API documentation

2014-05-04 Thread Abhijeet Kasurde
Thanks Robert, Pranay. Robert, I will take look into generating documentation using your given link, These are just few examples of APIs, I wanted to explore more APIs so documentation will always help and come in handy. BTW, I found one link for various APIs related LKM - https://github.com/jch

Re: Regarding skb and net_device.

2014-05-04 Thread Pranay Srivastava
On Saturday, May 3, 2014, Rami Rosen wrote: > Hi, Pranay, > > First, let's assume that you are talking about IPv4, though you did not > mention it explicitly. (The principles in IPv6 are quite similar, though) > > A packet is sent out in the usual case with the ip_queue_xmit() method. > The ip_qu

Re: LKM related API documentation

2014-05-04 Thread Robert P. J. Day
On Sun, 4 May 2014, Pranay Srivastava wrote: > > > On Sunday, May 4, 2014, Abhijeet Kasurde wrote: > > Hi All, > > > > Can anyone point me to any location of documentation related to Linux > > Kernel Module APIs ? > > > > I am specifically looking for following APIs - > > > > 1. find_symbol > > 2

Re: LKM related API documentation

2014-05-04 Thread Pranay Srivastava
On Sunday, May 4, 2014, Abhijeet Kasurde wrote: > Hi All, > > Can anyone point me to any location of documentation related to Linux > Kernel Module APIs ? > > I am specifically looking for following APIs - > > 1. find_symbol > 2. request_module > 3. find_module etc. > hi Abhijeet, read the code.

LKM related API documentation

2014-05-04 Thread Abhijeet Kasurde
Hi All, Can anyone point me to any location of documentation related to Linux Kernel Module APIs ? I am specifically looking for following APIs - 1. find_symbol 2. request_module 3. find_module etc. Thanks in advance. ___ Kernelnewbies mailing list K