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_xdp_link.c (289B)


      1// SPDX-License-Identifier: GPL-2.0
      2/* Copyright (c) 2020 Facebook */
      3#include <linux/bpf.h>
      4#include <bpf/bpf_helpers.h>
      5
      6char LICENSE[] SEC("license") = "GPL";
      7
      8SEC("xdp")
      9int xdp_handler(struct xdp_md *xdp)
     10{
     11	return 0;
     12}
     13
     14SEC("tc")
     15int tc_handler(struct __sk_buff *skb)
     16{
     17	return 0;
     18}