]> git.ipfire.org Git - thirdparty/systemd.git/commit
ndisc-option: allow to set valid time of options
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 17 Mar 2024 06:23:38 +0000 (15:23 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 28 Mar 2024 12:34:09 +0000 (12:34 +0000)
commitff944339f32034e42d79a78e91d495f1e415affb
tree181a4ad4e172b58df0e9e4808244666c2a5605aa
parentaf41f9f8adf79bd477aacbf43da4088c90a242d9
ndisc-option: allow to set valid time of options

When an option is delegated from an upstream server, its lifetime
may be limited by a time. Such functionality will be used later by
sd-radv.

This also remove 'offset' argument from the option setter
ndisc_option_set_xyz(), and make it update existing option.
See comments in ndisc_option_add_link_layer_address() for more details.
src/libsystemd-network/fuzz-ndisc-rs.c
src/libsystemd-network/ndisc-option.c
src/libsystemd-network/ndisc-option.h
src/libsystemd-network/sd-ndisc.c