search for: br_set_ticks

Displaying 3 results from an estimated 3 matches for "br_set_ticks".

2007 Apr 18
0
[Bridge] STP Explanation
....addr[0]; buf[23] = bpdu->bridge_id.addr[1]; buf[24] = bpdu->bridge_id.addr[2]; buf[25] = bpdu->bridge_id.addr[3]; buf[26] = bpdu->bridge_id.addr[4]; buf[27] = bpdu->bridge_id.addr[5]; buf[28] = (bpdu->port_id >> 8) & 0xFF; buf[29] = bpdu->port_id & 0xFF; br_set_ticks(buf+30, bpdu->message_age); br_set_ticks(buf+32, bpdu->max_age); br_set_ticks(buf+34, bpdu->hello_time); br_set_ticks(buf+36, bpdu->forward_delay); br_send_bpdu(p, buf, 38); } -------------------------------------------------------------------------------- Indeed I don't under...
2007 Apr 18
1
[Bridge] STP Explanation (2)
...bpdu->bpdu_body.bridge_id.addr[2]; buf[29] = bpdu->bpdu_body.bridge_id.addr[3]; buf[30] = bpdu->bpdu_body.bridge_id.addr[4]; buf[31] = bpdu->bpdu_body.bridge_id.addr[5]; buf[32] = (bpdu->bpdu_body.port_id >> 8) & 0xFF; buf[33] = bpdu->bpdu_body.port_id & 0xFF; br_set_ticks(buf+34, bpdu->bpdu_body.message_age); br_set_ticks(buf+36, bpdu->bpdu_body.max_age); br_set_ticks(buf+38, bpdu->bpdu_body.hello_time); br_set_ticks(buf+40, bpdu->bpdu_body.forward_delay); br_send_bpdu(p, buf, 42); } ------------------------------------------------------------------...
2007 Apr 18
4
[Bridge] [Patch] [2.6.7] Bridge - Fix BPDU message_age
Fixes message_age field update in config BPDUs. Also checks whether the BPDU message age has exceeded bridge max age before transmitting config BPDUs. Signed-off-by: Kishore A K <KishoreAK@myw.ltindia.com> Index: linux-2.6.7/net/bridge/br_stp.c ============================================================= --- linux-2.6.7/net/bridge/br_stp.c.orig 2004-06-17 20:17:27.000000000 +0530 +++