| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This commit rips out systemd-bootchart. It will be given a new home, outside
of the systemd repository. The code itself isn't actually specific to
systemd and can be used without systemd even, so let's put it somewhere
else.
|
|\
| |
| | |
tree-wide: make ++/-- usage consistent WRT spacing
|
| |
| |
| |
| |
| |
| | |
Throughout the tree there's spurious use of spaces separating ++ and --
operators from their respective operands. Make ++ and -- operator
consistent with the majority of existing uses; discard the spaces.
|
|\ \
| | |
| | | |
network: minor manpage clarifications
|
| | |
| | |
| | |
| | |
| | |
| | | |
udevadm test-builtin can be very useful for testing .link files, so add a reference.
Addresses issue #2406.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make it clear that we are talking of links (in the sense used in networkd) and not ports.
Addresses issue #964.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Enabling router advertisement may even trigger SLAAC or DHCPv6 to be used to configure
IPv6 addresses on the link. It may not be obvious that only in the SLAAC case will the
Token have an effect. Clarify this in the man page.
Addresses issue #863.
|
|\ \ \
| |_|/
|/| | |
Personality fixes
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Among other fixes, add information about more architectures that are supported
these days.
|
| | | |
|
| | |
| | |
| | |
| | | |
We have this ids, hence let's use them universally.
|
| | |
| | |
| | |
| | |
| | | |
After all, it is pretty generic, has no external deps besides libc, and is very
similar to virt.[ch] which is also in basic/
|
|\ \ \
| |_|/
|/| | |
Lenovo T460 and P50 touchpad axis corrections
|
| | | |
|
|/ / |
|
|\ \
| |/
|/| |
udev-rules cleanup fix
|
| |
| |
| |
| |
| |
| | |
faccessat returns 0 on success.
A cosmetic fix is also included: the slash was doubled unnecessarily.
|
| |
| |
| |
| |
| |
| | |
It's useful when trying to see what the tests are doing.
I hardcoded '-efile' as the option to strace, but in the future
it might be useful to make this configurable.
|
|\ \
| | |
| | | |
build-sys: add missing header file to Makefile.am
|
|/ /
| |
| |
| | |
Fixes: #2700
|
|\ \
| |/
|/| |
lldp fixes, second iteration
|
| |
| |
| |
| | |
Also, beef up the LLDP documentation a bit.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Instead of just notifying about the fact that something changed in the
database, actually inform the callback what precisely changed. This is useful,
so that the LLDP tx logic can be put into "fast" mode as soon as a previously
unknown peer appears, as suggested by the LLDP spec.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Containers are relatively trusted and the veth tunnels are small networks,
hence let's turn on LLDP both ways for them.
|
| |
| |
| |
| |
| |
| | |
Let's add some minimalistic LLDP sender support. The idea is that this is
either on or off, and all fields determined automatically rather than
configured explicitly.
|
| |
| |
| |
| |
| | |
Let's not get confused should we be connected to some bridge that mirrors back
our packets.
|
| | |
|
| |
| |
| |
| | |
We are now at F23, hence let's use that as example.
|
| |
| |
| |
| |
| | |
These functions are nowadays used only within networkd-link.c, hence ther's no
point in littering our public namespace with them.
|
| |
| |
| |
| |
| |
| |
| | |
Being on the link-layer LLDP is nothing we should turn on only when there's a
link beat. Instead, turn it on, whenever the iface is UP regardless if there's
a link beat or not. This closes the race between a link beat being available
and us subscribing to LLDP as a result.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
After all, if we know that an interface exists but networkd did not store any
info about it, then it's definitely unmanaged by it.
(Note that we add this fix-up to networkctl, and not to sd-network, simply
because a missing file might also be result of the interface not existing.)
|
| | |
|
| |
| |
| |
| | |
Where we knowingly ignore possible error results, let's cast to void.
|
| |
| |
| |
| |
| | |
Instead of serializing the interface name, expose the interface index, since
that's the only stable identifier.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This way "networkctl status" becomes a bit more useful by default, as router
information is just visible, without any further configuration.
LLDP reception is fully passive and relatively low simple and low traffic,
hence this should be safe to enable by default.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a small and useful field to the "systemctl status" output: the
router(s) the interface is connected to as reported via LLDP. Example output:
● 2: enp0s25
Link File: /usr/lib/systemd/network/99-default.link
Type: ether
State: degraded (configured)
Path: pci-0000:00:19.0
Driver: e1000e
Connected To: GS1900 on port 2 (foobar)
i.e. the last line is the relevant one.
|
| | |
|
| |
| |
| |
| |
| | |
Move decode_and_sort_links() into acquire_info_all() which is the only place
this is used. The result is then nicely symmetric to acquire_info_strv().
|
| |
| |
| |
| |
| |
| | |
Let's always use the same calls to acquire interface data. Specifically port
"networkctl status" to use acquire_link_info_strv() and acquire_link_info_all()
like the other calls.
|
| |
| |
| |
| |
| |
| |
| | |
interface names
This way, the output may be reduced to only show data about the specified
interfaces.
|
| |
| |
| |
| | |
and "lldp" verbs
|
| |
| |
| |
| | |
VERB_DEFAULT may only appear once.
|