search for: br_port_state_nam

Displaying 1 result from an estimated 1 matches for "br_port_state_nam".

Did you mean: br_port_state_names
2007 Apr 18
0
[Bridge] [PATCH 2.6] Fix message age in bridge STP config packets
...@@ -18,6 +18,11 @@ #include "br_private.h" #include "br_private_stp.h" +/* since time values in bpdu are in jiffies and then scaled (1/256) + * before sending, make sure that is at least one. + */ +#define MESSAGE_AGE_INCR ((HZ < 256) ? 1 : (HZ/256)) + static const char *br_port_state_names[] = { [BR_STATE_DISABLED] = "disabled", [BR_STATE_LISTENING] = "listening", @@ -157,24 +162,25 @@ bpdu.root_path_cost = br->root_path_cost; bpdu.bridge_id = br->bridge_id; bpdu.port_id = p->port_id; - bpdu.message_age = 0; - if (!br_is_root_bridge(br)) { +...