summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/ipv4ll-network.c
Commit message (Collapse)AuthorAge
* sd-network: make socket filter programs static const where possibleLennart Poettering2014-07-29
| | | | | (also, fix some whitespace/indentation issues, and avoid "index" as identifier in order to not clash against libc's "index()" call)
* sd-dhcp: network - don't leak sockets on failureTom Gundersen2014-05-06
| | | | Also some general cleanups
* ipv4ll: use BPF on raw socketTom Gundersen2014-04-07
| | | | This should significantly reduce spurious wakeups.
* sd-ipv4ll: fix packet broadcastingTom Gundersen2014-04-07
| | | | | Umut said: 'I have noticed a bug that we are sending PROBE/ANNOUNCE messages on 00:00:00:00:00:00 address where it should be broadcast.'
* sd-ipv4ll: speed up bind() in the same way as for dhcpTom Gundersen2014-04-01
|
* util: replace close_nointr_nofail() by a more useful safe_close()Lennart Poettering2014-03-18
| | | | | | | | | | | | | | | safe_close() automatically becomes a NOP when a negative fd is passed, and returns -1 unconditionally. This makes it easy to write lines like this: fd = safe_close(fd); Which will close an fd if it is open, and reset the fd variable correctly. By making use of this new scheme we can drop a > 200 lines of code that was required to test for non-negative fds or to reset the closed fd variable afterwards.
* sd-network: IPv4 link-local support [v2]Umut Tezduyar Lindskog2014-03-03
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]