Re: kernel module to list sockets with their multicast group joins and respective processes

2007-07-16 Thread David Stevens
> sockets that join different groups receive messages from the respective > other group (if they are only bound to the wildcard address). Obviously > this is handled differently in Linux for IPv4, where the socket matching > for incoming message is done solely on the 4-tuple of addresses and p

kernel module to list sockets with their multicast group joins and respective processes

2007-07-16 Thread Steffen Maier
Hello, below in the text you find a small kernel module as a proof of concept, that allows a listing of all current multicast group joins for (UDP/IPv4) sockets (NOTE: sockets, neither IP-level nor netdevice-level) along with the corresponding process(es) and filedescriptors. Why did I do th