1. 10 Jul, 2015 1 commit
    • Yonghong Song's avatar
      fix and improve test brb/brb2 · 3a898644
      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: default avatarYonghong Song <yhs@plumgrid.com>
      3a898644
  2. 08 Jul, 2015 2 commits
  3. 07 Jul, 2015 5 commits
    • 4ast's avatar
      Merge pull request #81 from iovisor/bblanco_dev · 80221ad5
      4ast authored
      Update README with install info, few cleanups
      80221ad5
    • Brenden Blanco's avatar
      Fix newlines in README · 34aafe90
      Brenden Blanco authored
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      34aafe90
    • Brenden Blanco's avatar
      Update README with install info, few cleanups · 46176a10
      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: default avatarBrenden Blanco <bblanco@plumgrid.com>
      46176a10
    • 4ast's avatar
      Merge pull request #80 from iovisor/bblanco_dev · 5950838c
      4ast authored
      Add multiple build support styles
      5950838c
    • Brenden Blanco's avatar
      Add multiple build support styles · f275d3db
      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: default avatarBrenden Blanco <bblanco@plumgrid.com>
      f275d3db
  4. 03 Jul, 2015 2 commits
  5. 02 Jul, 2015 4 commits
  6. 01 Jul, 2015 1 commit
  7. 30 Jun, 2015 1 commit
  8. 29 Jun, 2015 1 commit
    • Brenden Blanco's avatar
      Clean some brittle parts of clang rewriter · 561dafc0
      Brenden Blanco authored
      * Rewrites of text inside of a macro (even if just the arguments) is not
        support by clang. Convert macro definitions to pure rewrites instead.
      * For packet field access, no longer require 'skb' named
        argument...instead, learn it from the function parameter list.
      * Add a complex test case...supposedly this should have failed issue
        #10, but the C version does not exhibit the same failure as the B
        version.
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      561dafc0
  9. 28 Jun, 2015 1 commit
  10. 25 Jun, 2015 1 commit
  11. 23 Jun, 2015 7 commits
  12. 19 Jun, 2015 1 commit
  13. 18 Jun, 2015 9 commits
  14. 17 Jun, 2015 4 commits