o11s / open80211s

open80211s
Other
242 stars 55 forks source link

iw mpath dump #46

Open hesameddin opened 8 years ago

hesameddin commented 8 years ago

Hi Guys Output on Linux ( # iw mesh0 mpath dump) shows something like 0x15 which is in Hex (4 bits) but please look at the detail of this information from site:

Flags This is a bitmask consisting of the following state flags for this path: MESH_PATH_ACTIVE = BIT(0), MESH_PATH_RESOLVING = BIT(1), MESH_PATH_DSN_VALID = BIT(2), MESH_PATH_FIXED = BIT(3), MESH_PATH_RESOLVED = BIT(4),

which seems are using 5 bits. Regards

bcopeland commented 8 years ago

On Thu, Dec 17, 2015 at 03:29:00AM -0800, hesameddin wrote:

Hi Guys Output on Linux ( # iw mesh0 mpath dump) shows something like 0x15 which is in Hex (4 bits) but please look at the detail of this information from site:

Flags This is a bitmask consisting of the following state flags for this path: MESH_PATH_ACTIVE = BIT(0), MESH_PATH_RESOLVING = BIT(1), MESH_PATH_DSN_VALID = BIT(2), MESH_PATH_FIXED = BIT(3), MESH_PATH_RESOLVED = BIT(4),

which seems are using 5 bits Regards

0x15 is five bits: b10101.

Bob Copeland %% http://bobcopeland.com/