HardenedBSD/sbin/ifconfig
Alexander V. Chernikov 74b4261161 ifconfig: add if_ctx argument to the generic and ifclone callbacks.
This is the continuation of the ifconfig cleanup work. This change is
a pre-requsite for the next changes removing some of the global variables.
It will also help in implementing functionality via Netlink instead of ioctl.
No functional changes intended.
* vxlan_cb() was removed as it contained no code
* ioctl_ifcreate() was renamed to ifcreate_ioctl() to follow the other
netlink/ioctl function naming. Netlink and ioctl provide _different_
interfaces and it's not possible to have a unified interface object
that can be filled by either netlink or ioctl implementations. With that
in mind, I'm leaning more to the function_<nl|ioctl> postfix pattern,
than doing ioctl_ or netlink_ prefix.

Reviewed By: kp
Differential Revision: https://reviews.freebsd.org/D40426
MFC after:	2 weeks
2023-06-13 06:10:56 +00:00
..
tests
af_inet6.c ifconfig: fix warnings #2 2023-06-01 11:54:25 +00:00
af_inet.c ifconfig: fix warnings #2 2023-06-01 11:54:25 +00:00
af_link.c
af_nd6.c
carp.c ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
ifbridge.c ifconfig: fix warnings #2 2023-06-01 11:54:25 +00:00
ifclone.c ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
ifconfig_netlink.c ifconfig: fix warnings #2 2023-06-01 11:54:25 +00:00
ifconfig_netlink.h
ifconfig.8
ifconfig.c ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
ifconfig.h ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
iffib.c
ifgif.c ifconfig: fix warnings #2 2023-06-01 11:54:25 +00:00
ifgre.c ifconfig: fix warnings #2 2023-06-01 11:54:25 +00:00
ifgroup.c
ifieee80211.c ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
ifipsec.c
iflagg.c ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
ifmac.c
ifmedia.c ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
ifpfsync.c ifconfig: fix warnings #2 2023-06-01 11:54:25 +00:00
ifstf.c
ifvlan.c ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
ifvxlan.c ifconfig: add if_ctx argument to the generic and ifclone callbacks. 2023-06-13 06:10:56 +00:00
Makefile
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile.depend.options
sfp.c ifconfig: fix warnings #2 2023-06-01 11:54:25 +00:00