linux/include/uapi/linux/sonet.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/* sonet.h - SONET/SHD physical layer control */
 
/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
 

#ifndef _UAPILINUX_SONET_H
#define _UAPILINUX_SONET_H

#define __SONET_ITEMS

struct sonet_stats {} __attribute__ ((packed));


#define SONET_GETSTAT
					/* get statistics */
#define SONET_GETSTATZ
					/* ... and zero counters */
#define SONET_SETDIAG
					/* set error insertion */
#define SONET_CLRDIAG
					/* clear error insertion */
#define SONET_GETDIAG
					/* query error insertion */
#define SONET_SETFRAMING
					/* set framing mode (SONET/SDH) */
#define SONET_GETFRAMING
					/* get framing mode */
#define SONET_GETFRSENSE

#define SONET_INS_SBIP
#define SONET_INS_LBIP
#define SONET_INS_PBIP
#define SONET_INS_FRAME
#define SONET_INS_LOS
#define SONET_INS_LAIS
#define SONET_INS_PAIS
#define SONET_INS_HCS

#define SONET_FRAME_SONET
#define SONET_FRAME_SDH

#define SONET_FRSENSE_SIZE



#endif /* _UAPILINUX_SONET_H */