diff options
Diffstat (limited to 'include/net/x25.h')
-rw-r--r-- | include/net/x25.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/net/x25.h b/include/net/x25.h index 468551ea4f1d..1479cb4a41fc 100644 --- a/include/net/x25.h +++ b/include/net/x25.h | |||
@@ -80,8 +80,6 @@ enum { | |||
80 | #define X25_DEFAULT_PACKET_SIZE X25_PS128 /* Default Packet Size */ | 80 | #define X25_DEFAULT_PACKET_SIZE X25_PS128 /* Default Packet Size */ |
81 | #define X25_DEFAULT_THROUGHPUT 0x0A /* Deafult Throughput */ | 81 | #define X25_DEFAULT_THROUGHPUT 0x0A /* Deafult Throughput */ |
82 | #define X25_DEFAULT_REVERSE 0x00 /* Default Reverse Charging */ | 82 | #define X25_DEFAULT_REVERSE 0x00 /* Default Reverse Charging */ |
83 | #define X25_DENY_ACCPT_APPRV 0x01 /* Default value */ | ||
84 | #define X25_ALLOW_ACCPT_APPRV 0x00 /* Control enabled */ | ||
85 | 83 | ||
86 | #define X25_SMODULUS 8 | 84 | #define X25_SMODULUS 8 |
87 | #define X25_EMODULUS 128 | 85 | #define X25_EMODULUS 128 |
@@ -113,6 +111,11 @@ enum { | |||
113 | #define X25_MAX_AE_LEN 40 /* Max num of semi-octets in AE - OSI Nw */ | 111 | #define X25_MAX_AE_LEN 40 /* Max num of semi-octets in AE - OSI Nw */ |
114 | #define X25_MAX_DTE_FACIL_LEN 21 /* Max length of DTE facility params */ | 112 | #define X25_MAX_DTE_FACIL_LEN 21 /* Max length of DTE facility params */ |
115 | 113 | ||
114 | /* Bitset in x25_sock->flags for misc flags */ | ||
115 | #define X25_Q_BIT_FLAG 0 | ||
116 | #define X25_INTERRUPT_FLAG 1 | ||
117 | #define X25_ACCPT_APPRV_FLAG 2 | ||
118 | |||
116 | /** | 119 | /** |
117 | * struct x25_route - x25 routing entry | 120 | * struct x25_route - x25 routing entry |
118 | * @node - entry in x25_list_lock | 121 | * @node - entry in x25_list_lock |
@@ -146,10 +149,11 @@ struct x25_sock { | |||
146 | struct x25_address source_addr, dest_addr; | 149 | struct x25_address source_addr, dest_addr; |
147 | struct x25_neigh *neighbour; | 150 | struct x25_neigh *neighbour; |
148 | unsigned int lci, cudmatchlength; | 151 | unsigned int lci, cudmatchlength; |
149 | unsigned char state, condition, qbitincl, intflag, accptapprv; | 152 | unsigned char state, condition; |
150 | unsigned short vs, vr, va, vl; | 153 | unsigned short vs, vr, va, vl; |
151 | unsigned long t2, t21, t22, t23; | 154 | unsigned long t2, t21, t22, t23; |
152 | unsigned short fraglen; | 155 | unsigned short fraglen; |
156 | unsigned long flags; | ||
153 | struct sk_buff_head ack_queue; | 157 | struct sk_buff_head ack_queue; |
154 | struct sk_buff_head fragment_queue; | 158 | struct sk_buff_head fragment_queue; |
155 | struct sk_buff_head interrupt_in_queue; | 159 | struct sk_buff_head interrupt_in_queue; |