M7350/kernel/include/linux/sonet.h

20 lines
430 B
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
/* sonet.h - SONET/SHD physical layer control */
#ifndef LINUX_SONET_H
#define LINUX_SONET_H
#include <linux/atomic.h>
2024-09-09 08:57:42 +00:00
#include <uapi/linux/sonet.h>
2024-09-09 08:52:07 +00:00
struct k_sonet_stats {
#define __HANDLE_ITEM(i) atomic_t i
__SONET_ITEMS
#undef __HANDLE_ITEM
};
extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to);
extern void sonet_subtract_stats(struct k_sonet_stats *from,
struct sonet_stats *to);
#endif