- 09 Aug, 2015 2 commits
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
This is the culmination of the previous patches. It adds an api that can input map data in a string format, but validating the numbers and locations of data fields. The use case is for fuse file input/output. A printf api may follow. Take the table with key/leaf of: struct Key { int a; int b; }; struct Leaf { int a; int b; int c; struct SubLeaf { int x; int y; } s; }; One would input to this table using: update_table(table_name, "{1 2}", "{1 2 -3 {9 0xa}}"); The implementation uses a JITed function for each unique type, that is invoked to run sscanf on behalf of the caller. The input must have the exact right number of arguments. Bit fields are supported, but the caller must be aware of the collapse of those bitfields into an aligned field, as well as endianness. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 08 Aug, 2015 3 commits
-
-
Brenden Blanco authored
It was bothering me that a whole bunch of accesses to the tables were based on a string hash lookup, in addition to the vectors that were kept to convert ids to names. Switch those around, as well as the api internally. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
After the modules have been created, create a helper function for each table leaf/key type. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 07 Aug, 2015 3 commits
-
-
Brenden Blanco authored
This whole project is about bpf, prefixing everything with the same acronym is redundant. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 05 Aug, 2015 8 commits
-
-
4ast authored
Add cmake checks for required test programs
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Set as warning, since the build will still work fine and be able to create a binary package. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Move helper.h prototype for tail call into 4.2 section
-
Brenden Blanco authored
With #115, bpf_tail_call was incorrectly disabled in 4.2 builds. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add INSTALL.md instructions for using Ubuntu binary build
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Flags for 4.3 were accidentally committed, revert
-
- 04 Aug, 2015 12 commits
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
release IPDB in host ns early
-
Wei-Chun Chao authored
We need it for setting vxlan flow based flags currently. Release it once the interfaces are set up. This does not help Ctrl-C on main.py though. Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
weichunc authored
Suggest Release and add X86 target in readme
-
Brenden Blanco authored
The default CMAKE_BUILD_TYPE is Debug when cloning from git, suggest Release instead. Also, there are some worrisome warnings during cmake when X86 target is omitted. Additionally, I may want X86 target support for a future feature, so lets suggest it here. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
llvm 3.7+ deb is broken
-
Wei-Chun Chao authored
https://llvm.org/bugs/show_bug.cgi?id=24154 Build from source until it's resolved. Another plan is to provide binary package. Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
Brenden Blanco authored
better clean up of created namespace/interfaces if ctrl-c is pressed
-
Brenden Blanco authored
fix tunnel_mesh.py
-
Wei-Chun Chao authored
The IP assignment was wrong. Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
Yonghong Song authored
o There are still some cases when ctrl-c is pressed, the program does not exit gracefully, with a however lower probability. In my random manual experiments, one in ten cases it still hangs and needs further ctrl-z. Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Reorganize bpf_module into multiple frontend implementations
-
- 03 Aug, 2015 5 commits
-
-
Brenden Blanco authored
Add project logo and source files
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Suchakra Sharma authored
The logo contains elements which are in public domain. The gear has been modified from illustration submitted by 'hank0071' on OpenClipart and the font used is Open Sans. There seems to be no restriction on commercial use. Signed-off-by: Suchakra Sharma <suchakrapani.sharma@polymtl.ca>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Other commits to follow with cleanup of the code itself. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 02 Aug, 2015 1 commit
-
-
4ast authored
Enable memory cleanup in Clang, otherwise 500KB lost per compile
-
- 31 Jul, 2015 6 commits
-
-
Brenden Blanco authored
Since it is meant for the command line, clang ships with no memory cleanup. We intend to run as a long-lived process, so enable that cleanup. Valgrind now reports only trivial (and non-increasing over time) memory leaks. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
yonghong-song authored
Add version check for functions only in >= 4.3 kernel
-
yonghong-song authored
Add pkg-config support and include compat/linux* in packaging
-
Brenden Blanco authored
Different kernel header versions has been a continuing source of pain. Though I don't prefer this approach, it seems the most reliable way to get a build (for the time being) is to bundle the linux/bpf*.h in a compat directory in the target install location. To get visibility into that compat directory from another library, one will need to rely on pkg-config --cflags argument to pull in that compat directory. Future work will be to avoid bundling the compat directory if the version of linux-libc-dev is high enough, or if the presence of the result of 'make headers_install' from the running kernel can be detected. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Addresses issue #100 Note to developers working off of net-next: you will need to locally disable this patch to make use of the new features. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Assign ip address to br
-