- 08 Jun, 2015 3 commits
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add python packaging for the bpf library
-
Brenden Blanco authored
* Add tagging/git support * Reorganize bpf py lib to be more pythonic * Add pip installable builders Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 05 Jun, 2015 8 commits
-
-
4ast authored
Add simple single file example
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Update license in source code to be Apache 2
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Convert to using pyroute2 for tc
-
Brenden Blanco authored
* Remove libbpf.c netlink * Requires pyroute2 from source git clone https://github.com/svinota/pyroute2.git; cd pyroute2; sudo make install Update: Remove references to mnl Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
-
Brenden Blanco authored
-
- 01 Jun, 2015 4 commits
-
-
4ast authored
Rename files and a few functions
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add support for packet field write
-
Brenden Blanco authored
* Rewrite LValue packet dereference to bpf_dins * Add incr_csum as a macro * Update names of a few functions Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 29 May, 2015 4 commits
-
-
4ast authored
Return 0 in lookup_or_init error path
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add packet read syntax to c parser
-
Brenden Blanco authored
* C macro-based state machine * Add lookup_or_init helper routine instead of array syntax * Recognize references to protocol headers and translate into dext call Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 28 May, 2015 3 commits
-
-
Brenden authored
Fix a python (version 2.7.3) error
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Fix for 2 tests
-
- 27 May, 2015 7 commits
-
-
Brenden Blanco authored
* name needed to be right ctype * python runtime was complaining about dangling socket fd Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Fix for LLVM C++ api change
-
Brenden Blanco authored
* IRBuilder::CreateCallN was deprecated, use the vector based mechanism for passing args instead Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Address comments and add tail_call example
-
Brenden Blanco authored
* Cleanup some api names and definitions * Add <table>.call() in C api, which maps to bpf_tail_call Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Address some of Issue #16
-
Brenden Blanco authored
* Introduce Function object in bpf.py - prog load types (kprobe, socket, etc.) are independent - fd is a member of each function, to be used later (e.g. tail call table) * Allow functions to be defined inline in the .py as a text argument * Rename BPFProgram to BPFModule, which should make more sense Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 26 May, 2015 2 commits
-
-
4ast authored
Add clang support to bcc
-
Brenden Blanco authored
* Frontend options: b and modified c languages * Tests written for both languages * Automatic kbuild integration * Some cleanups and files moved Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 11 May, 2015 3 commits
-
-
Brenden authored
fix a typo
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Use clang as a lib to parse the helper file live
-
- 10 May, 2015 1 commit
-
-
Brenden Blanco authored
* Add clang as a library to the .so...this adds about 16M of stuff * Compute the build flags for clang from the current kernel's header build tree. It generates a makefile on the fly and caches the minimal flags as an output. * Followup to this would be to migrate bitops.c to be #include'd as well as the proto.d/kprobe.d stuff. * For now, requires clang to be installed in /opt/local/llvm...see cmake files to override this. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 07 May, 2015 2 commits
-
-
Brenden authored
Fix for Issue #8, pkt.rewrite_field
-
Brenden Blanco authored
* This was unintentionally removed in the last cleanup, adding it back. * Also adding support for $ip.dst = XXX style syntax * This is an ugly commit, please bear with it until I figure out the structure of the language, especially w.r.t. proto:: type fields. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 06 May, 2015 2 commits
-
-
4ast authored
Reduce strength of clang requirement to 3.0
-
Brenden Blanco authored
* All that is required is that clang binary IR is compatible with llvm 3.7. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 05 May, 2015 1 commit
-
-
Brenden authored
fix build with bison 2.5
-