aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/x25.h
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2019-12-09 08:21:34 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-09 10:28:43 -0800
commitf8fc57e8d7c5d95f4180b127d3b167de403557c0 (patch)
tree3392dd67387bbf32f8fd944006d43fa1181a7b29 /include/net/x25.h
parentselftests: forwarding: Delete IPv6 address at the end (diff)
downloadlinux-dev-f8fc57e8d7c5d95f4180b127d3b167de403557c0.tar.xz
linux-dev-f8fc57e8d7c5d95f4180b127d3b167de403557c0.zip
net/x25: add new state X25_STATE_5
This is needed, because if the flag X25_ACCPT_APPRV_FLAG is not set on a socket (manual call confirmation) and the channel is cleared by remote before the manual call confirmation was sent, this situation needs to be handled. Signed-off-by: Martin Schiller <ms@dev.tdt.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/x25.h')
-rw-r--r--include/net/x25.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/x25.h b/include/net/x25.h
index ed1acc3044ac..d7d6c2b4ffa7 100644
--- a/include/net/x25.h
+++ b/include/net/x25.h
@@ -62,7 +62,8 @@ enum {
X25_STATE_1, /* Awaiting Call Accepted */
X25_STATE_2, /* Awaiting Clear Confirmation */
X25_STATE_3, /* Data Transfer */
- X25_STATE_4 /* Awaiting Reset Confirmation */
+ X25_STATE_4, /* Awaiting Reset Confirmation */
+ X25_STATE_5 /* Call Accepted / Call Connected pending */
};
enum {