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

sonet.h (469B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* sonet.h - SONET/SHD physical layer control */
      3#ifndef LINUX_SONET_H
      4#define LINUX_SONET_H
      5
      6
      7#include <linux/atomic.h>
      8#include <uapi/linux/sonet.h>
      9
     10struct k_sonet_stats {
     11#define __HANDLE_ITEM(i) atomic_t i
     12	__SONET_ITEMS
     13#undef __HANDLE_ITEM
     14};
     15
     16extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to);
     17extern void sonet_subtract_stats(struct k_sonet_stats *from,
     18    struct sonet_stats *to);
     19
     20#endif