Links

GitHub

Open HUB

Quick Links

Download

STREAMS

SIGTRAN

SS7

Hardware

SCTP

Browse Source

Applications

SS7 Stack

ISDN Stack

SIGTRAN Stack

VoIP Stack

MG Stack

SS7/ISDN Devices

IP Transport

Embedded Systems

Operating System

Resources

Packages

Sys Req

Repositories

Download

Mailing Lists

Browse Source

CVS Archive

Bug Reports

Library

Hardware

Vendor Links

Home

Overview

Status

Documentation

Resources

About

News

Description: Code

File /code/strss7/src/include/ss7/dl_ioctl.h



#ifndef __DL_IOCTL_H__
#define __DL_IOCTL_H__

#ident "@(#) dl_ioctl.h,v openss7-0_9_2_G(0.9.2.6) Copyright (c) 2001-2008 OpenSS7 Corporation."

#define DL_IOC_MAGIC 'd'

typedef struct dl_iochdr {
	dl_ulong type;
	dl_ulong id;
	dl_ulong cmd;
} dl_iochdr_t;

typedef struct dl_proto {
	dl_ulong pvar;
	dl_ulong popt;
} dl_proto_t;

#define DL_IOCGOPTIONS	 _IOR(	DL_IOC_MAGIC,	 0,	dl_iochdr_t	)
#define DL_IOCSOPTIONS	 _IOW(	DL_IOC_MAGIC,	 1,	dl_iochdr_t	)

#define DL_GET	    0
#define DL_ADD	    1
#define DL_CHA	    2
#define DL_DEL	    3

#define DL_IOCGCONFIG	_IOWR(	DL_IOC_MAGIC,	 2,	dl_iochdr_t	)
#define DL_IOCSCONFIG	_IOWR(	DL_IOC_MAGIC,	 3,	dl_iochdr_t	)
#define DL_IOCTCONFIG	_IOWR(	DL_IOC_MAGIC,	 4,	dl_iochdr_t	)
#define DL_IOCCCONFIG	_IOWR(	DL_IOC_MAGIC,	 5,	dl_iochdr_t	)

#define DL_IOCGSTATEM	_IOWR(	DL_IOC_MAGIC,	 6,	dl_iochdr_t	)
#define DL_IOCCMRESET	_IOWR(	DL_IOC_MAGIC,	 7,	dl_iochdr_t	)

#define DL_IOCGSTATSP	_IOWR(	DL_IOC_MAGIC,	 8,	dl_iochdr_t	)
#define DL_IOCSSTATSP	_IOWR(	DL_IOC_MAGIC,	 9,	dl_iochdr_t	)
#define DL_IOCGSTATS	_IOWR(	DL_IOC_MAGIC,	10,	dl_iochdr_t	)
#define DL_IOCCSTATS	_IOWR(	DL_IOC_MAGIC,	11,	dl_iochdr_t	)

#define DL_IOCGNOTIFY	 _IOR(	DL_IOC_MAGIC,	12,	dl_iochdr_t	)
#define DL_IOCSNOTIFY	 _IOW(	DL_IOC_MAGIC,	13,	dl_iochdr_t	)
#define DL_IOCCNOTIFY	 _IOW(	DL_IOC_MAGIC,	14,	dl_iochdr_t	)

#define DL_IOCCMGMT	_IOWR(	DL_IOC_MAGIC,	15,	dl_iochdr_t	)

#define DL_IOCCPASS	_IOWR(	DL_IOC_MAGIC,	16,	dl_iochdr_t	)

#define DL_IOC_FIRST	 0
#define DL_IOC_LAST	16
#define DL_IOC_PRIVATE	32

#endif

Last modified: Thu, 28 Nov 2024 14:42:16 GMT  
Copyright © 2014 OpenSS7 Corporation All Rights Reserved.