diff options
author | Andrew Hendry <andrew.hendry@gmail.com> | 2009-11-19 02:30:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-19 02:30:41 -0500 |
commit | 386e50cc7d82b3799ea6f53267f04f123ae05afe (patch) | |
tree | 6134850a72bbb21e11c2318d84eba0667d7dcf54 /include/linux/x25.h | |
parent | 0e4817470be8d233fb58b5af7b938185dae94d67 (diff) |
X25: Enable setting of cause and diagnostic fields
Adds SIOCX25SCAUSEDIAG, allowing X.25 programs to set the cause and
diagnostic fields.
Normally used to indicate status upon closing connections.
Signed-off-by: Andrew Hendry <andrew.hendry@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/x25.h')
-rw-r--r-- | include/linux/x25.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/x25.h b/include/linux/x25.h index d035e4e87d07..6450a7f12074 100644 --- a/include/linux/x25.h +++ b/include/linux/x25.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #define SIOCX25SENDCALLACCPT (SIOCPROTOPRIVATE + 9) | 25 | #define SIOCX25SENDCALLACCPT (SIOCPROTOPRIVATE + 9) |
26 | #define SIOCX25GDTEFACILITIES (SIOCPROTOPRIVATE + 10) | 26 | #define SIOCX25GDTEFACILITIES (SIOCPROTOPRIVATE + 10) |
27 | #define SIOCX25SDTEFACILITIES (SIOCPROTOPRIVATE + 11) | 27 | #define SIOCX25SDTEFACILITIES (SIOCPROTOPRIVATE + 11) |
28 | #define SIOCX25SCAUSEDIAG (SIOCPROTOPRIVATE + 12) | ||
28 | 29 | ||
29 | /* | 30 | /* |
30 | * Values for {get,set}sockopt. | 31 | * Values for {get,set}sockopt. |