Back to home page

OSCL-LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-03-06 09:18:41  
folder benchs/ - 2025-03-06 09:18:40  
folder bpf_testmod/ - 2025-03-06 09:18:40  
folder gnu/ - 2025-03-06 09:18:40  
folder map_tests/ - 2025-03-06 09:18:40  
folder prog_tests/ - 2025-03-06 09:18:40  
folder progs/ - 2025-03-06 09:18:40  
folder verifier/ - 2025-03-06 09:18:40  
bench.c 18792 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
bench.h 2519 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
bpf_legacy.h 519 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
bpf_rand.h 3169 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
bpf_sockopt_helpers.h 457 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
bpf_tcp_helpers.h 6711 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
bpf_util.h 1041 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
btf_helpers.c 6991 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
btf_helpers.h 608 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
cap_helpers.c 1539 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
cap_helpers.h 360 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
cgroup_helpers.c 10951 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
cgroup_helpers.h 793 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
config 1352 bytes 2025-03-06 09:18:40 -  
config.s390x 3219 bytes 2025-03-06 09:18:40 -  
config.x86_64 5776 bytes 2025-03-06 09:18:40 -  
DENYLIST 165 bytes 2025-03-06 09:18:40 -  
DENYLIST.s390x 7768 bytes 2025-03-06 09:18:40 -  
flow_dissector_load.c 2349 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
flow_dissector_load.h 1403 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
get_cgroup_id_user.c 3838 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
ima_setup.sh 3339 bytes 2025-03-06 09:18:40 2025-03-06 13:40:28  
Makefile 23794 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
Makefile.docs 2239 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
netcnt_common.h 910 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
network_helpers.c 10204 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
network_helpers.h 1954 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
README.rst 9112 bytes 2025-03-06 09:18:40 -  
sdt-config.h 276 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29

includes/sys/.

sdt.h 22442 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29

sys/> - Systemtap static probe definition macros. This file is dedicated to the public domain, pursuant to CC0 (https://creativecommons.org/publicdomain/zero/1.0/)

settings 10 bytes 2025-03-06 09:18:40 -  
test_bpftool.py 5447 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_bpftool.sh 415 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_bpftool_build.sh 3992 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_bpftool_metadata.sh 1597 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_bpftool_synctypes.py 21657 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_btf.h 2829 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_cgroup_storage.c 4816 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_cpp.cpp 2509 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_dev_cgroup.c 2094 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_doc_build.sh 638 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_flow_dissector.c 18626 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29

Inject packets with all sorts of encapsulation into the kernel. IPv4/IPv6 outer layer 3 GRE/GUE/BARE outer layer 4, where bare is IPIP/SIT/IPv4-in-IPv6/.. IPv4/IPv6 inner layer 3

test_flow_dissector.sh 5213 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_ftrace.sh 701 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_iptunnel_common.h 457 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_kmod.sh 1318 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_lirc_mode2.sh 764 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_lirc_mode2_user.c 4434 bytes 2025-03-06 09:18:40 2025-03-06 13:40:29  
test_lpm_map.c 23627 bytes 2025-03-06 09:18:40 2025-03-06 13:40:30

Randomized tests for eBPF longest-prefix-match maps This program runs randomized tests against the lpm-bpf-map.

test_lru_map.c 23619 bytes 2025-03-06 09:18:40 2025-03-06 13:40:30  
test_lwt_ip_encap.sh 14931 bytes 2025-03-06 09:18:40 2025-03-06 13:40:30  
test_lwt_seg6local.sh 6258 bytes 2025-03-06 09:18:40 2025-03-06 13:40:30  
test_maps.c 50829 bytes 2025-03-06 09:18:40 2025-03-06 13:40:30  
test_maps.h 350 bytes 2025-03-06 09:18:40 2025-03-06 13:40:30  
test_offload.py 51878 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_progs.c 39015 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_progs.h 10523 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_select_reuseport_common.h 587 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_skb_cgroup_id.sh 1349 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_skb_cgroup_id_user.c 3623 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_sock.c 13301 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_sock_addr.c 31380 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_sock_addr.sh 1105 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_sockmap.c 45347 bytes 2025-03-06 09:18:40 2025-03-06 13:40:31  
test_sysctl.c 41072 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tag.c 4417 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tc_edt.sh 2784 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tc_tunnel.sh 7671 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tcp_check_syncookie.sh 1740 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tcp_check_syncookie_user.c 6299 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tcp_hdr_options.h 3395 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tcpbpf.h 434 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tcpnotify.h 273 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tcpnotify_user.c 3799 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_tunnel.sh 16925 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_verifier.c 47432 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_verifier_log.c 3984 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_xdp_meta.sh 1472 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_xdp_redirect.sh 1835 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_xdp_redirect_multi.sh 6321 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_xdp_veth.sh 3282 bytes 2025-03-06 09:18:40 2025-03-06 13:40:32  
test_xdp_vlan.sh 6009 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
test_xdp_vlan_mode_generic.sh 186 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
test_xdp_vlan_mode_native.sh 180 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
test_xdping.sh 2172 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
test_xsk.sh 4724 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
testing_helpers.c 4785 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
testing_helpers.h 810 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
trace_helpers.c 4356 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
trace_helpers.h 521 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
urandom_read.c 1985 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
urandom_read_aux.c 286 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
urandom_read_lib1.c 411 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
urandom_read_lib2.c 265 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
vmtest.sh 9925 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
with_addr.sh 1296 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
with_tunnels.sh 693 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
xdp_redirect_multi.c 5276 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
xdp_synproxy.c 10925 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
xdping.c 5873 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
xdping.h 283 bytes 2025-03-06 09:18:40 2025-03-06 13:40:33  
xsk.c 28987 bytes 2025-03-06 09:18:40 2025-03-06 13:40:34  
xsk.h 8461 bytes 2025-03-06 09:18:40 2025-03-06 13:40:34  
xsk_prereqs.sh 1787 bytes 2025-03-06 09:18:40 2025-03-06 13:40:34  
xskxceiver.c 44564 bytes 2025-03-06 09:18:40 2025-03-06 13:40:34

Some functions in this program are taken from Linux kernel samples/bpf/xdpsock* and modified for use.

xskxceiver.h 3781 bytes 2025-03-06 09:18:40 2025-03-06 13:40:34