~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to lib/rstp-state-machines.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2011-2014 M3S, Srl - Italy
 
3
 *
 
4
 * Licensed under the Apache License, Version 2.0 (the "License");
 
5
 * you may not use this file except in compliance with the License.
 
6
 * You may obtain a copy of the License at:
 
7
 *
 
8
 *     http://www.apache.org/licenses/LICENSE-2.0
 
9
 *
 
10
 * Unless required by applicable law or agreed to in writing, software
 
11
 * distributed under the License is distributed on an "AS IS" BASIS,
 
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
 * See the License for the specific language governing permissions and
 
14
 * limitations under the License.
 
15
 */
 
16
 
 
17
/*
 
18
 * Rapid Spanning Tree Protocol (IEEE 802.1D-2004) state machines
 
19
 * implementation (header file).
 
20
 *
 
21
 * Authors:
 
22
 *         Martino Fornasa <mf@fornasa.it>
 
23
 *         Daniele Venturino <daniele.venturino@m3s.it>
 
24
 *
 
25
 * References to IEEE 802.1D-2004 standard are enclosed in square brackets.
 
26
 * E.g. [17.3], [Table 17-1], etc.
 
27
 *
 
28
 */
 
29
 
 
30
#ifndef RSTP_STATE_MACHINES_H
 
31
#define RSTP_STATE_MACHINES_H 1
 
32
 
 
33
#include "rstp-common.h"
 
34
 
 
35
/* Methods called by the Forwarding Layer, through functions of rstp.h. */
 
36
int move_rstp__(struct rstp *)
 
37
    OVS_REQUIRES(rstp_mutex);
 
38
void decrease_rstp_port_timers__(struct rstp *)
 
39
    OVS_REQUIRES(rstp_mutex);
 
40
void process_received_bpdu__(struct rstp_port *, const void *, size_t)
 
41
    OVS_REQUIRES(rstp_mutex);
 
42
 
 
43
void updt_roles_tree__(struct rstp *)
 
44
    OVS_REQUIRES(rstp_mutex);
 
45
 
 
46
#endif /* rstp-state-machines.h */