summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_ioctl.h
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2009-07-27 14:22:09 +0000
committerrpaulo <rpaulo@FreeBSD.org>2009-07-27 14:22:09 +0000
commit243b95729ca5c07a39bdb7e327868460a6884474 (patch)
treecb443c30550ddfac3a0cbff2cf9dc6f1efaf229d /sys/net80211/ieee80211_ioctl.h
parent9b50a8b4b6400d84ba399ce6d5c5d9ff9a6ddb2c (diff)
downloadFreeBSD-src-243b95729ca5c07a39bdb7e327868460a6884474.zip
FreeBSD-src-243b95729ca5c07a39bdb7e327868460a6884474.tar.gz
Mesh fixes, namely:
* don't clobber proxy entries * HWMP seq number processing, including discard of old frames * flush routing table entries based on nexthop * print route flags in ifconfig * more debugging messages and comments Proxy changes submitted by sam. Approved by: re (kib)
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.h')
-rw-r--r--sys/net80211/ieee80211_ioctl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h
index c3c454f..89d8fe5 100644
--- a/sys/net80211/ieee80211_ioctl.h
+++ b/sys/net80211/ieee80211_ioctl.h
@@ -240,8 +240,9 @@ struct ieee80211_stats {
uint32_t is_mesh_rtaddfailed; /* route add failed */
uint32_t is_mesh_notproxy; /* dropped 'cuz not proxying */
uint32_t is_rx_badalign; /* dropped 'cuz misaligned */
+ uint32_t is_hwmp_proxy; /* PREP for proxy route */
- uint32_t is_spare[12];
+ uint32_t is_spare[11];
};
/*
@@ -333,10 +334,13 @@ enum {
};
struct ieee80211req_mesh_route {
+ uint8_t imr_flags;
+#define IEEE80211_MESHRT_FLAGS_VALID 0x01
+#define IEEE80211_MESHRT_FLAGS_PROXY 0x02
uint8_t imr_dest[IEEE80211_ADDR_LEN];
uint8_t imr_nexthop[IEEE80211_ADDR_LEN];
uint16_t imr_nhops;
- uint16_t imr_pad;
+ uint8_t imr_pad;
uint32_t imr_metric;
uint32_t imr_lifetime;
uint32_t imr_lastmseq;
OpenPOWER on IntegriCloud