diff options
author | sam <sam@FreeBSD.org> | 2009-07-21 19:38:22 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-07-21 19:38:22 +0000 |
commit | 68cbb6a7463b70cec8d8a0cd9948339a98406099 (patch) | |
tree | 0f9e36b532861f65854a4eb56c1f537c203e5b91 /sys/net80211/ieee80211_mesh.h | |
parent | e5dfb90bc39200659ab00a42b65e93605c31f968 (diff) | |
download | FreeBSD-src-68cbb6a7463b70cec8d8a0cd9948339a98406099.zip FreeBSD-src-68cbb6a7463b70cec8d8a0cd9948339a98406099.tar.gz |
store mesh timers as ticks and sysctls for changing the defaults
Reviewed by: rpaulo
Approved by: re (kib)
Diffstat (limited to 'sys/net80211/ieee80211_mesh.h')
-rw-r--r-- | sys/net80211/ieee80211_mesh.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_mesh.h b/sys/net80211/ieee80211_mesh.h index 37004e5..6c91852 100644 --- a/sys/net80211/ieee80211_mesh.h +++ b/sys/net80211/ieee80211_mesh.h @@ -376,7 +376,7 @@ struct ieee80211_meshcntl_ae11 { MALLOC_DECLARE(M_80211_MESH_RT); struct ieee80211_mesh_route { TAILQ_ENTRY(ieee80211_mesh_route) rt_next; - struct timeval rt_crtime; /* creation time */ + int rt_crtime; /* creation time */ uint8_t rt_dest[IEEE80211_ADDR_LEN]; uint8_t rt_nexthop[IEEE80211_ADDR_LEN]; uint32_t rt_metric; /* path metric */ @@ -409,7 +409,8 @@ struct ieee80211_mesh_proto_path { enum ieee80211_state, int); const size_t mpp_privlen; /* size required in the routing table for private data */ - const struct timeval mpp_inact; /* inact. timeout for invalid routes */ + int mpp_inact; /* inact. timeout for invalid routes + (ticks) */ }; /* |