diff options
author | melifaro <melifaro@FreeBSD.org> | 2015-12-16 10:14:16 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2015-12-16 10:14:16 +0000 |
commit | fb12a509fe8b781ba3e865fcc78af667ed78c66c (patch) | |
tree | 37753ca0d04540927e3ad47c4a42a40617fe0efa /lib/libthr/thread/thr_init.c | |
parent | 9f3bc9ef2e9ce8d0e534c4fd223a21e90a97584f (diff) | |
download | FreeBSD-src-fb12a509fe8b781ba3e865fcc78af667ed78c66c.zip FreeBSD-src-fb12a509fe8b781ba3e865fcc78af667ed78c66c.tar.gz |
Provide additional lle data in IPv6 lltable dump used by ndp(8).
Before the change, things like lle state were queried via
SIOCGNBRINFO_IN6 by ndp(8) for _each_ lle entry in dump.
This ioctl was added in 1999, probably to avoid touching rtsock code.
This change maps SIOCGNBRINFO_IN6 data to standard rtsock dump the
following way:
expire (already) maps to rtm_rmx.rmx_expire
isrouter -> rtm_flags & RTF_GATEWAY
asked -> rtm_rmx.rmx_pksent
state -> rtm_rmx.rmx_state (maps to rmx_weight via define)
Reviewed by: ae
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
0 files changed, 0 insertions, 0 deletions