* [PATCH 1/4] o80211s: (rtnetlinkr) add new message types for mesh path table
@ 2007-11-09 22:57 Luis Carlos Cobo
0 siblings, 0 replies; only message in thread
From: Luis Carlos Cobo @ 2007-11-09 22:57 UTC (permalink / raw)
To: linux-wireless
This is the first patch of a series starting mesh wireless support (802.11s) for
wireless network cards with drivers using the mac80211 stack.
It is still in an early stage of development but some functionality (static
forwarding) is quite solid and we would like the code to be integrated in the
kernel the sooner the better. Please point out any section of the code that
could pose a problem towards integration. The patches apply against current
wireless-2.6/everything (439a85fe).
I'm resending this patches after including the suggestions from the first
attempt (thanks to Johannes Berg and Dan Williams for the comments).
For more information, please visit: http://o11s.org/devel
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
---
include/linux/rtnetlink.h | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index 5bf6182..bb39524 100644
--- a/include/linux/rtnetlink.h
+++ b/include/linux/rtnetlink.h
@@ -100,6 +100,13 @@ enum {
RTM_NEWNDUSEROPT = 68,
#define RTM_NEWNDUSEROPT RTM_NEWNDUSEROPT
+ RTM_NEWMESHPATH = 72,
+#define RTM_NEWMESHPATH RTM_NEWMESHPATH
+ RTM_DELMESHPATH,
+#define RTM_DELMESHPATH RTM_DELMESHPATH
+ RTM_GETMESHPATH,
+#define RTM_GETMESHPATH RTM_GETMESHPATH
+
__RTM_MAX,
#define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1)
};
@@ -135,7 +142,24 @@ struct rtattr
#define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
+/******************************************************************************
+ * Definitions used for mesh path table administration.
+ ****/
+
+struct mpmsg{
+ unsigned int mpm_flags;
+ int ifa_index;
+};
+
+enum mpattr_type_t
+{
+ MPA_UNSPEC,
+ MPA_DST,
+ MPA_NEXT_HOP,
+ __MPA_MAX,
+};
+#define MPA_MAX (__MPA_MAX - 1)
/******************************************************************************
* Definitions used in routing table administration.
--
1.5.2.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-10 2:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 22:57 [PATCH 1/4] o80211s: (rtnetlinkr) add new message types for mesh path table Luis Carlos Cobo
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).