1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* sonet.h - SONET/SHD physical layer control */
7 #include <linux/atomic.h>
8 #include <uapi/linux/sonet.h>
10 struct k_sonet_stats
{
11 #define __HANDLE_ITEM(i) atomic_t i
16 extern void sonet_copy_stats(struct k_sonet_stats
*from
,struct sonet_stats
*to
);
17 extern void sonet_subtract_stats(struct k_sonet_stats
*from
,
18 struct sonet_stats
*to
);