]> bbs.cooldavid.org Git - net-next-2.6.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)
commit386e50cc7d82b3799ea6f53267f04f123ae05afe
tree6134850a72bbb21e11c2318d84eba0667d7dcf54
parent0e4817470be8d233fb58b5af7b938185dae94d67
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