freebsd-dev/sbin
Alexander V. Chernikov 982cd5ae8e ifconfig: split argument parsing and actual execution logic
Reduce the amount of global variables by creating the dedicated
 ifconfig_args structure and use it as a context-passing variable.
Simplify the code by moving all argument preparation code a
 separate function.

Reviewed by: kp (previous version)
Differential Revision: https://reviews.freebsd.org/D39932
MFC after:	2 weeks
2023-05-10 10:39:12 +00:00
..
adjkerntz Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
bectl bectl: document the -r flag to bectl 2023-04-26 00:33:25 -05:00
bsdlabel Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
camcontrol Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ccdconfig Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
clri Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
comcontrol Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
conscontrol Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ddb Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
decryptcore Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
devd ath10k: ath11k: ammend devd.conf regex 2023-04-23 21:31:07 +00:00
devfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
devmatch Make SYNOPSIS match DESCRIPTION. 2022-11-03 00:20:12 +01:00
dhclient Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
dmesg Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
dump Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
dumpfs Yet another try to fix printf format conflict. 2023-04-30 00:00:23 -07:00
dumpon Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
etherswitchcfg Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
fdisk fdisk: Use valid prototypes for function declarations with no arguments. 2023-04-24 08:53:49 -07:00
ffsinfo Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
fsck Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
fsck_ffs Fix off-by-one error in fsck_ffs(8) chkrange() block-number check. 2023-05-09 13:08:10 -07:00
fsck_msdosfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
fsdb Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
fsirand Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
gbde gbde: stop rebuilding sha512 bits 2023-04-26 00:36:33 -05:00
geom geom.8: Fix typos and wordsmith 2023-05-09 16:20:13 +02:00
ggate Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
growfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
gvinum Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
hastctl Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
hastd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ifconfig ifconfig: split argument parsing and actual execution logic 2023-05-10 10:39:12 +00:00
init Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ipf Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ipfw ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
kldconfig Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
kldload Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
kldstat Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
kldunload Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ldconfig Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
md5 md5: Don't increment a bool. 2023-05-10 09:25:21 +00:00
mdconfig Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mdmfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mknod Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mksnap_ffs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_cd9660 Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_fusefs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_msdosfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_nfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_nullfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_udf Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
mount_unionfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
natd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
newfs newfs: fix up 32-bit compile 2023-04-30 18:00:20 +00:00
newfs_msdos Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
nfsiod Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
nos-tun Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
nvmecontrol Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
pfctl pfctl: match expand_label_addr() prototype to definition 2023-04-26 17:09:46 +02:00
pfilctl pfilctl: improve formatting of "hooks" and "heads" command output. 2021-03-19 11:18:05 -07:00
pflogd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
ping Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
quotacheck Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rcorder Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
reboot Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
recoverdisk Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
resolvconf pkgbase: Put resolvconf in its own package 2022-10-26 19:46:26 +02:00
restore Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
route route: show originator PID in netlink monitor 2023-04-28 13:54:54 +00:00
routed Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rtsol Update Makefile.depend files 2019-12-11 17:37:53 +00:00
savecore Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
setkey Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
shutdown Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
swapon Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
sysctl Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
tests
tunefs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
umount Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
veriexec veriexec: Add SPDX-License-Identifier 2023-04-16 21:23:00 -04:00
zfsbootcfg Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile Retire WITHOUT_CXX option 2023-01-26 21:13:16 -05:00
Makefile.amd64 retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
Makefile.arm
Makefile.i386 retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
Makefile.powerpc64 NVME support is only for x86 and powerpc64. 2018-06-14 01:15:19 +00:00