allocating netlink families? (was: re: Announce: NetKeeper FirewallFor Linux)

From: Dan Kegel
Date: Mon Nov 03 2003 - 18:56:20 EST

Emmanuel Fleury wrote:

Hey, that seems to be a nice example of how to write
a new netlink family. Thanks!

I see you're using NETLINK_USERSOCK. Netlink families
appear to be a precious commodity (netlink_dev.c, at
least, will break if you raise MAX_LINKS above 32).

Has there been any discussion of how one should pick
netlink family numbers for new stuff like netkeeper?
Sure, everyone could use NETLINK_USERSOCK, but
that means only one new netlink module could be resident at a time...
- Dan

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at