netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Request: Allocate a Netlink Family Number for MPLS
@ 2003-12-01 14:36 Ramon Casellas
  2003-12-01 15:30 ` Christoph Hellwig
  2003-12-01 20:45 ` David S. Miller
  0 siblings, 2 replies; 6+ messages in thread
From: Ramon Casellas @ 2003-12-01 14:36 UTC (permalink / raw)
  To: netdev


Jamal/Dave/all,

We're working in porting mpls for linux to 2.6 and one of the planned
features is to move from an IOCTL based approach to a Netlink based one
for updating/querying the MPLS FTN/ILM/Label Mapping/... tables from
userspace. Since netlink families are public, I would
like to know if it is possible to reserve a family for MPLS, even though
the MPLS patch is not part of the official kernel.

Please let me know who I should contact/forward my request (Dave Miller
is listed as the main mantainer of the net core) or if, on the contrary,
there are valid reasons to reject our request.

Thanks in advance,
Ramon


Something like this:

diff -urN linux-2.6.0-test11/include/linux/netlink.h
linux-2.6.0-test11-mpls/include/linux/netlink.h
--- linux-2.6.0-test11/include/linux/netlink.h  2003-11-27
14:24:00.000000000 +0100
+++ linux-2.6.0-test11-mpls/include/linux/netlink.h     2003-11-30
13:47:45.000000000 +0100
@@ -12,6 +12,11 @@
 #define NETLINK_NFLOG          5       /* netfilter/iptables ULOG */
 #define NETLINK_XFRM           6       /* ipsec */
 #define NETLINK_ARPD           8
+
+##if defined(CONFIG_MPLS) || defined(CONFIG_MPLS_MODULE)
+#define NETLINK_MPLS           9
+#endif
+
 #define NETLINK_ROUTE6         11      /* af_inet6 route comm channel */
 #define NETLINK_IP6_FW         13
 #define NETLINK_DNRTMSG                14      /* DECnet routing messages
*/



// -------------------------------------------------------------------
// Ramon Casellas - GET/ENST/INFRES/RHD/A508 - casellas@infres.enst.fr

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-05 17:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-01 14:36 Request: Allocate a Netlink Family Number for MPLS Ramon Casellas
2003-12-01 15:30 ` Christoph Hellwig
2003-12-01 19:26   ` Ramon Casellas
2003-12-01 21:10     ` jamal
2003-12-01 20:45 ` David S. Miller
2003-12-05 17:35   ` James R. Leu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).