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

net_trackers.h (424B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __NET_NET_TRACKERS_H
      3#define __NET_NET_TRACKERS_H
      4#include <linux/ref_tracker.h>
      5
      6#ifdef CONFIG_NET_DEV_REFCNT_TRACKER
      7typedef struct ref_tracker *netdevice_tracker;
      8#else
      9typedef struct {} netdevice_tracker;
     10#endif
     11
     12#ifdef CONFIG_NET_NS_REFCNT_TRACKER
     13typedef struct ref_tracker *netns_tracker;
     14#else
     15typedef struct {} netns_tracker;
     16#endif
     17
     18#endif /* __NET_NET_TRACKERS_H */