Systemd/src
Patrik Flykt 7d5cac19b5 networkd: Add Router Advertisement variables
Add variables for enabling Router Advertisements, router lifetime as
well as managed and other information flags indicating use of DHCPv6.
Add configuration of default router preferences as defined in RFC 4191.

IPv6PrefixDelegation in the [Network] section has to be set in order
to enable prefix delegation. The rest of the prefix delegation values
are stored in the [IPv6PrefixDelegation] section. The host will act as
a default router if it is given a non-zero lifetime with
RouterLifetimeSec. Managed and OtherInformation booleans set the level
of DHCPv6 support, and the RouterPreference configures the router's
preference between low, medium and high. Words 'normal' and 'default'
are added as synonyms for 'medium' just to make configuration simpler.

This adds a section like the following to .network configuration files:
[Network]
IPv6PrefixDelegation=true

[IPv6PrefixDelegation]
RouterLifetimeSec=2000
Managed=false
OtherInformation=true
RouterPreference=medium
2017-05-15 14:49:50 +03:00
..
ac-power
activate
analyze meson: reindent all files with 8 spaces 2017-04-23 21:47:29 -04:00
ask-password
backlight
basic env-util: fix memory leak (#5962) 2017-05-14 10:30:40 -04:00
binfmt
boot sd-boot: added shim signature/MOK validation (#5702) 2017-05-09 20:57:40 +02:00
busctl busctl: monitor - only start printing messages once we have become a monitor (#5931) 2017-05-11 15:56:55 +02:00
cgls cgroup: change cg_unified() to possibly return errors again 2017-02-24 17:52:58 +01:00
cgroups-agent
cgtop cgtop: check cgroups after parsing options 2017-04-25 08:54:00 -04:00
core pid1: improve logging when failing to remount / ro (#5940) 2017-05-11 18:12:41 +02:00
coredump meson: use booleans for conf.set and drop unecessary conditionals 2017-05-02 16:29:11 -04:00
cryptsetup cryptsetup-generator: run cryptsetup service before swap unit (#5480) 2017-02-28 21:30:22 +01:00
dbus1-generator
debug-generator
delta
detect-virt
dissect dissect: generate friendly error messages for more error conditions 2017-02-21 21:41:32 +01:00
environment-d-generator environment-generator: new generator to peruse environment.d 2017-02-20 18:49:14 -05:00
escape
firstboot copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
fsck
fstab-generator Merge pull request #5164 from Werkov/ordering-for-_netdev-devices 2017-04-29 18:40:19 +02:00
getty-generator
gpt-auto-generator build-sys: correct blkid.h includes 2017-04-06 14:33:02 +01:00
hibernate-resume
hostname meson: use booleans for conf.set and drop unecessary conditionals 2017-05-02 16:29:11 -04:00
hwdb tree-wide: standardize on $(PACKAGE_VERSION) for the version string 2017-04-04 20:36:09 -04:00
import Merge pull request #5842 from keszybz/meson-status-and-conditionals 2017-05-03 16:45:31 +02:00
initctl
journal Add short-iso-precise for journalctl output (#5884) 2017-05-07 20:23:49 -04:00
journal-remote Merge pull request #5842 from keszybz/meson-status-and-conditionals 2017-05-03 16:45:31 +02:00
kernel-install meson: reindent all files with 8 spaces 2017-04-23 21:47:29 -04:00
libsystemd sd-netlink: add support for address label 2017-04-26 16:00:44 +05:30
libsystemd-network sd-radv: Add Router Advertisement prefix handling 2017-05-15 14:49:50 +03:00
libudev Rip out setting of the log level from udev_new and put it in a new function 2017-05-07 22:49:12 -04:00
locale meson: use booleans for conf.set and drop unecessary conditionals 2017-05-02 16:29:11 -04:00
login Add short-iso-precise for journalctl output (#5884) 2017-05-07 20:23:49 -04:00
machine Add short-iso-precise for journalctl output (#5884) 2017-05-07 20:23:49 -04:00
machine-id-setup
modules-load
mount mount-tools: silence gcc warning about uninit var 2017-02-21 11:15:50 -05:00
network networkd: Add Router Advertisement variables 2017-05-15 14:49:50 +03:00
notify
nspawn tree-wide: use SET_FLAG in more places (#5892) 2017-05-07 07:03:28 -04:00
nss-myhostname nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
nss-mymachines nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
nss-resolve nss-resolve: drop the internal fallback to libnss_dns (#5945) 2017-05-12 14:31:46 +02:00
nss-systemd nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
path
quotacheck
random-seed
rc-local-generator rc-local-generator: drop duplicate definitions for rc.local 2017-04-19 19:27:01 -04:00
remount-fs
reply-password treewide: replace homegrown memory_erase with explicit_bzero 2017-02-05 21:07:55 -05:00
resolve resolved: support libidn2 in addition to libidn 2017-05-11 14:25:01 -04:00
rfkill
run run: also pin unit when we we are in --pty mode 2017-02-28 18:35:05 +01:00
shared conf-parser: fix wrong argument given to log_syntax_invalid_utf8 2017-05-14 13:19:11 +02:00
sleep Merge pull request #5131 from keszybz/environment-generators 2017-02-21 11:11:44 +01:00
socket-proxy
stdio-bridge
sulogin-shell meson: reindent all files with 8 spaces 2017-04-23 21:47:29 -04:00
sysctl
system-update-generator
systemctl Add short-iso-precise for journalctl output (#5884) 2017-05-07 20:23:49 -04:00
systemd sd-radv: Add Router Advertisement prefix handling 2017-05-15 14:49:50 +03:00
sysusers sysusers: make use of cleanup(unlink_and_freep) in write_files() and its auxiliary helpers 2017-05-10 14:29:21 +02:00
sysv-generator sysv-generator: Provides: $network should also pull network.target to transaction (#5652) 2017-03-30 11:12:50 +02:00
test Merge pull request #5961 from ronnychevalier/rc/conf-parser-strv-typo 2017-05-14 10:31:12 -04:00
timedate meson: use booleans for conf.set and drop unecessary conditionals 2017-05-02 16:29:11 -04:00
timesync meson: use booleans for conf.set and drop unecessary conditionals 2017-05-02 16:29:11 -04:00
tmpfiles tmpfiles: use safe_glob() 2017-04-27 13:20:30 -04:00
tty-ask-password-agent treewide: replace homegrown memory_erase with explicit_bzero 2017-02-05 21:07:55 -05:00
udev Merge pull request #5432 from keszybz/udev-logging 2017-05-12 15:22:46 +02:00
update-done update-done: use newly added library function to write the file 2017-05-11 13:43:53 -04:00
update-utmp
user-sessions
vconsole tree-wide: use SET_FLAG in more places (#5892) 2017-05-07 07:03:28 -04:00
veritysetup
volatile-root
.gitignore
Makefile