aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig/af_nd6.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-09-17 18:49:13 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-09-17 18:49:13 +0000
commit247cf5664e1ad88d96568eb3f2101d383a539c08 (patch)
treed3232f9545e5fcd65e2e73c194b54ee0749aac0d /sbin/ifconfig/af_nd6.c
parent6fd583583bdded9f34da7a41e976d64ce32f1c1f (diff)
downloadsrc-247cf5664e1ad88d96568eb3f2101d383a539c08.tar.gz
src-247cf5664e1ad88d96568eb3f2101d383a539c08.zip
Add SIOCGIFDOWNREASON.
The ioctl(2) is intended to provide more details about the cause of the down for the link. Eventually we might define a comprehensive list of codes for the situations. But interface also allows the driver to provide free-form null-terminated ASCII string to provide arbitrary non-formalized information. Sample implementation exists for mlx5(4), where the string is fetched from firmware controlling the port. Reviewed by: hselasky, rrs Sponsored by: Mellanox Technologies MFC after: 1 week Differential revision: https://reviews.freebsd.org/D21527
Notes
Notes: svn path=/head/; revision=352458
Diffstat (limited to 'sbin/ifconfig/af_nd6.c')
0 files changed, 0 insertions, 0 deletions