[Netnice-kernels] procs/<pid>/sockets submission
Status: Alpha
Brought to you by:
taost6
From: Scott B. <sco...@ve...> - 2004-10-13 22:51:23
|
Hi, I have submitted some more changes to the netnice267 branch. These changes cleanup the nnfs_netnice.c file and add the beginnings of the symlinks under the sockets directory. It took me a while to figure out how to determine if a file descriptor that a process has open is a socket vs a regular file. I eventually came up with an implementation in the function nnfs_socket_readdir. There will be more work on this function tomorrow but the skeleton is working. It traverses all the p_vifnet structures and socket file descriptors for a process and will update /nnfs/procs/<pid>/sockets. Scott B |