Merge tag 'kbuild-fixes-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/masah...
[linux-block.git] / include / linux / sonet.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4 2/* sonet.h - SONET/SHD physical layer control */
1da177e4
LT
3#ifndef LINUX_SONET_H
4#define LINUX_SONET_H
5
1da177e4 6
60063497 7#include <linux/atomic.h>
607ca46e 8#include <uapi/linux/sonet.h>
1da177e4
LT
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