]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/sonet.h
Merge tag 'writeback-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg...
[mirror_ubuntu-bionic-kernel.git] / include / linux / sonet.h
CommitLineData
1da177e4 1/* sonet.h - SONET/SHD physical layer control */
1da177e4
LT
2#ifndef LINUX_SONET_H
3#define LINUX_SONET_H
4
1da177e4 5
60063497 6#include <linux/atomic.h>
607ca46e 7#include <uapi/linux/sonet.h>
1da177e4
LT
8
9struct k_sonet_stats {
10#define __HANDLE_ITEM(i) atomic_t i
11 __SONET_ITEMS
12#undef __HANDLE_ITEM
13};
14
15extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to);
16extern void sonet_subtract_stats(struct k_sonet_stats *from,
17 struct sonet_stats *to);
18
19#endif