Skip to content

Latest commit

 

History

History
 
 

bpf-gpl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later

This directory contains the source code and build system for the BPF programs that Calico uses to implement its
BPF dataplane.  Except for the third-party projects under the include subdirectory, the files in this directory
are dual licensed: GPLv2 or later and Apache v2.0.  The licenses for third-party projects are documented in their
subdirectory under the include directory.

The build requires

- kernel headers
- libbpf
- clang 7+

The calico/go-build container image provides a suitable environment:

    docker run -e LOCAL_USER_ID=$UID --rm -v `pwd`:/bpf-gpl -w /bpf-gpl calico/go-build:v0.35-deb-cgo make clean all