]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
sd-network: IPv4 link-local support [v2]
authorUmut Tezduyar Lindskog <umut.tezduyar@axis.com>
Fri, 28 Feb 2014 15:10:20 +0000 (16:10 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 3 Mar 2014 22:24:34 +0000 (23:24 +0100)
commit5c1d3fc93d91384bbac29adf01074fa4375317ea
treea71f0587b742f42d110a44c2700b522bcbedaf2c
parentb6b8adbff4b1a67a2fffc2c225f1b083d9e4a69e
sd-network: IPv4 link-local support [v2]

Implements IPv4LL with respect to RFC 3927
(http://tools.ietf.org/rfc/rfc3927.txt) and integrates it
with networkd. Majority of the IPv4LL state machine is
taken from avahi (http://avahi.org/) project's autoip.

IPv4LL can be enabled by IPv4LL=yes under [Network]
section of .network file.

IPv4LL works independent of DHCP but if DHCP lease is
aquired, then LL address will be dropped.

[tomegun: removed a trailing newline and a compiler warning]
14 files changed:
Makefile.am
TODO
src/libsystemd-network/ipv4ll-internal.h [new file with mode: 0644]
src/libsystemd-network/ipv4ll-network.c [new file with mode: 0644]
src/libsystemd-network/ipv4ll-packet.c [new file with mode: 0644]
src/libsystemd-network/sd-ipv4ll.c [new file with mode: 0644]
src/libsystemd/sd-rtnl/rtnl-message.c
src/network/networkd-address.c
src/network/networkd-link.c
src/network/networkd-network-gperf.gperf
src/network/networkd-route.c
src/network/networkd.h
src/systemd/sd-ipv4ll.h [new file with mode: 0644]
src/systemd/sd-rtnl.h