mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
0e4817470b
commit
386e50cc7d
3 changed files with 19 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#define SIOCX25SENDCALLACCPT (SIOCPROTOPRIVATE + 9)
|
||||
#define SIOCX25GDTEFACILITIES (SIOCPROTOPRIVATE + 10)
|
||||
#define SIOCX25SDTEFACILITIES (SIOCPROTOPRIVATE + 11)
|
||||
#define SIOCX25SCAUSEDIAG (SIOCPROTOPRIVATE + 12)
|
||||
|
||||
/*
|
||||
* Values for {get,set}sockopt.
|
||||
|
|
|
|||
Loading…
Reference in a new issue