~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to include/openflow/openflow-common.h

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2008, 2011, 2012 The Board of Trustees of The Leland Stanford
 
1
/* Copyright (c) 2008, 2011, 2012, 2013 The Board of Trustees of The Leland Stanford
2
2
 * Junior University
3
3
 *
4
4
 * We are making the OpenFlow specification and associated documentation
78
78
    OFP13_VERSION = 0x04
79
79
};
80
80
 
 
81
/* Vendor (aka experimenter) IDs.
 
82
 *
 
83
 * These are used in various places in OpenFlow to identify an extension
 
84
 * defined by some vendor, as opposed to a standardized part of the core
 
85
 * OpenFlow protocol.
 
86
 *
 
87
 * Vendor IDs whose top 8 bits are 0 hold an Ethernet OUI in their low 24 bits.
 
88
 * The Open Networking Foundation assigns vendor IDs whose top 8 bits are
 
89
 * nonzero.
 
90
 *
 
91
 * A few vendor IDs are special:
 
92
 *
 
93
 *    - OF_VENDOR_ID is not a real vendor ID and does not appear in the
 
94
 *      OpenFlow protocol itself.  It can occasionally be useful within Open
 
95
 *      vSwitch to identify a standardized part of OpenFlow.
 
96
 *
 
97
 *    - ONF_VENDOR_ID is being used within the ONF "extensibility" working
 
98
 *      group to identify extensions being proposed for standardization.
 
99
 */
 
100
#define OF_VENDOR_ID    0
 
101
#define NX_VENDOR_ID    0x00002320 /* Nicira. */
 
102
#define ONF_VENDOR_ID   0x4f4e4600 /* Open Networking Foundation. */
 
103
 
81
104
#define OFP_MAX_TABLE_NAME_LEN 32
82
105
#define OFP_MAX_PORT_NAME_LEN  16
83
106
 
351
374
    OFPRR_HARD_TIMEOUT,         /* Time exceeded hard_timeout. */
352
375
    OFPRR_DELETE,               /* Evicted by a DELETE flow mod. */
353
376
    OFPRR_GROUP_DELETE,         /* Group was removed. */
 
377
    OFPRR_METER_DELETE,         /* Meter was removed. */
354
378
    OFPRR_EVICTION,             /* Switch eviction to free resources. */
355
379
};
356
380