info > BPF-HELPERS

πŸ“– NAME

BPF-HELPERS - list of eBPF helper functions

πŸš€ Quick Reference

Use CaseCommandDescription
πŸ—ΊοΈ Look up map elementbpf_map_lookup_elem(map, key)Find value associated with key in a map
πŸ“ Update map elementbpf_map_update_elem(map, key, value, flags)Add or update entry in a map
❌ Delete map elementbpf_map_delete_elem(map, key)Remove entry from a map
πŸ› Print debug messagebpf_trace_printk(fmt, fmt_size, ...)Print formatted message to trace log
⏱️ Get monotonic timebpf_ktime_get_ns()Nanoseconds since boot (excl. suspend)
πŸ‘€ Get current PID/TGIDbpf_get_current_pid_tgid()64-bit: tgid

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-16 09:53 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!