Closed thehajime closed 9 years ago
there are some suspicious messages, but test passed so it should be fine ;) https://travis-ci.org/libos-nuse/net-next-nuse/builds/42940128
./include/linux/rcupdate.h:373:2: error: #error "Unknown RCU implementation specified to kernel configuration" ./include/linux/jiffies.h:39:3: error: #error Invalid value of HZ. ./include/linux/jiffies.h:60:39: error: division by zero in #if ./include/linux/rcupdate.h:373:2: error: #error "Unknown RCU implementation specified to kernel configuration" ./include/linux/jiffies.h:39:3: error: #error Invalid value of HZ. ./include/linux/jiffies.h:60:39: error: division by zero in #if ./include/linux/jiffies.h:60:39: error: division by zero in #if
nuse: clean up userspace build and kernelspace build lib: change the name CONFIG_SIM to CONFIG_LIB
files sim.[c] indicate to relate to simulator via Direct Code Execution (DCE), files nuse.[ch] indicate to relate to Network Stack in Userspace (NUSE).
libsim-linux.so and libnuse-linux.so will be generated for both purpose. code are internally shared.
functions, variables are replaced from 'sim' to 'lib' struct name weren't replaced because ns-3 (DCE) uses this name.
lib: add documentation
This commit addresses the issue #22 and #21.