Signed-off-by: Luis Carlos Cobo <luisca@xxxxxxxxxxx> --- 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..f7ae721 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 - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html