Permalink
Browse files

Split rofl-common from rofl-core

  • Loading branch information...
vicalro committed Apr 22, 2015
1 parent b182457 commit d66f7f5981a99be68c8c560e494eaa9e47b43735
Showing with 173 additions and 30,036 deletions.
  1. +1 −1 Makefile.am
  2. +0 −2 config/doxygen.m4
  3. +0 −16 config/flush.m4
  4. +0 −12 config/no_cpp.m4
  5. +0 −99 config/pipeline.m4
  6. +0 −75 config/pipeline_opts.m4
  7. +4 −27 configure.ac
  8. +0 −8 doc/Makefile.am
  9. +0 −848 doc/doxyfile-hal.conf.in
  10. +0 −848 doc/doxyfile-pipeline.conf.in
  11. +1 −4 examples/ethswctld/Makefile.am
  12. +1 −4 examples/proxyd/Makefile.am
  13. +1 −1 examples/pushpopd/Makefile.am
  14. +1 −4 examples/testomat/Makefile.am
  15. +4 −4 src/Makefile.am
  16. +0 −26 src/rofl.c
  17. +0 −60 src/rofl.h
  18. +9 −18 src/rofl/Makefile.am
  19. +4 −4 src/rofl/common/Makefile.am
  20. +0 −1 src/rofl/common/openflow/coxmatch_output.h
  21. +7 −3 src/rofl/common/utils/c_logger.h
  22. +0 −3 src/rofl/datapath/Makefile.am
  23. +0 −51 src/rofl/datapath/hal/.doxygen.dox
  24. +0 −28 src/rofl/datapath/hal/.groups.dox
  25. +0 −11 src/rofl/datapath/hal/Makefile.am
  26. +0 −58 src/rofl/datapath/hal/cmm.h
  27. +0 −281 src/rofl/datapath/hal/driver.h
  28. +0 −10 src/rofl/datapath/hal/extensions/Makefile.am
  29. +0 −36 src/rofl/datapath/hal/extensions/extensions.h
  30. +0 −47 src/rofl/datapath/hal/extensions/nf.h
  31. +0 −34 src/rofl/datapath/hal/hal.h
  32. +0 −18 src/rofl/datapath/hal/hal_utils.h
  33. +0 −10 src/rofl/datapath/hal/openflow/openflow1x/Makefile.am
  34. +0 −67 src/rofl/datapath/hal/openflow/openflow1x/of1x_cmm.h
  35. +0 −266 src/rofl/datapath/hal/openflow/openflow1x/of1x_driver.h
  36. +0 −101 src/rofl/datapath/pipeline/.doxygen.dox
  37. +0 −51 src/rofl/datapath/pipeline/.endianness.dox
  38. +0 −107 src/rofl/datapath/pipeline/.groups.dox
  39. +0 −27 src/rofl/datapath/pipeline/Makefile.am
  40. +0 −22 src/rofl/datapath/pipeline/common/Makefile.am
  41. +0 −105 src/rofl/datapath/pipeline/common/bitmap.h
  42. +0 −124 src/rofl/datapath/pipeline/common/crc32cr.c
  43. +0 −23 src/rofl/datapath/pipeline/common/crc32cr.h
  44. +0 −88 src/rofl/datapath/pipeline/common/datapacket.h
  45. +0 −76 src/rofl/datapath/pipeline/common/endianness.h
  46. +0 −21 src/rofl/datapath/pipeline/common/ipv6_exthdr.h
  47. +0 −51 src/rofl/datapath/pipeline/common/large_types.h
  48. +0 −371 src/rofl/datapath/pipeline/common/packet_matches.c
  49. +0 −708 src/rofl/datapath/pipeline/common/packet_matches.h
  50. +0 −117 src/rofl/datapath/pipeline/common/protocol_constants.h
  51. +0 −289 src/rofl/datapath/pipeline/common/ternary_fields.c
  52. +0 −94 src/rofl/datapath/pipeline/common/ternary_fields.h
  53. +0 −24 src/rofl/datapath/pipeline/common/wrap_types.h
  54. +0 −382 src/rofl/datapath/pipeline/monitoring.c
  55. +0 −282 src/rofl/datapath/pipeline/monitoring.h
  56. +0 −14 src/rofl/datapath/pipeline/openflow/Makefile.am
  57. +0 −148 src/rofl/datapath/pipeline/openflow/of_switch.c
  58. +0 −163 src/rofl/datapath/pipeline/openflow/of_switch.h
  59. +0 −77 src/rofl/datapath/pipeline/openflow/of_switch_pp.h
  60. +0 −15 src/rofl/datapath/pipeline/openflow/openflow1x/Makefile.am
  61. +0 −118 src/rofl/datapath/pipeline/openflow/openflow1x/of1x_async_events_hooks.h
  62. +0 −344 src/rofl/datapath/pipeline/openflow/openflow1x/of1x_switch.c
  63. +0 −113 src/rofl/datapath/pipeline/openflow/openflow1x/of1x_switch.h
  64. +0 −45 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/Makefile.am
  65. +0 −3 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/.gitignore
  66. +0 −81 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/Makefile.am
  67. +0 −1 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/README
  68. +0 −38 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/available_ma.sh
  69. +0 −47 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/available_ma_c.sh
  70. +0 −73 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/available_ma_pp.sh
  71. +0 −330 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/l2hash/of1x_l2hash_ma.c
  72. +0 −163 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/l2hash/of1x_l2hash_ma.h
  73. +0 −86 ...ofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/l2hash/of1x_l2hash_ma_pp.h
  74. +0 −679 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/loop/of1x_loop_ma.c
  75. +0 −47 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/loop/of1x_loop_ma.h
  76. +0 −65 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/loop/of1x_loop_ma_pp.h
  77. +0 −262 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/matching_algorithms.h
  78. +0 −1,083 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_action.c
  79. +0 −665 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_action.h
  80. +0 −750 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_action_pp.h
  81. +0 −340 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_flow_entry.c
  82. +0 −166 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_flow_entry.h
  83. +0 −657 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_flow_table.c
  84. +0 −261 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_flow_table.h
  85. +0 −32 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_flow_table_pp.h
  86. +0 −580 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_group_table.c
  87. +0 −204 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_group_table.h
  88. +0 −21 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_group_types.h
  89. +0 −279 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_instruction.c
  90. +0 −170 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_instruction.h
  91. +0 −90 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_instruction_pp.h
  92. +0 −1,919 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_match.c
  93. +0 −1,000 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_match.h
  94. +0 −546 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_match_pp.h
  95. +0 −250 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_pipeline.c
  96. +0 −104 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_pipeline.h
  97. +0 −213 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_pipeline_pp.h
  98. +0 −509 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_statistics.c
  99. +0 −354 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_statistics.h
  100. +0 −106 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_statistics_pp.h
  101. +0 −600 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_timers.c
  102. +0 −118 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_timers.h
  103. +0 −191 src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_utils.h
  104. +0 −691 src/rofl/datapath/pipeline/physical_switch.c
  105. +0 −490 src/rofl/datapath/pipeline/physical_switch.h
  106. +0 −3 src/rofl/datapath/pipeline/platform/.gitignore
  107. +0 −15 src/rofl/datapath/pipeline/platform/Makefile.am
  108. +0 −96 src/rofl/datapath/pipeline/platform/atomic_operations.h
  109. +0 −113 src/rofl/datapath/pipeline/platform/atomic_ops_inline.h.skel
  110. +0 −39 src/rofl/datapath/pipeline/platform/likely.h
  111. +0 −31 src/rofl/datapath/pipeline/platform/likely_custom.h.skel
  112. +0 −145 src/rofl/datapath/pipeline/platform/lock.h
  113. +0 −180 src/rofl/datapath/pipeline/platform/lock_inline.h.skel
  114. +0 −101 src/rofl/datapath/pipeline/platform/memory.h
  115. +0 −1,067 src/rofl/datapath/pipeline/platform/packet.h
  116. +0 −37 src/rofl/datapath/pipeline/platform/timing.h
  117. +0 −38 src/rofl/datapath/pipeline/port_queue.c
  118. +0 −110 src/rofl/datapath/pipeline/port_queue.h
  119. +0 −206 src/rofl/datapath/pipeline/switch_port.c
  120. +0 −337 src/rofl/datapath/pipeline/switch_port.h
  121. +0 −110 src/rofl/datapath/pipeline/threading.h
  122. +0 −12 src/rofl/datapath/pipeline/util/Makefile.am
  123. +0 −13 src/rofl/datapath/pipeline/util/logging.c
  124. +0 −113 src/rofl/datapath/pipeline/util/logging.h
  125. +0 −8 src/rofl/datapath/pipeline/util/pp_guard.h
  126. +0 −24 src/rofl/datapath/pipeline/util/time.h
  127. +3 −3 src/rofl/platform/Makefile.am
  128. +2 −2 src/rofl/{rofl.pc.in → rofl_common.pc.in}
  129. +30 −0 src/rofl_common.c
  130. +39 −0 src/rofl_common.h
  131. +54 −0 src/rofl_common_conf.h.in
  132. +0 −72 src/rofl_config.h.in
  133. +1 −8 test/Makefile.am
  134. +1 −1 test/rofl/common/Makefile.am
  135. +1 −1 test/rofl/common/openflow/Makefile.am
  136. +1 −1 test/rofl/common/openflow/messages/Makefile.am
  137. +1 −1 test/rofl/common/protocols/Makefile.am
  138. +0 −44 test/rofl/datapath/pipeline/monitoring/Makefile.am
  139. +0 −230 test/rofl/datapath/pipeline/monitoring/monitoring_test.c
  140. +0 −5 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/Makefile.am
  141. +0 −41 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/bufs/Makefile.am
  142. +0 −19 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/bufs/io.h
  143. +0 −385 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/bufs/packet.c
  144. +0 −1,108 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/bufs/test_bufs.c
  145. +0 −32 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/bufs/test_bufs.h
  146. +0 −53 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/bufs/unit_test.c
  147. +0 −27 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/cutil.c
  148. +0 −48 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/dynamic/Makefile.am
  149. +0 −283 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/empty_packet.c
  150. +0 −152 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/group_table.c
  151. +0 −30 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/group_table.h
  152. +0 −10 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/lib_assert.h
  153. +0 −36 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/lib_random.c
  154. +0 −13 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/lib_random.h
  155. +0 −53 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/Makefile.am
  156. +0 −198 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/lockless_tests.c
  157. +0 −25 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/lockless_tests.h
  158. +0 −42 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/loop/Makefile.am
  159. +0 −464 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/loop/matching_test.c
  160. +0 −30 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/loop/matching_test.h
  161. +0 −290 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/loop/test_ipv6.c
  162. +0 −25 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/loop/test_ipv6.h
  163. +0 −73 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/loop/unit_test.c
  164. +0 −176 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/profiling_tests.c
  165. +0 −29 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/profiling_tests.h
  166. +0 −35 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/ma/utils.h
  167. +0 −38 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/memory.c
  168. +0 −316 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/output_actions.c
  169. +0 −28 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/output_actions.h
  170. +0 −43 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/pipeline_mockup.c
  171. +0 −67 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/platform_empty_hooks_of12.cc
  172. +0 −53 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/pp_isolation.c
  173. +0 −6 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/pp_isolation.h
  174. +0 −59 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/pthread_atomic_operations.c
  175. +0 −83 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/pthread_lock.c
  176. +0 −41 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/reset_pipeline/Makefile.am
  177. +0 −128 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/reset_pipeline/reset_pipeline_test.c
  178. +0 −27 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/reset_pipeline/reset_pipeline_test.h
  179. +0 −51 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/reset_pipeline/unit_test.c
  180. +0 −49 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/static/Makefile.am
  181. +0 −177 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/stats.c
  182. +0 −531 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/timers_hard_timeout.c
  183. +0 −31 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/timers_hard_timeout.h
  184. +0 −26 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/timing.c
  185. +0 −81 test/rofl/datapath/pipeline/openflow/openflow1x/pipeline/unit_test.c
  186. +1 −1 test/unit/Makefile.am
  187. +2 −2 test/unit/frames/Makefile.am
  188. +3 −3 tools/deb/checkinstall_gen.sh
  189. +1 −3 tools/spray/Makefile.am
View
@@ -5,7 +5,7 @@ MAINTAINERCLEANFILES = \
export INCLUDES += -I$(abs_srcdir)/src/ -I$(abs_builddir)/src/
SUBDIRS = src test examples tools doc
export LIBROFL=$(PWD)/src/rofl/librofl.la
export LIBROFL=$(PWD)/src/rofl/librofl_common.la
#Could be improved..
.PHONY: doc
View
@@ -3,8 +3,6 @@ AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen])
#Always distribute these files
AC_CONFIG_FILES([doc/doxyfile-common.conf])
AC_CONFIG_FILES([doc/doxyfile-pipeline.conf])
AC_CONFIG_FILES([doc/doxyfile-hal.conf])
AC_CONFIG_FILES([doc/customdoxygen.css])
AC_CONFIG_FILES([doc/DoxygenLayout.xml])
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View
@@ -1,4 +1,4 @@
AC_INIT(ROFL, m4_esyscmd_s(cat VERSION), rofl-devel@roflibs.org, rofl, http://www.roflibs.org)
AC_INIT(ROFL-COMMON, m4_esyscmd_s(cat VERSION), rofl-devel@roflibs.org, rofl-common, http://www.roflibs.org)
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
@@ -43,21 +43,6 @@ m4_include([config/profiling.m4])
# Experimental
m4_include([config/experimental.m4])
# Flush
m4_include([config/flush.m4])
# No C++ (cross compilation in C enviornments)
m4_include([config/no_cpp.m4])
# Pipeline support
m4_include([config/pipeline.m4])
# Pipeline optimizations
m4_include([config/pipeline_opts.m4])
# Checking libs
#m4_include([config/libs.m4])
# Checking libs
m4_include([config/versioning.m4])
@@ -82,12 +67,9 @@ AC_CONFIG_FILES([
src/rofl/platform/Makefile
src/rofl/platform/unix/Makefile
src/rofl/Makefile src/rofl/rofl.pc
src/rofl/Makefile
src/rofl/rofl_common.pc
src/rofl/datapath/hal/Makefile
src/rofl/datapath/hal/openflow/openflow1x/Makefile
src/rofl/datapath/hal/extensions/Makefile
examples/Makefile
examples/ethswctld/Makefile
examples/testomat/Makefile
@@ -104,12 +86,7 @@ AC_CONFIG_FILES([
test/rofl/common/openflow/messages/Makefile
test/rofl/common/protocols/Makefile
src/rofl_config.h])
# test/unit/cmemory/Makefile
# test/unit/cpacket/Makefile
# test/unit/croflexp/Makefile
# test/unit/frames/Makefile
# test/unit/test1/Makefile
src/rofl_common_conf.h])
# Doxygen (here to be the last Makefile)
m4_include([config/doxygen.m4])
View
@@ -8,14 +8,6 @@ doc:
@ SRC_DIR=$(top_srcdir) @DOXYGEN@ doxyfile-common.conf >/dev/null 2>&1
@echo done
@echo -n Generating documentation for ROFL-pipeline \(this may take a while\)...
@ SRC_DIR=$(top_srcdir) @DOXYGEN@ doxyfile-pipeline.conf >/dev/null 2>&1
@echo done
@echo -n Generating documentation for ROFL-hal \(this may take a while\)...
@ SRC_DIR=$(top_srcdir) @DOXYGEN@ doxyfile-hal.conf >/dev/null 2>&1
@echo done
@echo The documentation is under: $(builddir)/doc/
else
Oops, something went wrong.

0 comments on commit d66f7f5

Please sign in to comment.