freebsd-src/sbin/dhclient
Isaac Cilia Attard 16a235f23c dhclient: Switch timeouts from time_t to timespec
Introduce a new function, add_timeout_timespec(), to use timespec
structs to handle timeouts. Make add_timeout() into a wrapper for the
latter function to retain compatibility with the rest of the codebase.
No functional change intended.

Sponsored by:	Google LLC (GSoC 2024)
Signed-off-by:	Isaac Cilia Attard <icattard@FreeBSD.org>
MFC after:	10 days
Reviwed by:	cperciva, brooks, Tom Hukins, Alexander Ziaee
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1368
2024-08-09 14:45:06 -07:00
..
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
alloc.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
bpf.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
clparse.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
conflex.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
convert.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
dhclient-script Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
dhclient-script.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
dhclient.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
dhclient.c dhclient: Ignore SIP servers DHCP option defined in RFC 3361 2024-07-15 19:42:17 +02:00
dhclient.conf Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
dhclient.conf.5 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
dhclient.leases.5 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
dhcp-options.5 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
dhcp.h dhclient: Ignore SIP servers DHCP option defined in RFC 3361 2024-07-15 19:42:17 +02:00
dhcpd.h dhclient: Switch timeouts from time_t to timespec 2024-08-09 14:45:06 -07:00
dhctoken.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
dispatch.c dhclient: Switch timeouts from time_t to timespec 2024-08-09 14:45:06 -07:00
errwarn.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
hash.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
inet.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
options.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
packet.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
parse.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
privsep.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
privsep.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
tables.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
tree.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
tree.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00