- 17 Jun, 2015 5 commits
-
-
4ast authored
Automatically compute sizeof in bpf_trace_printk
-
Brenden Blanco authored
* Addresses issue #61 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add example for BPF+tc rate limiting
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 16 Jun, 2015 5 commits
-
-
Brenden Blanco authored
* Adding an example to address #59, simulation of bandwidth sharing Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Compatibility fixes and pyroute2 examples
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* simple_tc shows using just IPRoute * simple_ipdb shows using IPDB as well, slightly more complicated - If the exception handling is done as shown, hangs may result - If only IPRoute is used, this shouldn't be the case Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Add requirement on 'future' package to ensure backwards compatibility - If working in dev environment, do 'sudo pip install future' Note: end-users installing a compiled package with pip should have future installed as a dependency automatically. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 12 Jun, 2015 9 commits
-
-
Brenden Blanco authored
reduce test time for test_brb and test_brb2
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Automatically detect key/leaf type in clang
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Parse the key and leaf types used for table definition, and pass the type info back into python using a json transport * Remove the subscript operator support * Migrate the tests that are able to drop they Key/Leaf definition. Keep it around for the tests that are B/C compatible Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Cleanups for some build/compile failures
-
yonghong-song authored
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 11 Jun, 2015 18 commits
-
-
Brenden Blanco authored
python commands module is removed in python 3, use subprocess
-
Brenden Blanco authored
* Change ftw to nftw, and do depth-first tmpdir cleanup * Scrub CROSS_COMPILE variable before kbuild_helpers Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Brenden Blanco authored
Yhs dev
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Update readme and FAQs
-
4ast authored
Remove the BPF_EXPORT macro, use rewriter instead
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Marco Leogrande authored
Specifically, mention the step to install the kernel image, modules and headers.
-
Brenden Blanco authored
* Add a BFrontentAction to recognize any external linkage function as being available for export, and internally set the section attribute. * Change bpf helpers to be static inline Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Marco Leogrande authored
Include kernel headers >=4.1 as a prerequisite.
-
4ast authored
Add kprobe auto-cleanup and header fix
-
Brenden Blanco authored
* Add bpf_detach_kprobe helper to libbpf * Automatically invoke detach at python program exit * Add "uapi/" to one include in helpers.h Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
avoid include file linux/bpf.h in helpers.h
-
Yonghong Song authored
o use uapi/linux/bpf.h instead o to be consistent with kernel/samples/bpf/ Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Add a Learning VLAN program example
-
Brenden Blanco authored
* Create a simulation of a physical network with multiple vlans, which can accept and distribute connections from multiple clients in overlapping subnets. The program will assign to a worker based on mac address. * Remove a hardcoded SO_ATTACH_BPF literal, and fix one spacing Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 10 Jun, 2015 3 commits
-
-
4ast authored
add another bridge-router-bridge test (test_brb2)
-
Yonghong Song authored
o router is implemented as a namespace, similar to test_brb. o using linux bridge to provide bridge functionality. In test_brb, a simple bpf program implemented limited bridge functionality. o on my local box, test_brb performance is roughly 12% better than test_brb2. Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Brenden Blanco authored
use 64bit ulonglong to represent mac address
-