https://github.com/torvalds/linux
Raw File
Tip revision: a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee authored by Linus Torvalds on 22 June 2014, 05:02:54 UTC
Linux 3.16-rc2
Tip revision: a497c3b
sonet.h
/* 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
back to top