Go to the documentation of this file.
13 #define ROSE_ADDR_LEN 5
15 #define ROSE_MIN_LEN 3
17 #define ROSE_CALL_REQ_ADDR_LEN_OFF 3
18 #define ROSE_CALL_REQ_ADDR_LEN_VAL 0xAA
19 #define ROSE_CALL_REQ_DEST_ADDR_OFF 4
20 #define ROSE_CALL_REQ_SRC_ADDR_OFF 9
21 #define ROSE_CALL_REQ_FACILITIES_OFF 14
24 #define ROSE_Q_BIT 0x80
25 #define ROSE_D_BIT 0x40
26 #define ROSE_M_BIT 0x10
28 #define ROSE_CALL_REQUEST 0x0B
29 #define ROSE_CALL_ACCEPTED 0x0F
30 #define ROSE_CLEAR_REQUEST 0x13
31 #define ROSE_CLEAR_CONFIRMATION 0x17
32 #define ROSE_DATA 0x00
33 #define ROSE_INTERRUPT 0x23
34 #define ROSE_INTERRUPT_CONFIRMATION 0x27
38 #define ROSE_RESET_REQUEST 0x1B
39 #define ROSE_RESET_CONFIRMATION 0x1F
40 #define ROSE_REGISTRATION_REQUEST 0xF3
41 #define ROSE_REGISTRATION_CONFIRMATION 0xF7
42 #define ROSE_RESTART_REQUEST 0xFB
43 #define ROSE_RESTART_CONFIRMATION 0xFF
44 #define ROSE_DIAGNOSTIC 0xF1
45 #define ROSE_ILLEGAL 0xFD
58 #define ROSE_DEFAULT_T0 180000
59 #define ROSE_DEFAULT_T1 200000
60 #define ROSE_DEFAULT_T2 180000
61 #define ROSE_DEFAULT_T3 180000
62 #define ROSE_DEFAULT_HB 5000
63 #define ROSE_DEFAULT_IDLE 0
64 #define ROSE_DEFAULT_ROUTING 1
65 #define ROSE_DEFAULT_FAIL_TIMEOUT 120000
66 #define ROSE_DEFAULT_MAXVC 50
67 #define ROSE_DEFAULT_WINDOW_SIZE 7
69 #define ROSE_MODULUS 8
70 #define ROSE_MAX_PACKET_SIZE 251
72 #define ROSE_COND_ACK_PENDING 0x01
73 #define ROSE_COND_PEER_RX_BUSY 0x02
74 #define ROSE_COND_OWN_RX_BUSY 0x04
76 #define FAC_NATIONAL 0x00
77 #define FAC_CCITT 0x0F
79 #define FAC_NATIONAL_RAND 0x7F
80 #define FAC_NATIONAL_FLAGS 0x3F
81 #define FAC_NATIONAL_DEST_DIGI 0xE9
82 #define FAC_NATIONAL_SRC_DIGI 0xEB
83 #define FAC_NATIONAL_FAIL_CALL 0xED
84 #define FAC_NATIONAL_FAIL_ADD 0xEE
85 #define FAC_NATIONAL_DIGIS 0xEF
87 #define FAC_CCITT_DEST_NSAP 0xC9
88 #define FAC_CCITT_SRC_NSAP 0xCB
140 unsigned short fraglen;
149 #define rose_sk(sk) ((struct rose_sock *)(sk))