ruby/trema/set-config.c in trema-0.2.4 vs ruby/trema/set-config.c in trema-0.2.5
- old
+ new
@@ -1,8 +1,6 @@
/*
- * Author: Nick Karanatsios <nickkaranatsios@gmail.com>
- *
* Copyright (C) 2008-2012 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.
@@ -39,16 +37,16 @@
* tuning the behavior of the openflow protocol in some way.
*
* @overload initialize(options={})
*
* @example
- * SetConfigRequest.new
- * SetConfigRequest.new(
+ * SetConfig.new
+ * SetConfig.new(
* :flags => OFPC_FRAG_DROP,
* :miss_send_len => 256
* )
- * SetConfigRequest.new(
+ * SetConfig.new(
* :flags => OFPC_FRAG_DROP,
* :miss_send_len => 256,
* :transaction_id => 123
* )
*
@@ -66,11 +64,11 @@
*
* @raise [ArgumentError] if transaction id is not an unsigned 32-bit integer.
*
* @return [SetConfig]
* an object that encapsulates the +OFPT_SET_CONFIG+ OpenFlow message.
-*/
+ */
static VALUE
set_config_init( int argc, VALUE *argv, VALUE self ) {
buffer *set_config;
Data_Get_Struct( self, buffer, set_config );
@@ -118,10 +116,10 @@
}
/*
* A 2-bit value that can be set to indicate no special handling, drop or reassemble
- * IP fragments.
+ * IP fragments.
*
* @return [Number] the value of flags.
*/
static VALUE
set_config_flags( VALUE self ) {