freebsd-dev/sbin/ifconfig
Ryan Moeller 8b22242550 sbin/ifconfig: Use a global libifconfig handle
This should eventually replace the socket passed to the various
handlers. In the meantime, making it global avoids repeatedly opening
and closing handles.

Reported by:	kp
Reviewed by:	kp (earlier version)
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D28990
2021-03-02 21:15:40 -05:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
af_inet6.c Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
af_inet.c ifconfig: eliminate trailing whitespace 2019-02-26 03:34:47 +00:00
af_link.c ifconfig(8): optimize -f ether:dash mode 2020-06-26 16:20:34 +00:00
af_nd6.c Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
carp.c sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00
ifbridge.c sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00
ifclone.c sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00
ifconfig.8 Catch up with 6edfd179c8: mechanically rename IFCAP_NOMAP to IFCAP_MEXTPG. 2021-01-29 11:46:24 -08:00
ifconfig.c sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00
ifconfig.h sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00
iffib.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgif.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgre.c Add GRE-in-UDP encapsulation support as defined in RFC8086. 2019-04-24 09:05:45 +00:00
ifgroup.c sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00
ifieee80211.c Ensure consistent error messages from ifconfig(8). 2020-11-26 16:36:50 +00:00
ifipsec.c Update ifr_name before invoking IPSECSREQID ioctl, this fixes the case, 2018-09-22 16:30:48 +00:00
iflagg.c sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00
ifmac.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifmedia.c ifconfig: properly detect invalid mediaopt keywords. 2020-11-02 21:47:34 +00:00
ifpfsync.c ifconfig: fix endianness bug displaying pfsync interfaces 2019-01-28 18:34:04 +00:00
ifvlan.c ifconfig: add vlanproto "qiniq" as an alias for "802.1ad" 2021-01-20 15:50:45 +00:00
ifvxlan.c Ensure consistent error messages from ifconfig(8). 2020-11-26 16:36:50 +00:00
ifwg.c ifconfig: fix incorrect wg allowed-ips netmask 2021-02-15 02:39:05 +00:00
Makefile Import kernel WireGuard support 2020-11-29 19:38:03 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
sfp.c sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00