Date: Wed, 27 May 2009 20:01:44 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r192931 - projects/mesh11s/sys/net80211 Message-ID: <200905272001.n4RK1iu8010383@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Wed May 27 20:01:44 2009 New Revision: 192931 URL: http://svn.freebsd.org/changeset/base/192931 Log: Style changes for the node information struct. Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.c Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.c ============================================================================== --- projects/mesh11s/sys/net80211/ieee80211_hwmp.c Wed May 27 19:56:51 2009 (r192930) +++ projects/mesh11s/sys/net80211/ieee80211_hwmp.c Wed May 27 20:01:44 2009 (r192931) @@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$"); #endif /* - * IEEE 802.11s Hybrid Wireless Mesh Protocol. + * IEEE 802.11s Hybrid Wireless Mesh Protocol, HWMP. * * Based on March 2009, D3.0 802.11s draft spec. */ @@ -63,20 +63,20 @@ __FBSDID("$FreeBSD$"); #include <net80211/ieee80211_hwmp.h> #include <net80211/ieee80211_input.h> - /* * HWMP Forwarding Information table. */ -struct ieee80211_hwmp_forwardinfo { - TAILQ_ENTRY(ieee80211_hwmp_path) hp_list; - uint8_t hp_target[IEEE80211_ADDR_LEN]; - ieee80211_seq hp_seq; /* HWMP sequence number */ - uint8_t hp_mnxthop[IEEE80211_ADDR_LEN]; - uint32_t hp_metric; /* Path Metric */ - uint32_t hp_nhops; /* Number of Hops */ +struct ieee80211_hwmp_fi { + TAILQ_ENTRY(ieee80211_hwmp_fi) fi_list; + uint8_t fi_target[IEEE80211_ADDR_LEN]; + ieee80211_seq fi_seq; /* HWMP sequence number */ + uint8_t fi_mnxthop[IEEE80211_ADDR_LEN]; + uint32_t fi_metric; /* Path Metric */ + uint32_t fi_nhops; /* Number of Hops */ /* XXX percursor list */ - uint32_t hp_lifetime; + uint32_t fi_lifetime; }; +TAILQ_HEAD(, ieee80211_hwmp_fi) ieee80211_hwmp_ft; static void hwmp_recv_preq(struct ieee80211vap *, struct ieee80211_node *, const struct ieee80211_meshpreq_ie *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905272001.n4RK1iu8010383>