opnsense-src/usr.sbin/ctld
Alan Somers 969876fcee ctld: parse config file independently of getting kernel info
Separate the parsing of the config file from the reading of kernel port
information.  This has three benefits:

* Separation of concerns makes future changes easier.
* Allows the config file to be read earlier, which is necessary for
  fixing PR 271460.
* Reduces total line count, by eliminating duplication between parse.y
  (for traditional config file) and uclparse.c (for UCL config file).

MFC after:	2 weeks
Sponsored by:	Axcient
Reviewed by:	mav
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1287
2024-08-07 08:36:52 -06:00
..
ctl.conf.5 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
ctld.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
ctld.c ctld: parse config file independently of getting kernel info 2024-08-07 08:36:52 -06:00
ctld.h ctld: parse config file independently of getting kernel info 2024-08-07 08:36:52 -06:00
discovery.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
isns.c ctld: Consistently use item count as the first argument to calloc 2024-07-19 13:07:22 -04:00
isns.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
kernel.c ctld: parse config file independently of getting kernel info 2024-08-07 08:36:52 -06:00
login.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
parse.y ctld: parse config file independently of getting kernel info 2024-08-07 08:36:52 -06:00
token.l Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
uclparse.c ctld: parse config file independently of getting kernel info 2024-08-07 08:36:52 -06:00