mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
607ca46e97
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
19 lines
430 B
C
19 lines
430 B
C
/* sonet.h - SONET/SHD physical layer control */
|
|
#ifndef LINUX_SONET_H
|
|
#define LINUX_SONET_H
|
|
|
|
|
|
#include <linux/atomic.h>
|
|
#include <uapi/linux/sonet.h>
|
|
|
|
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
|