Hi,<br>I have to port one customised layer 2 protocol stack and&nbsp; read, write system call to access devices in linux-2.4.<br>At the moment&nbsp; this is ported in UNIX SVR2/4 operating system.this protocol uses some common data structure, <br>
i.e &quot;user&quot; in unix srv2/4, which keeps information such as <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_error = return errorn code<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u_base = base address for I/O<br>&nbsp;&nbsp;&nbsp;&nbsp; u_count = bytes remaining for I/O<br>&nbsp;&nbsp;&nbsp;&nbsp; u_arg = argument to current system call etc.<br>
<br>so i need to store these information in linux-2.4 implementation for implementing read/write system calls.so what is/are <br>corresponding structure in linux-2.4.i went through task_struct, fs_struct, files_struct etc., but couldn&#39;t relate it properly.<br>
<br>Please help me on this .<br><br>thanks and regards,<br>Barisa Kisku<br><br><br><br><br>