Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
sonet.h
Go to the documentation of this file.
1
/* sonet.h - SONET/SHD physical layer control */
2
#ifndef LINUX_SONET_H
3
#define LINUX_SONET_H
4
5
6
#include <
linux/atomic.h
>
7
#include <
uapi/linux/sonet.h
>
8
9
struct
k_sonet_stats
{
10
#define __HANDLE_ITEM(i) atomic_t i
11
__SONET_ITEMS
12
#undef __HANDLE_ITEM
13
};
14
15
extern
void
sonet_copy_stats
(
struct
k_sonet_stats
*
from
,
struct
sonet_stats
*to);
16
extern
void
sonet_subtract_stats
(
struct
k_sonet_stats
*
from
,
17
struct
sonet_stats
*to);
18
19
#endif
Generated on Thu Jan 10 2013 14:52:36 for Linux Kernel by
1.8.2