X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=port.h;h=d7c0580fdf48b82286fad8ea7139634ed4bf7d5d;hp=d71771f5b63e7050c82fa9775a40fc2c835e12ec;hb=a12d7eee22a72f4c999535892763dde15212e89e;hpb=0f805e041a900551a8c3cf9a75a78c2b34e1977c diff --git a/port.h b/port.h index d71771f..d7c0580 100644 --- a/port.h +++ b/port.h @@ -14,27 +14,35 @@ /* type of port */ #define PORT_TYPE_NULL 0x0000 -#define PORT_CLASS_mISDN 0x0100 -#define PORT_CLASS_MASK 0xff00 -#define PORT_CLASS_mISDN_DSS1 0x0110 -#define PORT_CLASS_mISDN_GSM 0x0120 -#define PORT_CLASS_mISDN_SS5 0x0130 -#define PORT_CLASS_mISDN_MASK 0xfff0 +#define PORT_CLASS_mISDN 0x1000 +#define PORT_CLASS_DSS1 0x1100 +#define PORT_CLASS_DSS1_NT 0x1110 +#define PORT_CLASS_DSS1_TE 0x1120 +#define PORT_CLASS_GSM 0x1200 +#define PORT_CLASS_GSM_BS 0x1210 +#define PORT_CLASS_GSM_MS 0x1220 +#define PORT_CLASS_SS5 0x1300 +#define PORT_CLASS_MASK 0xf000 +#define PORT_CLASS_mISDN_MASK 0xff00 +#define PORT_CLASS_DSS1_MASK 0xfff0 +#define PORT_CLASS_GSM_MASK 0xfff0 /* nt-mode */ -#define PORT_TYPE_DSS1_NT_IN 0x0111 -#define PORT_TYPE_DSS1_NT_OUT 0x0112 +#define PORT_TYPE_DSS1_NT_IN 0x1111 +#define PORT_TYPE_DSS1_NT_OUT 0x1112 /* te-mode */ -#define PORT_TYPE_DSS1_TE_IN 0x0113 -#define PORT_TYPE_DSS1_TE_OUT 0x0114 +#define PORT_TYPE_DSS1_TE_IN 0x1121 +#define PORT_TYPE_DSS1_TE_OUT 0x1122 /* gsm */ -#define PORT_TYPE_GSM_IN 0x0121 -#define PORT_TYPE_GSM_OUT 0x0122 +#define PORT_TYPE_GSM_BS_IN 0x1211 +#define PORT_TYPE_GSM_BS_OUT 0x1212 +#define PORT_TYPE_GSM_MS_IN 0x1221 +#define PORT_TYPE_GSM_MS_OUT 0x1222 /* ss5 */ -#define PORT_TYPE_SS5_IN 0x0131 -#define PORT_TYPE_SS5_OUT 0x0132 -#define PORT_TYPE_SS5_IDLE 0x0133 +#define PORT_TYPE_SS5_IN 0x1311 +#define PORT_TYPE_SS5_OUT 0x1312 +#define PORT_TYPE_SS5_IDLE 0x1313 /* answering machine */ -#define PORT_TYPE_VBOX_OUT 0x0311 +#define PORT_TYPE_VBOX_OUT 0x3111 enum { /* states of call */