Sha256: 76a83dfa9a7ba44a859b72698c59c828090849901730334c50850df1d43b17af

Contents?: true

Size: 1.76 KB

Versions: 20

Compression:

Stored size: 1.76 KB

Contents

/*
 * OpenFlow service interface.
 *
 * Copyright (C) 2008-2013 NEC Corporation
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License, version 2, as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */


#ifndef OPENFLOW_SERVICE_INTERFACE_H
#define OPENFLOW_SERVICE_INTERFACE_H


/**
 * Message type definitions for sending/receiving OpenFlow messages or
 * related events via messenger.
 */
#define MESSENGER_OPENFLOW_MESSAGE 1
#define MESSENGER_OPENFLOW_CONNECTED 2
#define MESSENGER_OPENFLOW_READY 3
#define MESSENGER_OPENFLOW_DISCONNECTED 4
#define MESSENGER_OPENFLOW_DISCONNECT_REQUEST 5
#define MESSENGER_OPENFLOW_FAILD_TO_CONNECT 6


/**
 * Header for sending/receiving OpenFlow messages or events via messenger.
 * A null-terminated service name can be provided after service_name_len
 * and an OpenFlow message must be included in the rest of part in case of
 * MESSENGER_OPENFLOW_MESSAGE. service_name_length can be zero if service
 * name notification is not necessary.
 */
typedef struct openflow_service_header {
  uint64_t datapath_id;
  uint16_t service_name_length;
} __attribute__( ( packed ) ) openflow_service_header_t;


#endif // OPENFLOW_SERVICE_INTERFACE_H


/*
 * Local variables:
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * End:
 */

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
trema-0.4.7 src/lib/openflow_service_interface.h
trema-0.4.6 src/lib/openflow_service_interface.h
trema-0.4.5 src/lib/openflow_service_interface.h
trema-0.4.4 src/lib/openflow_service_interface.h
trema-0.4.3 src/lib/openflow_service_interface.h
trema-0.4.2 src/lib/openflow_service_interface.h
trema-0.4.1 src/lib/openflow_service_interface.h
trema-0.4.0 src/lib/openflow_service_interface.h
trema-0.3.21 src/lib/openflow_service_interface.h
trema-0.3.20 src/lib/openflow_service_interface.h
trema-0.3.19 src/lib/openflow_service_interface.h
trema-0.3.18 src/lib/openflow_service_interface.h
trema-0.3.17 src/lib/openflow_service_interface.h
trema-0.3.16 src/lib/openflow_service_interface.h
trema-0.3.15 src/lib/openflow_service_interface.h
trema-0.3.14 src/lib/openflow_service_interface.h
trema-0.3.13 src/lib/openflow_service_interface.h
trema-0.3.12 src/lib/openflow_service_interface.h
trema-0.3.11 src/lib/openflow_service_interface.h
trema-0.3.10 src/lib/openflow_service_interface.h