ruby/trema/action-common.h in trema-0.2.2.1 vs ruby/trema/action-common.h in trema-0.2.3

- 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. @@ -20,16 +18,14 @@ #ifndef ACTION_COMMON_H #define ACTION_COMMON_H -uint32_t nw_addr_to_i( VALUE nw_addr ); +#include <stdint.h> -VALUE nw_addr_to_s( VALUE nw_addr ); - - -uint8_t *dl_addr_short( VALUE dl_addr, uint8_t *ret_dl_addr ); +uint32_t nw_addr_to_i( VALUE nw_addr ); +uint8_t *dl_addr_to_a( VALUE dl_addr, uint8_t *ret_dl_addr ); #endif // ACTION_COMMON_H