]> git.baikalelectronics.ru Git - kernel.git/commit
X25: Enable setting of cause and diagnostic fields
authorAndrew Hendry <andrew.hendry@gmail.com>
Thu, 19 Nov 2009 07:30:41 +0000 (23:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Nov 2009 07:30:41 +0000 (23:30 -0800)
commitcb9399c3d3a4b20e0301ebbd5afadb39e16935b2
tree6134850a72bbb21e11c2318d84eba0667d7dcf54
parent45fdd5cfb9452b51f4f64d52eb652354247354c1
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>
include/linux/x25.h
net/x25/af_x25.c
net/x25/x25_subr.c