Sha256: 93d3836f44e42e334d0d17e5f08acc40d8ec5cbfdb016fdbedce80af39f2f820

Contents?: true

Size: 1.18 KB

Versions: 13

Compression:

Stored size: 1.18 KB

Contents

/*
 * Copyright (C) 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 SWITCH_OPTION_H_
#define SWITCH_OPTION_H_

#include <getopt.h>

enum switch_long_options_val {
  NO_FLOW_CLEANUP_LONG_OPTION_VALUE = 1,
  NO_COOKIE_TRANSLATION_LONG_OPTION_VALUE = 2,
  NO_PACKET_IN_LONG_OPTION_VALUE = 3,
};


extern struct option switch_long_options[];


extern char switch_short_options[];


#define VENDOR_PREFIX "vendor::"
#define PACKET_IN_PREFIX "packet_in::"
#define PORTSTATUS_PREFIX "port_status::"
#define STATE_PREFIX "state_notify::"

#endif /* SWITCH_OPTION_H_ */

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
trema-0.4.7 src/switch_manager/switch_option.h
trema-0.4.6 src/switch_manager/switch_option.h
trema-0.4.5 src/switch_manager/switch_option.h
trema-0.4.4 src/switch_manager/switch_option.h
trema-0.4.3 src/switch_manager/switch_option.h
trema-0.4.2 src/switch_manager/switch_option.h
trema-0.4.1 src/switch_manager/switch_option.h
trema-0.4.0 src/switch_manager/switch_option.h
trema-0.3.21 src/switch_manager/switch_option.h
trema-0.3.20 src/switch_manager/switch_option.h
trema-0.3.19 src/switch_manager/switch_option.h
trema-0.3.18 src/switch_manager/switch_option.h
trema-0.3.17 src/switch_manager/switch_option.h