Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-15 | hashmap: introduce hash_ops to make struct Hashmap smaller | Michal Schmidt | |
It is redundant to store 'hash' and 'compare' function pointers in struct Hashmap separately. The functions always comprise a pair. Store a single pointer to struct hash_ops instead. systemd keeps hundreds of hashmaps, so this saves a little bit of memory. | |||
2014-09-13 | networkd: remove vestigial event sources | Dave Reisner | |
187fe1db took advantage of floating events, but didn't remove pointers it made superfluous. | |||
2014-09-08 | networkd: allow specification of DHCP route metric | Angus Gibson | |
This lets the routing metric for links to be specified per-network, still defaulting to DHCP_ROUTE_METRIC (1024) if unspecified. Hopefully this helps with multiple interfaces configured via DHCP. | |||
2014-09-08 | networkctl: show the link file applied to each link | Tom Gundersen | |
2014-09-08 | networkctl: show the network file applied to each link | Tom Gundersen | |
2014-09-08 | sd-network: add _get_network_file api | Tom Gundersen | |
2014-09-08 | networkd: add preferred source to dhcp4 gateway route | Emil Renner Berthing | |
This makes DHCPv4 and IPv4LL coexist peacefully. [tomegun: apply to both the dhcp routes, use in_addr_is_null() rather than a separate variable to indicate when prefsrc should be applied] | |||
2014-09-08 | networkd: netdev - failing to create a netdev is not fatal, just fail that ↵ | Tom Gundersen | |
netdev | |||
2014-09-08 | networkd: tuntap - return correct error when /dev/net/tun cannot be opened | Tom Gundersen | |
2014-09-04 | networkd: link - allow loopback links to be manage, but ignore DHCP/IPv4LL | Tom Gundersen | |
2014-09-04 | networkd: link - clarify log message when receiving address for unknown link | Tom Gundersen | |
2014-09-04 | networkd: link - do not manage loopback links | Tom Gundersen | |
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=83134. | |||
2014-09-04 | networkd: link - save link flags when the link is added | Tom Gundersen | |
Don't wait for the link to be fully synchronised. | |||
2014-09-04 | networkd: move carrier gained/lost handling from link_update_flags() to ↵ | Tom Gundersen | |
link_update() This allows us also to simplify link_has_carrier() a bit. | |||
2014-08-31 | test-network: fix off-by-one error in test | Tom Gundersen | |
2014-08-28 | sd-event: name event sources used in libraries | Tom Gundersen | |
This should help in debugging failing event sources. | |||
2014-08-28 | networkctl: do not mix dns and ntp servers | Zbigniew Jędrzejewski-Szmek | |
2014-08-26 | networkd-wait-online: add missing short option 'i' to optstring | Łukasz Stelmach | |
2014-08-21 | notify: send STOPPING=1 from our daemons | Lennart Poettering | |
2014-08-19 | networkd: don't consider deprecated or tentative addresses when determining ↵ | Tom Gundersen | |
operstate https://bugs.freedesktop.org/show_bug.cgi?id=81287 | |||
2014-08-19 | networkd: netdev - add missing callback when adding stacked devices | Tom Gundersen | |
As the comment says, the passed in callback must always be invoked, or the underlying link will hang. This was missed when reworking the code, so add it back in. | |||
2014-08-19 | networkd: link - don't enforce ENSLAVING state | Tom Gundersen | |
We are only guaranteed to stay in ENSLAVING state whilst enslaving by bridges/bonds, not when adding stacked devices (as then the underlying device can be IFF_UP'ed and configured in parallel), so drop these asserts. | |||
2014-08-19 | networkd: fix use-after-free | Tom Gundersen | |
Elements must be removed from the hashtable before they are freed. | |||
2014-08-18 | networkd: fix how we generate lists in link_save() | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=82721 | |||
2014-08-18 | networkd: warn when ignoring unsupported tuntap options | Tom Gundersen | |
The interface for creating tuntap devices should be ported to rtnl so it would support the same settings as other kinds. In the meantime, the best one can do is to drop in a .link file to set the desired options. | |||
2014-08-16 | networkctl: use safe_qsort in case no links are present | Thomas Hindoe Paaboel Andersen | |
Unlikely to happen but still... | |||
2014-08-15 | networkd: print nice warnings if people configure invalid domain names | Lennart Poettering | |
2014-08-15 | networkd: fix minor memory leak | Lennart Poettering | |
2014-08-15 | networkctl: show acquired system domains | Lennart Poettering | |
2014-08-15 | sd-network: add system-wide sd_network_get_domains() API | Lennart Poettering | |
2014-08-15 | networkd: always write out locally configured settings first, dhcp-acquired ↵ | Lennart Poettering | |
ones later This is primarily important for the domains list, as we really should prefer the locally configured domain over the dhcp supplied ones when we use it as a search list. | |||
2014-08-15 | networkd: remove "*" from domains list | Lennart Poettering | |
Also, simplify things a bit and make sure we don't forget looking at one of the entries. | |||
2014-08-15 | networkctl: two OOM fixes | Lennart Poettering | |
2014-08-15 | sd-network: add support for wildcard domains | Tom Gundersen | |
2014-08-15 | networkd: add support for Domains= to .network files | Tom Gundersen | |
This allows the search/routing domanis to be specified per link/network and be passed on to resolved. | |||
2014-08-15 | util: never use ether_ntoa(), since it formats with %x, not %02x, which ↵ | Lennart Poettering | |
makes ethernet addresses look funny | |||
2014-08-15 | networkctl: increase column width for link type to 18, to accomodate for ↵ | Lennart Poettering | |
'ieee80211_radiotap' | |||
2014-08-15 | networkd: rename UseDomainName to UseDomains | Tom Gundersen | |
This option will also apply to the search domains, so make it plural. | |||
2014-08-15 | networkctl: print local domain name in status output | Lennart Poettering | |
2014-08-15 | networkd: don't respect domainname from DHCP by default | Tom Gundersen | |
Most routers will send garbage, so make this opt-in only. | |||
2014-08-14 | sd-network: add sd_network_linkg_get_domains() | Tom Gundersen | |
For now this only exposes the domain name (DHCP Option 15), and not the search string (DHCP Option 119), which will be implemented in a follow-up patch. | |||
2014-08-14 | networkd: link - don't enter LINK_CONFIGURED more than once | Tom Gundersen | |
2014-08-14 | networkd: link - print address lifetime for tracked addresses | Tom Gundersen | |
This should help in debugging issues with DHCP lease renewal. | |||
2014-08-14 | networkctl: also use the same color logic when running "networkctl status" ↵ | Lennart Poettering | |
without arguments | |||
2014-08-14 | networkctl: add the same color logic to "list" and "status" outputs | Lennart Poettering | |
And always put operational state first, setup state second. | |||
2014-08-14 | networkctl: name setup state variable setup_state | Lennart Poettering | |
2014-08-14 | networkctl: update column header to new 'setup' state naming | Lennart Poettering | |
2014-08-13 | sd-networkd: rename link_get_state to link_get_setup_state | Tom Gundersen | |
Suggested by Kay and Lennart. | |||
2014-08-13 | sd-network: rename operstates 'down' -> 'off' and 'up' -> 'no-carrier' | Tom Gundersen | |
Suggested by Lennart and Kay. | |||
2014-08-13 | sd-network: /_get_link_/_link_get_/ | Tom Gundersen | |
The link is the 'object', so make this in line with our usual naming convention. Suggested by Kay and Lennart. |