accessing TCP socket hash tables from user space or kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to come up with a network monitor (both as kernel module or as a user program) that is able to recognize TCP packets streaming into a particular socket.

I would thereupon want to obtain the PID of the process listening to the particular socket so that I can set higher scheduling priority for it.

Currently, I've setup my network monitoring from the network device driver to tap the destination address of the incoming packet but I've yet to be able to access or read the TCP socket hash table.

Any advice on how to carry this out?

Thanks and best regards,
KahHwee, Chua



_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux