Docs.rs
bpf-sys-2.1.0
bpf-sys 2.1.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
rahulpowar
rsdy
alessandrod
Dependencies
glob ^0.3.0
normal
libc ^0.2
normal
regex ^1.5
normal
zero ^0.1
normal
bindgen ^0.59.1
build
cc ^1.0
build
glob ^0.3.0
build
libc ^0.2
build
Versions
0.36%
of the crate is documented
Go to latest version
Platform
x86_64-apple-darwin
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module perf_reader
Structs
Constants
Functions
Type Definitions
Unions
?
Module
bpf_sys
::
perf_reader
[
−
]
[src]
Structs
__BindgenBitfieldUnit
__IncompleteArrayField
__fsid_t
__kernel_fsid_t
__locale_data
__locale_struct
__sk_buff
bpf_attr__bindgen_ty_1
bpf_attr__bindgen_ty_2
bpf_attr__bindgen_ty_3
bpf_attr__bindgen_ty_4
bpf_attr__bindgen_ty_5
bpf_attr__bindgen_ty_6
bpf_attr__bindgen_ty_7
bpf_attr__bindgen_ty_8
bpf_attr__bindgen_ty_9
bpf_attr__bindgen_ty_10
bpf_attr__bindgen_ty_11
bpf_attr__bindgen_ty_12
bpf_attr__bindgen_ty_13
bpf_attr__bindgen_ty_14
bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_1
bpf_attr__bindgen_ty_15
bpf_attr__bindgen_ty_16
bpf_attr__bindgen_ty_17
bpf_attr__bindgen_ty_18
bpf_attr__bindgen_ty_19
bpf_btf_info
bpf_cgroup_dev_ctx
bpf_cgroup_storage_key
bpf_cpumap_val
bpf_create_map_attr
bpf_devmap_val
bpf_fib_lookup
bpf_flow_keys
bpf_flow_keys__bindgen_ty_1__bindgen_ty_1
bpf_flow_keys__bindgen_ty_1__bindgen_ty_2
bpf_func_info
bpf_insn
bpf_iter_link_info__bindgen_ty_1
bpf_line_info
bpf_link_create_opts
bpf_link_info
bpf_link_info__bindgen_ty_1__bindgen_ty_1
bpf_link_info__bindgen_ty_1__bindgen_ty_2
bpf_link_info__bindgen_ty_1__bindgen_ty_3
bpf_link_info__bindgen_ty_1__bindgen_ty_4
bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1__bindgen_ty_1
bpf_link_info__bindgen_ty_1__bindgen_ty_5
bpf_link_info__bindgen_ty_1__bindgen_ty_6
bpf_link_update_opts
bpf_load_program_attr
bpf_lpm_trie_key
bpf_map_batch_opts
bpf_map_info
bpf_perf_event_value
bpf_pidns_info
bpf_prog_attach_opts
bpf_prog_bind_opts
bpf_prog_info
bpf_prog_test_run_attr
bpf_raw_tracepoint_args
bpf_redir_neigh
bpf_sk_lookup
bpf_sock
bpf_sock_addr
bpf_sock_ops
bpf_sock_tuple
bpf_sock_tuple__bindgen_ty_1__bindgen_ty_1
bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2
bpf_sockopt
bpf_spin_lock
bpf_stack_build_id
bpf_sysctl
bpf_tcp_sock
bpf_test_run_opts
bpf_timer
bpf_tunnel_key
bpf_xdp_sock
bpf_xfrm_state
btf_ptr
list_head
max_align_t
sk_msg_md
sk_reuseport_md
xdp_md
Constants
BPF_ABS
BPF_ADD
BPF_ADJ_ROOM_ENCAP_L2_MASK
BPF_ADJ_ROOM_ENCAP_L2_SHIFT
BPF_ALU
BPF_ALU64
BPF_AND
BPF_ANY
BPF_ARSH
BPF_ATOMIC
BPF_B
BPF_BUILD_ID_SIZE
BPF_CALL
BPF_CMPXCHG
BPF_CSUM_LEVEL_DEC
BPF_CSUM_LEVEL_INC
BPF_CSUM_LEVEL_QUERY
BPF_CSUM_LEVEL_RESET
BPF_DEVCG_ACC_MKNOD
BPF_DEVCG_ACC_READ
BPF_DEVCG_ACC_WRITE
BPF_DEVCG_DEV_BLOCK
BPF_DEVCG_DEV_CHAR
BPF_DIV
BPF_DW
BPF_END
BPF_EXIST
BPF_EXIT
BPF_FETCH
BPF_FIB_LKUP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EW_SYN_RECV
BPF_TCP_SYN_RECV
BPF_TCP_SYN_SENT
BPF_TCP_TIME_WAIT
BPF_TO_BE
BPF_TO_LE
BPF_W
BPF_WRITE_HDR_TCP_CURRENT_MSS
BPF_WRITE_HDR_TCP_SYNACK_COOKIE
BPF_X
BPF_XADD
BPF_XCHG
BPF_XOR
BTF_F_COMPACT
BTF_F_NONAME
BTF_F_PTR_RAW
BTF_F_ZERO
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
MAPS_RELAX_COMPAT
PTRDIFF_MAX
PTRDIFF_MIN
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
TCP_BPF_DELACK_MAX
TCP_BPF_IW
TCP_BPF_RTO_MIN
TCP_BPF_SNDCWND_CLAMP
TCP_BPF_SYN
TCP_BPF_SYN_IP
TCP_BPF_SYN_MAC
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WINT_MAX
WINT_MIN
XDP_PACKET_HEADROOM
_ATFILE_SOURCE
_BITS_STDINT_INTN_H
_BITS_STDINT_UINTN_H
_BITS_TIME64_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_TYPES_LOCALE_T_H
_BITS_TYPES___LOCALE_T_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_FEATURES_H
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_STRINGS_H
_STRING_H
_SYS_CDEFS_H
__BITS_PER_LONG
__FD_SETSIZE
__GLIBC_MINOR__
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__LONG_DOUBLE_USES_FLOAT128
__MAX_BPF_REG
__OFF_T_MATCHES_OFF64_T
__RLIM_T_MATCHES_RLIM64_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__bool_true_false_are_defined
__glibc_c99_flexarr_available
bpf_adj_room_mode_BPF_ADJ_ROOM_MAC
bpf_adj_room_mode_BPF_ADJ_ROOM_NET
bpf_attach_type_BPF_CGROUP_DEVICE
bpf_attach_type_BPF_CGROUP_GETSOCKOPT
bpf_attach_type_BPF_CGROUP_INET4_BIND
bpf_attach_type_BPF_CGROUP_INET4_CONNECT
bpf_attach_type_BPF_CGROUP_INET4_GETPEERNAME
bpf_attach_type_BPF_CGROUP_INET4_GETSOCKNAME
bpf_attach_type_BPF_CGROUP_INET4_POST_BIND
bpf_attach_type_BPF_CGROUP_INET6_BIND
bpf_attach_type_BPF_CGROUP_INET6_CONNECT
bpf_attach_type_BPF_CGROUP_INET6_GETPEERNAME
bpf_attach_type_BPF_CGROUP_INET6_GETSOCKNAME
bpf_attach_type_BPF_CGROUP_INET6_POST_BIND
bpf_attach_type_BPF_CGROUP_INET_EGRESS
bpf_attach_type_BPF_CGROUP_INET_INGRESS
bpf_attach_type_BPF_CGROUP_INET_SOCK_CREATE
bpf_attach_type_BPF_CGROUP_INET_SOCK_RELEASE
bpf_attach_type_BPF_CGROUP_SETSOCKOPT
bpf_attach_type_BPF_CGROUP_SOCK_OPS
bpf_attach_type_BPF_CGROUP_SYSCTL
bpf_attach_type_BPF_CGROUP_UDP4_RECVMSG
bpf_attach_type_BPF_CGROUP_UDP4_SENDMSG
bpf_attach_type_BPF_CGROUP_UDP6_RECVMSG
bpf_attach_type_BPF_CGROUP_UDP6_SENDMSG
bpf_attach_type_BPF_FLOW_DISSECTOR
bpf_attach_type_BPF_LIRC_MODE2
bpf_attach_type_BPF_LSM_MAC
bpf_attach_type_BPF_MODIFY_RETURN
bpf_attach_type_BPF_SK_LOOKUP
bpf_attach_type_BPF_SK_MSG_VERDICT
bpf_attach_type_BPF_SK_REUSEPORT_SELECT
bpf_attach_type_BPF_SK_REUSEPORT_SELECT_OR_MIGRATE
bpf_attach_type_BPF_SK_SKB_STREAM_PARSER
bpf_attach_type_BPF_SK_SKB_STREAM_VERDICT
bpf_attach_type_BPF_SK_SKB_VERDICT
bpf_attach_type_BPF_TRACE_FENTRY
bpf_attach_type_BPF_TRACE_FEXIT
bpf_attach_type_BPF_TRACE_ITER
bpf_attach_type_BPF_TRACE_RAW_TP
bpf_attach_type_BPF_XDP
bpf_attach_type_BPF_XDP_CPUMAP
bpf_attach_type_BPF_XDP_DEVMAP
bpf_attach_type___MAX_BPF_ATTACH_TYPE
bpf_check_mtu_flags_BPF_MTU_CHK_SEGS
bpf_check_mtu_ret_BPF_MTU_CHK_RET_FRAG_NEEDED
bpf_check_mtu_ret_BPF_MTU_CHK_RET_SEGS_TOOBIG
bpf_check_mtu_ret_BPF_MTU_CHK_RET_SUCCESS
bpf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u
bpf_func_id_BPF_FUNC_clone_redirect
bpf_func_id_BPF_FUNC_copy_from_user
bpf_func_id_BPF_FUNC_csum_diff
bpf_func_id_BPF_FUNC_csum_level
bpf_func_id_BPF_FUNC_csum_update
bpf_func_id_BPF_FUNC_current_task_under_cgroup
bpf_func_id_BPF_FUNC_d_path
bpf_func_id_BPF_FUNC_fib_lookup
bpf_func_id_BPF_FUNC_for_each_map_elem
bpf_func_id_BPF_FUNC_get_cgroup_classid
bpf_func_id_BPF_FUNC_get_current_ancestor_cgroup_id
bpf_func_id_BPF_FUNC_get_current_cgroup_id
bpf_func_id_BPF_FUNC_get_current_comm
bpf_func_id_BPF_FUNC_get_current_pid_tgid
bpf_func_id_BPF_FUNC_get_current_task
bpf_func_id_BPF_FUNC_get_current_task_btf
bpf_func_id_BPF_FUNC_get_current_uid_gid
bpf_func_id_BPF_FUNC_get_func_ip
bpf_func_id_BPF_FUNC_get_hash_recalc
bpf_func_id_BPF_FUNC_get_listener_sock
bpf_func_id_BPF_FUNC_get_local_storage
bpf_func_id_BPF_FUNC_get_netns_cookie
bpf_func_id_BPF_FUNC_get_ns_current_pid_tgid
bpf_func_id_BPF_FUNC_get_numa_node_id
bpf_func_id_BPF_FUNC_get_prandom_u32
bpf_func_id_BPF_FUNC_get_route_realm
bpf_func_id_BPF_FUNC_get_smp_processor_id
bpf_func_id_BPF_FUNC_get_socket_cookie
bpf_func_id_BPF_FUNC_get_socket_uid
bpf_func_id_BPF_FUNC_get_stack
bpf_func_id_BPF_FUNC_get_stackid
bpf_func_id_BPF_FUNC_get_task_stack
bpf_func_id_BPF_FUNC_getsockopt
bpf_func_id_BPF_FUNC_ima_inode_hash
bpf_func_id_BPF_FUNC_inode_storage_delete
bpf_func_id_BPF_FUNC_inode_storage_get
bpf_func_id_BPF_FUNC_jiffies64
bpf_func_id_BPF_FUNC_ktime_get_boot_ns
bpf_func_id_BPF_FUNC_ktime_get_coarse_ns
bpf_func_id_BPF_FUNC_ktime_get_ns
bpf_func_id_BPF_FUNC_l3_csum_replace
bpf_func_id_BPF_FUNC_l4_csum_replace
bpf_func_id_BPF_FUNC_load_hdr_opt
bpf_func_id_BPF_FUNC_lwt_push_encap
bpf_func_id_BPF_FUNC_lwt_seg6_action
bpf_func_id_BPF_FUNC_lwt_seg6_adjust_srh
bpf_func_id_BPF_FUNC_lwt_seg6_store_bytes
bpf_func_id_BPF_FUNC_map_delete_elem
bpf_func_id_BPF_FUNC_map_lookup_elem
bpf_func_id_BPF_FUNC_map_peek_elem
bpf_func_id_BPF_FUNC_map_pop_elem
bpf_func_id_BPF_FUNC_map_push_elem
bpf_func_id_BPF_FUNC_map_update_elem
bpf_func_id_BPF_FUNC_msg_apply_bytes
bpf_func_id_BPF_FUNC_msg_cork_bytes
bpf_func_id_BPF_FUNC_msg_pop_data
bpf_func_id_BPF_FUNC_msg_pull_data
bpf_func_id_BPF_FUNC_msg_push_data
bpf_func_id_BPF_FUNC_msg_redirect_hash
bpf_func_id_BPF_FUNC_msg_redirect_map
bpf_func_id_BPF_FUNC_override_return
bpf_func_id_BPF_FUNC_per_cpu_ptr
bpf_func_id_BPF_FUNC_perf_event_output
bpf_func_id_BPF_FUNC_perf_event_read
bpf_func_id_BPF_FUNC_perf_event_read_value
bpf_func_id_BPF_FUNC_perf_prog_read_value
bpf_func_id_BPF_FUNC_probe_read
bpf_func_id_BPF_FUNC_probe_read_kernel
bpf_func_id_BPF_FUNC_probe_read_kernel_str
bpf_func_id_BPF_FUNC_probe_read_str
bpf_func_id_BPF_FUNC_probe_read_user
bpf_func_id_BPF_FUNC_probe_read_user_str
bpf_func_id_BPF_FUNC_probe_write_user
bpf_func_id_BPF_FUNC_rc_keydown
bpf_func_id_BPF_FUNC_rc_pointer_rel
bpf_func_id_BPF_FUNC_rc_repeat
bpf_func_id_BPF_FUNC_read_branch_records
bpf_func_id_BPF_FUNC_redirect
bpf_func_id_BPF_FUNC_redirect_map
bpf_func_id_BPF_FUNC_redirect_neigh
bpf_func_id_BPF_FUNC_redirect_peer
bpf_func_id_BPF_FUNC_reserve_hdr_opt
bpf_func_id_BPF_FUNC_ringbuf_discard
bpf_func_id_BPF_FUNC_ringbuf_output
bpf_func_id_BPF_FUNC_ringbuf_query
bpf_func_id_BPF_FUNC_ringbuf_reserve
bpf_func_id_BPF_FUNC_ringbuf_submit
bpf_func_id_BPF_FUNC_send_signal
bpf_func_id_BPF_FUNC_send_signal_thread
bpf_func_id_BPF_FUNC_seq_printf
bpf_func_id_BPF_FUNC_seq_printf_btf
bpf_func_id_BPF_FUNC_seq_write
bpf_func_id_BPF_FUNC_set_hash
bpf_func_id_BPF_FUNC_set_hash_invalid
bpf_func_id_BPF_FUNC_setsockopt
bpf_func_id_BPF_FUNC_sk_ancestor_cgroup_id
bpf_func_id_BPF_FUNC_sk_assign
bpf_func_id_BPF_FUNC_sk_cgroup_id
bpf_func_id_BPF_FUNC_sk_fullsock
bpf_func_id_BPF_FUNC_sk_lookup_tcp
bpf_func_id_BPF_FUNC_sk_lookup_udp
bpf_func_id_BPF_FUNC_sk_redirect_hash
bpf_func_id_BPF_FUNC_sk_redirect_map
bpf_func_id_BPF_FUNC_sk_release
bpf_func_id_BPF_FUNC_sk_select_reuseport
bpf_func_id_BPF_FUNC_sk_storage_delete
bpf_func_id_BPF_FUNC_sk_storage_get
bpf_func_id_BPF_FUNC_skb_adjust_room
bpf_func_id_BPF_FUNC_skb_ancestor_cgroup_id
bpf_func_id_BPF_FUNC_skb_cgroup_classid
bpf_func_id_BPF_FUNC_skb_cgroup_id
bpf_func_id_BPF_FUNC_skb_change_head
bpf_func_id_BPF_FUNC_skb_change_proto
bpf_func_id_BPF_FUNC_skb_change_tail
bpf_func_id_BPF_FUNC_skb_change_type
bpf_func_id_BPF_FUNC_skb_ecn_set_ce
bpf_func_id_BPF_FUNC_skb_get_tunnel_key
bpf_func_id_BPF_FUNC_skb_get_tunnel_opt
bpf_func_id_BPF_FUNC_skb_get_xfrm_state
bpf_func_id_BPF_FUNC_skb_load_bytes
bpf_func_id_BPF_FUNC_skb_load_bytes_relative
bpf_func_id_BPF_FUNC_skb_output
bpf_func_id_BPF_FUNC_skb_pull_data
bpf_func_id_BPF_FUNC_skb_set_tunnel_key
bpf_func_id_BPF_FUNC_skb_set_tunnel_opt
bpf_func_id_BPF_FUNC_skb_store_bytes
bpf_func_id_BPF_FUNC_skb_under_cgroup
bpf_func_id_BPF_FUNC_skb_vlan_pop
bpf_func_id_BPF_FUNC_skb_vlan_push
bpf_func_id_BPF_FUNC_skc_lookup_tcp
bpf_func_id_BPF_FUNC_skc_to_tcp6_sock
bpf_func_id_BPF_FUNC_skc_to_tcp_request_sock
bpf_func_id_BPF_FUNC_skc_to_tcp_sock
bpf_func_id_BPF_FUNC_skc_to_tcp_timewait_sock
bpf_func_id_BPF_FUNC_skc_to_udp6_sock
bpf_func_id_BPF_FUNC_snprintf
bpf_func_id_BPF_FUNC_snprintf_btf
bpf_func_id_BPF_FUNC_sock_from_file
bpf_func_id_BPF_FUNC_sock_hash_update
bpf_func_id_BPF_FUNC_sock_map_update
bpf_func_id_BPF_FUNC_sock_ops_cb_flags_set
bpf_func_id_BPF_FUNC_spin_lock
bpf_func_id_BPF_FUNC_spin_unlock
bpf_func_id_BPF_FUNC_store_hdr_opt
bpf_func_id_BPF_FUNC_strtol
bpf_func_id_BPF_FUNC_strtoul
bpf_func_id_BPF_FUNC_sys_bpf
bpf_func_id_BPF_FUNC_sys_close
bpf_func_id_BPF_FUNC_sysctl_get_current_value
bpf_func_id_BPF_FUNC_sysctl_get_name
bpf_func_id_BPF_FUNC_sysctl_get_new_value
bpf_func_id_BPF_FUNC_sysctl_set_new_value
bpf_func_id_BPF_FUNC_tail_call
bpf_func_id_BPF_FUNC_task_storage_delete
bpf_func_id_BPF_FUNC_task_storage_get
bpf_func_id_BPF_FUNC_tcp_check_syncookie
bpf_func_id_BPF_FUNC_tcp_gen_syncookie
bpf_func_id_BPF_FUNC_tcp_send_ack
bpf_func_id_BPF_FUNC_tcp_sock
bpf_func_id_BPF_FUNC_this_cpu_ptr
bpf_func_id_BPF_FUNC_timer_cancel
bpf_func_id_BPF_FUNC_timer_init
bpf_func_id_BPF_FUNC_timer_set_callback
bpf_func_id_BPF_FUNC_timer_start
bpf_func_id_BPF_FUNC_trace_printk
bpf_func_id_BPF_FUNC_unspec
bpf_func_id_BPF_FUNC_xdp_adjust_head
bpf_func_id_BPF_FUNC_xdp_adjust_meta
bpf_func_id_BPF_FUNC_xdp_adjust_tail
bpf_func_id_BPF_FUNC_xdp_output
bpf_func_id___BPF_FUNC_MAX_ID
bpf_hdr_start_off_BPF_HDR_START_MAC
bpf_hdr_start_off_BPF_HDR_START_NET
bpf_link_type_BPF_LINK_TYPE_CGROUP
bpf_link_type_BPF_LINK_TYPE_ITER
bpf_link_type_BPF_LINK_TYPE_NETNS
bpf_link_type_BPF_LINK_TYPE_RAW_TRACEPOINT
bpf_link_type_BPF_LINK_TYPE_TRACING
bpf_link_type_BPF_LINK_TYPE_UNSPEC
bpf_link_type_BPF_LINK_TYPE_XDP
bpf_link_type_MAX_BPF_LINK_TYPE
bpf_lwt_encap_mode_BPF_LWT_ENCAP_IP
bpf_lwt_encap_mode_BPF_LWT_ENCAP_SEG6
bpf_lwt_encap_mode_BPF_LWT_ENCAP_SEG6_INLINE
bpf_map_type_BPF_MAP_TYPE_ARRAY
bpf_map_type_BPF_MAP_TYPE_ARRAY_OF_MAPS
bpf_map_type_BPF_MAP_TYPE_CGROUP_ARRAY
bpf_map_type_BPF_MAP_TYPE_CGROUP_STORAGE
bpf_map_type_BPF_MAP_TYPE_CPUMAP
bpf_map_type_BPF_MAP_TYPE_DEVMAP
bpf_map_type_BPF_MAP_TYPE_DEVMAP_HASH
bpf_map_type_BPF_MAP_TYPE_HASH
bpf_map_type_BPF_MAP_TYPE_HASH_OF_MAPS
bpf_map_type_BPF_MAP_TYPE_INODE_STORAGE
bpf_map_type_BPF_MAP_TYPE_LPM_TRIE
bpf_map_type_BPF_MAP_TYPE_LRU_HASH
bpf_map_type_BPF_MAP_TYPE_LRU_PERCPU_HASH
bpf_map_type_BPF_MAP_TYPE_PERCPU_ARRAY
bpf_map_type_BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE
bpf_map_type_BPF_MAP_TYPE_PERCPU_HASH
bpf_map_type_BPF_MAP_TYPE_PERF_EVENT_ARRAY
bpf_map_type_BPF_MAP_TYPE_PROG_ARRAY
bpf_map_type_BPF_MAP_TYPE_QUEUE
bpf_map_type_BPF_MAP_TYPE_REUSEPORT_SOCKARRAY
bpf_map_type_BPF_MAP_TYPE_RINGBUF
bpf_map_type_BPF_MAP_TYPE_SK_STORAGE
bpf_map_type_BPF_MAP_TYPE_SOCKHASH
bpf_map_type_BPF_MAP_TYPE_SOCKMAP
bpf_map_type_BPF_MAP_TYPE_STACK
bpf_map_type_BPF_MAP_TYPE_STACK_TRACE
bpf_map_type_BPF_MAP_TYPE_STRUCT_OPS
bpf_map_type_BPF_MAP_TYPE_TASK_STORAGE
bpf_map_type_BPF_MAP_TYPE_UNSPEC
bpf_map_type_BPF_MAP_TYPE_XSKMAP
bpf_prog_type_BPF_PROG_TYPE_CGROUP_DEVICE
bpf_prog_type_BPF_PROG_TYPE_CGROUP_SKB
bpf_prog_type_BPF_PROG_TYPE_CGROUP_SOCK
bpf_prog_type_BPF_PROG_TYPE_CGROUP_SOCKOPT
bpf_prog_type_BPF_PROG_TYPE_CGROUP_SOCK_ADDR
bpf_prog_type_BPF_PROG_TYPE_CGROUP_SYSCTL
bpf_prog_type_BPF_PROG_TYPE_EXT
bpf_prog_type_BPF_PROG_TYPE_FLOW_DISSECTOR
bpf_prog_type_BPF_PROG_TYPE_KPROBE
bpf_prog_type_BPF_PROG_TYPE_LIRC_MODE2
bpf_prog_type_BPF_PROG_TYPE_LSM
bpf_prog_type_BPF_PROG_TYPE_LWT_IN
bpf_prog_type_BPF_PROG_TYPE_LWT_OUT
bpf_prog_type_BPF_PROG_TYPE_LWT_SEG6LOCAL
bpf_prog_type_BPF_PROG_TYPE_LWT_XMIT
bpf_prog_type_BPF_PROG_TYPE_PERF_EVENT
bpf_prog_type_BPF_PROG_TYPE_RAW_TRACEPOINT
bpf_prog_type_BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE
bpf_prog_type_BPF_PROG_TYPE_SCHED_ACT
bpf_prog_type_BPF_PROG_TYPE_SCHED_CLS
bpf_prog_type_BPF_PROG_TYPE_SK_LOOKUP
bpf_prog_type_BPF_PROG_TYPE_SK_MSG
bpf_prog_type_BPF_PROG_TYPE_SK_REUSEPORT
bpf_prog_type_BPF_PROG_TYPE_SK_SKB
bpf_prog_type_BPF_PROG_TYPE_SOCKET_FILTER
bpf_prog_type_BPF_PROG_TYPE_SOCK_OPS
bpf_prog_type_BPF_PROG_TYPE_STRUCT_OPS
bpf_prog_type_BPF_PROG_TYPE_SYSCALL
bpf_prog_type_BPF_PROG_TYPE_TRACEPOINT
bpf_prog_type_BPF_PROG_TYPE_TRACING
bpf_prog_type_BPF_PROG_TYPE_UNSPEC
bpf_prog_type_BPF_PROG_TYPE_XDP
bpf_ret_code_BPF_DROP
bpf_ret_code_BPF_LWT_REROUTE
bpf_ret_code_BPF_OK
bpf_ret_code_BPF_REDIRECT
bpf_stack_build_id_status_BPF_STACK_BUILD_ID_EMPTY
bpf_stack_build_id_status_BPF_STACK_BUILD_ID_IP
bpf_stack_build_id_status_BPF_STACK_BUILD_ID_VALID
bpf_stats_type_BPF_STATS_RUN_TIME
bpf_task_fd_type_BPF_FD_TYPE_KPROBE
bpf_task_fd_type_BPF_FD_TYPE_KRETPROBE
bpf_task_fd_type_BPF_FD_TYPE_RAW_TRACEPOINT
bpf_task_fd_type_BPF_FD_TYPE_TRACEPOINT
bpf_task_fd_type_BPF_FD_TYPE_UPROBE
bpf_task_fd_type_BPF_FD_TYPE_URETPROBE
false_
sk_action_SK_DROP
sk_action_SK_PASS
true_
xdp_action_XDP_ABORTED
xdp_action_XDP_DROP
xdp_action_XDP_PASS
xdp_action_XDP_REDIRECT
xdp_action_XDP_TX
Functions
__stpcpy
⚠
__stpncpy
⚠
__strtok_r
⚠
bcmp
⚠
bcopy
⚠
bpf_btf_get_fd_by_id
⚠
bpf_btf_get_next_id
⚠
bpf_create_map
⚠
bpf_create_map_in_map
⚠
bpf_create_map_in_map_node
⚠
bpf_create_map_name
⚠
bpf_create_map_node
⚠
bpf_create_map_xattr
⚠
bpf_enable_stats
⚠
bpf_iter_create
⚠
bpf_link_create
⚠
bpf_link_detach
⚠
bpf_link_get_fd_by_id
⚠
bpf_link_get_next_id
⚠
bpf_link_update
⚠
bpf_load_btf
⚠
bpf_load_program
⚠
bpf_load_program_xattr
⚠
bpf_map_delete_batch
⚠
bpf_map_delete_elem
⚠
bpf_map_freeze
⚠
bpf_map_get_fd_by_id
⚠
bpf_map_get_next_id
⚠
bpf_map_get_next_key
⚠
bpf_map_lookup_and_delete_batch
⚠
bpf_map_lookup_and_delete_elem
⚠
bpf_map_lookup_and_delete_elem_flags
⚠
bpf_map_lookup_batch
⚠
bpf_map_lookup_elem
⚠
bpf_map_lookup_elem_flags
⚠
bpf_map_update_batch
⚠
bpf_map_update_elem
⚠
bpf_obj_get
⚠
bpf_obj_get_info_by_fd
⚠
bpf_obj_pin
⚠
bpf_prog_attach
⚠
bpf_prog_attach_xattr
⚠
bpf_prog_bind_map
⚠
bpf_prog_detach
⚠
bpf_prog_detach2
⚠
bpf_prog_get_fd_by_id
⚠
bpf_prog_get_next_id
⚠
bpf_prog_query
⚠
bpf_prog_test_run
⚠
bpf_prog_test_run_opts
⚠
bpf_prog_test_run_xattr
⚠
bpf_raw_tracepoint_open
⚠
bpf_task_fd_query
⚠
bpf_verify_program
⚠
bzero
⚠
explicit_bzero
⚠
ffs
⚠
ffsl
⚠
ffsll
⚠
index
⚠
memccpy
⚠
memchr
⚠
memcmp
⚠
memcpy
⚠
memmove
⚠
memset
⚠
rindex
⚠
stpcpy
⚠
stpncpy
⚠
strcasecmp
⚠
strcasecmp_l
⚠
strcat
⚠
strchr
⚠
strcmp
⚠
strcoll
⚠
strcoll_l
⚠
strcpy
⚠
strcspn
⚠
strdup
⚠
strerror
⚠
strerror_l
⚠
strerror_r
⚠
strlen
⚠
strncasecmp
⚠
strncasecmp_l
⚠
strncat
⚠
strncmp
⚠
strncpy
⚠
strndup
⚠
strnlen
⚠
strpbrk
⚠
strrchr
⚠
strsep
⚠
strsignal
⚠
strspn
⚠
strstr
⚠
strtok
⚠
strtok_r
⚠
strxfrm
⚠
strxfrm_l
⚠
Type Definitions
__be16
__be32
__be64
__blkcnt64_t
__blkcnt_t
__blksize_t
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__kernel_caddr_t
__kernel_clock_t
__kernel_clockid_t
__kernel_daddr_t
__kernel_gid16_t
__kernel_gid32_t
__kernel_gid_t
__kernel_ino_t
__kernel_ipc_pid_t
__kernel_loff_t
__kernel_long_t
__kernel_mode_t
__kernel_off_t
__kernel_old_dev_t
__kernel_old_gid_t
__kernel_old_uid_t
__kernel_pid_t
__kernel_ptrdiff_t
__kernel_size_t
__kernel_ssize_t
__kernel_suseconds_t
__kernel_time64_t
__kernel_time_t
__kernel_timer_t
__kernel_uid16_t
__kernel_uid32_t
__kernel_uid_t
__kernel_ulong_t
__key_t
__le16
__le32
__le64
__locale_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__quad_t
__rlim64_t
__rlim_t
__s8
__s16
__s32
__s64
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u8
__u16
__u32
__u64
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
_bindgen_ty_1
_bindgen_ty_2
_bindgen_ty_3
_bindgen_ty_4
_bindgen_ty_5
_bindgen_ty_6
_bindgen_ty_7
_bindgen_ty_8
_bindgen_ty_9
_bindgen_ty_10
_bindgen_ty_11
_bindgen_ty_12
_bindgen_ty_13
_bindgen_ty_14
_bindgen_ty_15
_bindgen_ty_16
_bindgen_ty_17
_bindgen_ty_18
_bindgen_ty_19
_bindgen_ty_20
_bindgen_ty_21
_bindgen_ty_22
_bindgen_ty_23
_bindgen_ty_24
_bindgen_ty_25
_bindgen_ty_26
_bindgen_ty_27
_bindgen_ty_28
_bindgen_ty_29
_bindgen_ty_30
_bindgen_ty_31
_bindgen_ty_32
_bindgen_ty_33
_bindgen_ty_34
_bindgen_ty_35
_bindgen_ty_36
bpf_adj_room_mode
bpf_attach_type
bpf_check_mtu_flags
bpf_check_mtu_ret
bpf_cmd
DOC: eBPF Syscall Preamble
bpf_func_id
bpf_hdr_start_off
bpf_link_type
bpf_lwt_encap_mode
bpf_map_type
bpf_prog_type
bpf_ret_code
bpf_stack_build_id_status
bpf_stats_type
bpf_task_fd_type
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
locale_t
size_t
sk_action
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
wchar_t
xdp_action
Unions
__sk_buff__bindgen_ty_1
__sk_buff__bindgen_ty_2
bpf_attr
bpf_attr__bindgen_ty_2__bindgen_ty_1
bpf_attr__bindgen_ty_4__bindgen_ty_1
bpf_attr__bindgen_ty_8__bindgen_ty_1
bpf_attr__bindgen_ty_14__bindgen_ty_1
bpf_attr__bindgen_ty_14__bindgen_ty_2
bpf_cpumap_val__bindgen_ty_1
bpf_create_map_attr__bindgen_ty_1
bpf_devmap_val__bindgen_ty_1
bpf_fib_lookup__bindgen_ty_1
bpf_fib_lookup__bindgen_ty_2
bpf_fib_lookup__bindgen_ty_3
bpf_fib_lookup__bindgen_ty_4
bpf_flow_keys__bindgen_ty_1
bpf_iter_link_info
bpf_link_info__bindgen_ty_1
bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1
bpf_load_program_attr__bindgen_ty_1
bpf_load_program_attr__bindgen_ty_2
bpf_redir_neigh__bindgen_ty_1
bpf_sk_lookup__bindgen_ty_1
bpf_sk_lookup__bindgen_ty_1__bindgen_ty_1
bpf_sock_addr__bindgen_ty_1
bpf_sock_ops__bindgen_ty_1
bpf_sock_ops__bindgen_ty_2
bpf_sock_ops__bindgen_ty_3
bpf_sock_ops__bindgen_ty_4
bpf_sock_tuple__bindgen_ty_1
bpf_sockopt__bindgen_ty_1
bpf_sockopt__bindgen_ty_2
bpf_sockopt__bindgen_ty_3
bpf_stack_build_id__bindgen_ty_1
bpf_tunnel_key__bindgen_ty_1
bpf_xfrm_state__bindgen_ty_1
sk_msg_md__bindgen_ty_1
sk_msg_md__bindgen_ty_2
sk_msg_md__bindgen_ty_3
sk_reuseport_md__bindgen_ty_1
sk_reuseport_md__bindgen_ty_2
sk_reuseport_md__bindgen_ty_3
sk_reuseport_md__bindgen_ty_4