Cilium v1.6 Documentationyou as the developer to implement three primary functions, shown as blue in the diagram below. We will cover OnData() in this section, and the other functions in section Step 9: Add Policy Loading and Matching entries, and stores them as aRule object. See r2d2/r2d2parser.go for examples of both functions for the r2d2 protocol. You’ll also need to update OnData to call p.connection.Matches(), and if Automatically run unit tests on code changes The script contrib/shell/test.sh contains some helpful bash functions to improve the feedback cycle between writing tests and seeing their results. If you’re writing 0 码力 | 734 页 | 11.45 MB | 1 年前3
Cilium v1.7 Documentationunit tests on code changes BPF and XDP Reference Guide BPF Architecture Instruction Set Helper Functions Maps Object Pinning Tail Calls BPF to BPF Calls JIT Hardening Offloads Toolchain Development Environment you as the developer to implement three primary functions, shown as blue in the diagram below. We will cover OnData() in this section, and the other functions in section Step 9: Add Policy Loading and Matching entries, and stores them as aRule object. See r2d2/r2d2parser.go for examples of both functions for the r2d2 protocol. You’ll also need to update OnData to call p.connection.Matches(), and if 0 码力 | 885 页 | 12.41 MB | 1 年前3
Cilium v1.8 Documentationunit tests on code changes BPF and XDP Reference Guide BPF Architecture Instruction Set Helper Functions Maps Object Pinning Tail Calls BPF to BPF Calls JIT Hardening Offloads Toolchain Development Environment you as the developer to implement three primary functions, shown as blue in the diagram below. We will cover OnData() in this section, and the other functions in section Step 9: Add Policy Loading and Matching entries, and stores them as aRule object. See r2d2/r2d2parser.go for examples of both functions for the r2d2 protocol. You’ll also need to update OnData to call p.connection.Matches(), and if 0 码力 | 1124 页 | 21.33 MB | 1 年前3
Cilium v1.10 Documentationunit tests on code changes BPF and XDP Reference Guide BPF Architecture Instruction Set Helper Functions Maps Object Pinning Tail Calls BPF to BPF Calls JIT Hardening Offloads Toolchain Development Environment you as the developer to implement three primary functions, shown as blue in the diagram below. We will cover OnData() in this section, and the other functions in section Step 9: Add Policy Loading and Matching entries, and stores them as aRule object. See r2d2/r2d2parser.go for examples of both functions for the r2d2 protocol. You’ll also need to update OnData to call p.connection.Matches(), and if 0 码力 | 1307 页 | 19.26 MB | 1 年前3
Cilium v1.9 Documentationunit tests on code changes BPF and XDP Reference Guide BPF Architecture Instruction Set Helper Functions Maps Object Pinning Tail Calls BPF to BPF Calls JIT Hardening Offloads Toolchain Development Environment you as the developer to implement three primary functions, shown as blue in the diagram below. We will cover OnData() in this section, and the other functions in section Step 9: Add Policy Loading and Matching entries, and stores them as aRule object. See r2d2/r2d2parser.go for examples of both functions for the r2d2 protocol. You’ll also need to update OnData to call p.connection.Matches(), and if 0 码力 | 1263 页 | 18.62 MB | 1 年前3
Cilium v1.11 Documentationunit tests on code changes BPF and XDP Reference Guide BPF Architecture Instruction Set Helper Functions Maps Object Pinning Tail Calls BPF to BPF Calls JIT Hardening Offloads Toolchain Development Environment you as the developer to implement three primary functions, shown as blue in the diagram below. We will cover OnData() in this section, and the other functions in section Step 9: Add Policy Loading and Matching entries, and stores them as aRule object. See r2d2/r2d2parser.go for examples of both functions for the r2d2 protocol. You’ll also need to update OnData to call p.connection.Matches(), and if 0 码力 | 1373 页 | 19.37 MB | 1 年前3
Cilium v1.5 Documentationand making programs as well as maps persistent in the BPF file system through pinning. Helper Functions Helper func�ons are a concept which enables BPF programs to consult a core kernel defined set of overloaded its load instruc�ons in order to fetch data at an impossible packet offset to invoke auxiliary helper func�ons, each cBPF JIT needed to implement support for such a cBPF extension. In case of0 码力 | 740 页 | 12.52 MB | 1 年前3
eBPF at LINE's Private Cloud• Network domain specific function call tracer • Trace “which packets have gone through which functions” Output Attaching program (total 1803, succeeded 1001, failed 0 filtered: 0 untraceable: 802) gso_type: tcpv4) 3347634422951 0000 skb_csum_hwoffload_help (len: 5764 gso_type: tcpv4) Functions the packets have gone through CPU ID Time Stamp User defined tracing data (with Lua script) …0 码力 | 12 页 | 1.05 MB | 1 年前3
bpfbox: Simple Precise
Process Confinement
with eBPF and KRSIfoo" ] → Apply rules only within a call to foo() ▶ #[kfunc " foo" ] → Same thing, but for kernel functions #! [ profile "/sbin/mylogin"] #[ func " check_password "] #[ allow] { fs("/etc/passwd", read)0 码力 | 8 页 | 528.12 KB | 1 年前3
eBPF Summit 2020 Lightning Talkmake RedBPF support more (all) program types - make it a generic compiler (BCC) • Add utility functions to help dealing with network headers etc… • Improve the compile output - ensure it works with0 码力 | 22 页 | 1.81 MB | 1 年前3
共 11 条
- 1
- 2













