Skip to content

Commit

Permalink
Rapid Spanning Tree Protocol (IEEE 802.1D).
Browse files Browse the repository at this point in the history
This is the v5 from June 12th, 2014, rebased to OVS master, further
changes in following patches.

Signed-off by: Daniele Venturino <[email protected]>
Signed-off by: Martino Fornasa <[email protected]>
Signed-off-by: Jarno Rajahalme <[email protected]>
Acked-by: Daniele Venturino <[email protected]>
  • Loading branch information
Daniele Venturino authored and Jarno Rajahalme committed Sep 9, 2014
1 parent 3c33f0f commit 9efd308
Show file tree
Hide file tree
Showing 26 changed files with 6,325 additions and 53 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Madhu Challa [email protected]
Mark Hamilton [email protected]
Mark Maglana [email protected]
Martin Casado [email protected]
Martino Fornasa [email protected]
Maryam Tahhan [email protected]
Mehak Mahajan [email protected]
Murphy McCauley [email protected]
Expand Down
3 changes: 3 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ and Werner Lemberg.

m4/include_next.m4 and m4/absolute-header.m4
Copyright (C) 2006-2013 Free Software Foundation, Inc.

Rapid Spanning Tree Protocol (RSTP) implementation
Copyright (c) 2011-2014 M3S, Srl - Italy
5 changes: 5 additions & 0 deletions lib/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ lib_libopenvswitch_la_SOURCES = \
lib/rconn.h \
lib/reconnect.c \
lib/reconnect.h \
lib/rstp.c \
lib/rstp.h \
lib/rstp-common.h \
lib/rstp-state-machines.c \
lib/rstp-state-machines.h \
lib/sat-math.h \
lib/seq.c \
lib/seq.h \
Expand Down
5 changes: 5 additions & 0 deletions lib/packets.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ struct llc_header {
});
BUILD_ASSERT_DECL(LLC_HEADER_LEN == sizeof(struct llc_header));

/* LLC field values used for STP frames. */
#define STP_LLC_SSAP 0x42
#define STP_LLC_DSAP 0x42
#define STP_LLC_CNTL 0x03

#define SNAP_ORG_ETHERNET "\0\0" /* The compiler adds a null byte, so
sizeof(SNAP_ORG_ETHERNET) == 3. */
#define SNAP_HEADER_LEN 5
Expand Down
Loading

0 comments on commit 9efd308

Please sign in to comment.