Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
isdn_divert.h File Reference
#include <linux/ioctl.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  divert_rule
 
union  divert_ioctl
 

Macros

#define DIVERT_IIOC_VERSION   0x01 /* actual version */
 
#define IIOCGETVER   _IO('I', 1) /* get version of interface */
 
#define IIOCGETDRV   _IO('I', 2) /* get driver number */
 
#define IIOCGETNAM   _IO('I', 3) /* get driver name */
 
#define IIOCGETRULE   _IO('I', 4) /* read one rule */
 
#define IIOCMODRULE   _IO('I', 5) /* modify/replace a rule */
 
#define IIOCINSRULE   _IO('I', 6) /* insert/append one rule */
 
#define IIOCDELRULE   _IO('I', 7) /* delete a rule */
 
#define IIOCDODFACT   _IO('I', 8) /* hangup/reject/alert/immediately deflect a call */
 
#define IIOCDOCFACT   _IO('I', 9) /* activate control forwarding in PBX */
 
#define IIOCDOCFDIS   _IO('I', 10) /* deactivate control forwarding in PBX */
 
#define IIOCDOCFINT   _IO('I', 11) /* interrogate control forwarding in PBX */
 
#define DEFLECT_IGNORE   0 /* ignore incoming call */
 
#define DEFLECT_REPORT   1 /* only report */
 
#define DEFLECT_PROCEED   2 /* deflect when externally triggered */
 
#define DEFLECT_ALERT   3 /* alert and deflect after delay */
 
#define DEFLECT_REJECT   4 /* reject immediately */
 
#define DIVERT_ACTIVATE   5 /* diversion activate */
 
#define DIVERT_DEACTIVATE   6 /* diversion deactivate */
 
#define DIVERT_REPORT   7 /* interrogation result */
 
#define DEFLECT_AUTODEL   255 /* only for internal use */
 
#define DEFLECT_ALL_IDS   0xFFFFFFFF /* all drivers selected */
 

Macro Definition Documentation

#define DEFLECT_ALERT   3 /* alert and deflect after delay */

Definition at line 37 of file isdn_divert.h.

#define DEFLECT_ALL_IDS   0xFFFFFFFF /* all drivers selected */

Definition at line 44 of file isdn_divert.h.

#define DEFLECT_AUTODEL   255 /* only for internal use */

Definition at line 42 of file isdn_divert.h.

#define DEFLECT_IGNORE   0 /* ignore incoming call */

Definition at line 34 of file isdn_divert.h.

#define DEFLECT_PROCEED   2 /* deflect when externally triggered */

Definition at line 36 of file isdn_divert.h.

#define DEFLECT_REJECT   4 /* reject immediately */

Definition at line 38 of file isdn_divert.h.

#define DEFLECT_REPORT   1 /* only report */

Definition at line 35 of file isdn_divert.h.

#define DIVERT_ACTIVATE   5 /* diversion activate */

Definition at line 39 of file isdn_divert.h.

#define DIVERT_DEACTIVATE   6 /* diversion deactivate */

Definition at line 40 of file isdn_divert.h.

#define DIVERT_IIOC_VERSION   0x01 /* actual version */

Definition at line 18 of file isdn_divert.h.

#define DIVERT_REPORT   7 /* interrogation result */

Definition at line 41 of file isdn_divert.h.

#define IIOCDELRULE   _IO('I', 7) /* delete a rule */

Definition at line 25 of file isdn_divert.h.

#define IIOCDOCFACT   _IO('I', 9) /* activate control forwarding in PBX */

Definition at line 27 of file isdn_divert.h.

#define IIOCDOCFDIS   _IO('I', 10) /* deactivate control forwarding in PBX */

Definition at line 28 of file isdn_divert.h.

#define IIOCDOCFINT   _IO('I', 11) /* interrogate control forwarding in PBX */

Definition at line 29 of file isdn_divert.h.

#define IIOCDODFACT   _IO('I', 8) /* hangup/reject/alert/immediately deflect a call */

Definition at line 26 of file isdn_divert.h.

#define IIOCGETDRV   _IO('I', 2) /* get driver number */

Definition at line 20 of file isdn_divert.h.

#define IIOCGETNAM   _IO('I', 3) /* get driver name */

Definition at line 21 of file isdn_divert.h.

#define IIOCGETRULE   _IO('I', 4) /* read one rule */

Definition at line 22 of file isdn_divert.h.

#define IIOCGETVER   _IO('I', 1) /* get version of interface */

Definition at line 19 of file isdn_divert.h.

#define IIOCINSRULE   _IO('I', 6) /* insert/append one rule */

Definition at line 24 of file isdn_divert.h.

#define IIOCMODRULE   _IO('I', 5) /* modify/replace a rule */

Definition at line 23 of file isdn_divert.h.