2005-04-16 16:20:36 -06:00
|
|
|
/* sonet.h - SONET/SHD physical layer control */
|
|
|
|
#ifndef LINUX_SONET_H
|
|
|
|
#define LINUX_SONET_H
|
|
|
|
|
|
|
|
|
2011-07-26 17:09:06 -06:00
|
|
|
#include <linux/atomic.h>
|
2012-10-13 03:46:48 -06:00
|
|
|
#include <uapi/linux/sonet.h>
|
2005-04-16 16:20:36 -06: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
|