Skip to contentSkip to conversation

Inode for netlinks in /proc/net/netlink?

DISCUSSION Dr. Werner Fink 1 participant 1 message Jan 27, 2009 ABI/API

lore
Share & tools
lore
#0 lore raw

Hi,

currently (2.6.27) there seems to be no Inode informations about the existing netlinks, only the pid of the process who has opened such a netlink is seen. Nevertheless, the file descriptor is passed over to the child of the creator, e.g. after a fork for a user space daemon like udevd.

Is there any other way to determine which socket found in dir /proc/<pid>/fd/ is a netlink and also to determine which type of netlink it is? The lsof utility reports

can't identify protocol

for such netlinks.

Werner

Signature · 6 lines
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html