Sha256: d2180555dc8160b1b553fbba0b0b7961e18c5e30e3ad1c899f8f95b9da1d4ba3

Contents?: true

Size: 1.59 KB

Versions: 20

Compression:

Stored size: 1.59 KB

Contents

/*
 * OpenFlow Switch Manager
 *
 * 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 OFPMSG_SEND_H
#define OFPMSG_SEND_H


#include "trema.h"
#include "switch.h"


#define OFP_ERROR_MSG_MAX_DATA 64


int ofpmsg_send_hello( struct switch_info *sw_info );
int ofpmsg_send_echorequest( struct switch_info *sw_info, uint32_t xid, buffer *body );
int ofpmsg_send_echoreply( struct switch_info *sw_info, uint32_t xid, buffer *body );
int ofpmsg_send_featuresrequest( struct switch_info *sw_info );
int ofpmsg_send_setconfig( struct switch_info *sw_info );
int ofpmsg_send_error_msg( struct switch_info *sw_info, uint16_t type, uint16_t code, buffer *data );
int ofpmsg_send( struct switch_info *sw_info, buffer *buf, char *service_name );
int ofpmsg_send_delete_all_flows( struct switch_info *sw_info );
int ofpmsg_send_deny_all( struct switch_info *sw_info );


#endif // OFPMSG_SEND_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/switch_manager/ofpmsg_send.h
trema-0.4.6 src/switch_manager/ofpmsg_send.h
trema-0.4.5 src/switch_manager/ofpmsg_send.h
trema-0.4.4 src/switch_manager/ofpmsg_send.h
trema-0.4.3 src/switch_manager/ofpmsg_send.h
trema-0.4.2 src/switch_manager/ofpmsg_send.h
trema-0.4.1 src/switch_manager/ofpmsg_send.h
trema-0.4.0 src/switch_manager/ofpmsg_send.h
trema-0.3.21 src/switch_manager/ofpmsg_send.h
trema-0.3.20 src/switch_manager/ofpmsg_send.h
trema-0.3.19 src/switch_manager/ofpmsg_send.h
trema-0.3.18 src/switch_manager/ofpmsg_send.h
trema-0.3.17 src/switch_manager/ofpmsg_send.h
trema-0.3.16 src/switch_manager/ofpmsg_send.h
trema-0.3.15 src/switch_manager/ofpmsg_send.h
trema-0.3.14 src/switch_manager/ofpmsg_send.h
trema-0.3.13 src/switch_manager/ofpmsg_send.h
trema-0.3.12 src/switch_manager/ofpmsg_send.h
trema-0.3.11 src/switch_manager/ofpmsg_send.h
trema-0.3.10 src/switch_manager/ofpmsg_send.h