cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

test_tc_bpf.c (183B)


      1// SPDX-License-Identifier: GPL-2.0
      2
      3#include <linux/bpf.h>
      4#include <bpf/bpf_helpers.h>
      5
      6/* Dummy prog to test TC-BPF API */
      7
      8SEC("tc")
      9int cls(struct __sk_buff *skb)
     10{
     11	return 0;
     12}