- 30 Jul, 2015 1 commit
-
-
Brenden Blanco authored
bpf_prog_load was unconditionally printing the error from the kernel to stderr. If libbpf is used in a library, that library may want to collect the error to a custom location (a logfile). So, provide an option to store the string elsewhere than stderr. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 28 Jul, 2015 7 commits
-
-
4ast authored
Dist bridge
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Update compat.h * Move bpf_clone_redirect to signed int, matching the implementation. This allows error codes to be compared to < 0. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add index-based function references to c api
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Add the index based API so that an external api (bcc-fuse) can iterate through the maps and functions that were compiled in this program. * Add a more unique section prefix to disambiguate exportable functions. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 27 Jul, 2015 1 commit
-
-
4ast authored
Include bcc headers in /usr/include
-
- 26 Jul, 2015 1 commit
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 25 Jul, 2015 1 commit
-
-
Brenden Blanco authored
* Add wrapper bcc.h to include dependencies * Add text bpf_module_create_* to list of exports Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 22 Jul, 2015 3 commits
-
-
Brenden Blanco authored
simply vlan_learning example with newer vlan_push/pop helpers
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
- 21 Jul, 2015 2 commits
-
-
4ast authored
Cache function handles in BPF class
-
Brenden Blanco authored
* This means repeated calls to get_func() are now allowed Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 18 Jul, 2015 1 commit
-
-
Brenden Blanco authored
use running linux version number for feature availability checking
-
- 17 Jul, 2015 3 commits
-
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
- 14 Jul, 2015 5 commits
-
-
yonghong-song authored
Change to simulator arguments for readability
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Let one argument be optional * Disable ipv6 for whole namespace once * Python 2/3 compatibility fix Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Bugfix for simulation.py
-
Brenden Blanco authored
* Ignore exceptions and continue cleanup of dead children * Set loopback interface up Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 11 Jul, 2015 4 commits
-
-
Brenden Blanco authored
Yhs dev
-
Yonghong Song authored
o This way, process kill happens correctly. Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
o sometimes, NSPipe kill may not really kill the process o with the explicit kill, remove the cleanup for outer veth's associated with namespace Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
o make some long lines in python codes shorter o use python style unused variable name "_" Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
- 10 Jul, 2015 2 commits
-
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
o disable ipv6 for newly-created net devices to avoid unaccountable pkt counting o explicitly enable ip_forward in router namespace o proper cleanup in case of validation failure o in test_brb, use different tc_index to differentiate the packet source (pem or router_ns) o change bpf program return value to 1 so that the packet will be dropped instead of being passed up to the stack Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
- 08 Jul, 2015 2 commits
-
-
4ast authored
Update README.md examples and INSTALL.md
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 07 Jul, 2015 5 commits
-
-
4ast authored
Update README with install info, few cleanups
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Add some examples to package * Fix bpf_trace_printk bug not supporting 0 format args * Make src_file arg loading a little bit more intelligent in BPF() * Update README with Hello, World step-by-step Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add multiple build support styles
-
Brenden Blanco authored
* Add RPM and DEB packaging targets (using CPack from CMake) to build binary packages for Fedora and Ubuntu targets. * Add Docker build scripts for each of the above that run the build in the right environment (assuming docker is available). - In Ubuntu, build against the LLVM 3.7 nightly snapshots - In Fedora, build against LLVM 3.7 from git (takes longer) * Depending on packages installed on the build machine, it may be possible to cross-package for other targets without invoking Docker. * Re-introduce src/cc/compat directory to keep the build stable for the time being. Similarly, it was necessary to #define some ugly constants that should eventually show up in libc. * Add a few simple version checks to allow a partially working (really tracing only) libbcc in 4.1 kernels. TODO (followup commit): Re-work the READMEs Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 03 Jul, 2015 2 commits
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Install into lib64 instead of lib * Pull 4.2 kernel from rawhide instead of building it Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-