-#define PORT_CLASS_mISDN 0x0100
-#define PORT_CLASS_MASK 0xff00
-#define PORT_CLASS_mISDN_DSS1 0x0110
-#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_SS5 0x1300
+#define PORT_CLASS_SIP 0x2000
+#define PORT_CLASS_GSM 0x3000
+#define PORT_CLASS_GSM_BS 0x3100
+#define PORT_CLASS_GSM_MS 0x3200
+#define PORT_CLASS_REMOTE 0x4000
+#define PORT_CLASS_MASK 0xf000
+#define PORT_CLASS_mISDN_MASK 0xff00
+#define PORT_CLASS_DSS1_MASK 0xfff0
+#define PORT_CLASS_GSM_MASK 0xff00
+#define PORT_CLASS_DIR_MASK 0x000f
+#define PORT_CLASS_DIR_IN 0x0001
+#define PORT_CLASS_DIR_OUT 0x0002