br_stp.c (b9066c268abfe353edf5d646bb486bc03c839348) br_stp.c (82524746c27fa418c250a56dd7606b9d3fc79826)
1/*
2 * Spanning tree protocol; generic parts
3 * Linux ethernet bridge
4 *
5 * Authors:
6 * Lennert Buytenhek <buytenh@gnu.org>
7 *
8 * $Id: br_stp.c,v 1.4 2000/06/19 10:13:35 davem Exp $
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version
13 * 2 of the License, or (at your option) any later version.
14 */
15#include <linux/kernel.h>
1/*
2 * Spanning tree protocol; generic parts
3 * Linux ethernet bridge
4 *
5 * Authors:
6 * Lennert Buytenhek <buytenh@gnu.org>
7 *
8 * $Id: br_stp.c,v 1.4 2000/06/19 10:13:35 davem Exp $
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version
13 * 2 of the License, or (at your option) any later version.
14 */
15#include <linux/kernel.h>
16#include <linux/rculist.h>
16
17#include "br_private.h"
18#include "br_private_stp.h"
19
20/* since time values in bpdu are in jiffies and then scaled (1/256)
21 * before sending, make sure that is at least one.
22 */
23#define MESSAGE_AGE_INCR ((HZ < 256) ? 1 : (HZ/256))

--- 440 unchanged lines hidden ---
17
18#include "br_private.h"
19#include "br_private_stp.h"
20
21/* since time values in bpdu are in jiffies and then scaled (1/256)
22 * before sending, make sure that is at least one.
23 */
24#define MESSAGE_AGE_INCR ((HZ < 256) ? 1 : (HZ/256))

--- 440 unchanged lines hidden ---