Yu Watanabe
c46bce8b5d
basic/linux: add more bridge headers
2021-08-31 21:12:20 +09:00
Yu Watanabe
1370925bc7
basic: copy genetlink.h to repository
2021-08-29 18:01:26 +09:00
Yu Watanabe
4931217a67
basic/linux: update linux uapi headers
2021-08-16 01:07:06 +09:00
Frantisek Sumsal
437e889b18
src: shellcheck-ify shell scripts
2021-04-20 18:39:36 +02:00
Annika Wickert
c0267a592a
network: Implement B.A.T.M.A.N. Advanced interface type
2021-02-25 01:57:29 +09:00
Zbigniew Jędrzejewski-Szmek
9ee03516df
tree-wide: add spdx header on all scripts and helpers
...
Even though many of those scripts are very simple, it is easier to include
the header than to try to say whether each of those files is trivial enough
not to require one.
2021-01-28 09:55:35 +01:00
Yu Watanabe
f9ead1a2f4
Merge pull request #18230 from ssahani/macvlan-bcqueuelen
...
network: macvlan - add support to configure rx queue for broadcast / multicast
2021-01-17 20:05:22 +09:00
Zbigniew Jędrzejewski-Szmek
7975857079
tree-wide: use curl --fail
...
curl will save the 404 response page (or another error) if the page
download fails, which we never want. Let it error out instead.
2021-01-15 18:35:02 +01:00
Susant Sahani
60e49cf9e1
basic: Add macvlan netlink attributes
2021-01-14 14:01:38 +01:00
Yu Watanabe
2e385c48b4
linux: move nl80211.h to basic/linux
...
As sd-netlink uses the header.
2021-01-11 13:31:38 +09:00
Florian Westphal
bcd1a2bb5c
linux: import nf_tables and nfnetlink headers from Linux 5.8
...
Will be used/needed in the upcoming nfnetlink/nftables support.
This follows existing model where kernel uapi headers are cached
locally.
2020-12-16 00:35:56 +01:00
Yu Watanabe
8c47d1103f
basic/linux: update kernel headers
...
From kernel commit 34816d20f173a90389c8a7e641166d8ea9dce70a.
2020-12-03 11:20:59 +09:00
Zbigniew Jędrzejewski-Szmek
69c0807432
Merge pull request #15206 from anitazha/systoomd-v0
...
systemd-oomd
2020-10-15 14:16:52 +02:00
Anita Zhang
510ca79cf2
parse-util: add parse_loadavg_fixed_point
2020-10-07 16:17:24 -07:00
Yu Watanabe
b2f61e0da0
basic: import linux/ipv6_route.h
2020-10-07 15:22:09 +02:00
Yu Watanabe
ed2c2d3655
util: update kernel headers (v5.9-rc5)
2020-09-17 14:51:47 +09:00
Yu Watanabe
e29e5db7df
util: wireguard is merged into upstream kernel
2020-09-17 14:51:47 +09:00
Yu Watanabe
1f58feec73
linux: update headers from v5.6
2020-03-12 19:55:10 +09:00
Yu Watanabe
a834cb5247
Merge pull request #15036 from yuwata/can-termination-mod
...
network: add CAN Termination tristate option
2020-03-07 19:11:03 +09:00
Yu Watanabe
9c01b203a7
linux: add can/netlink.h
2020-03-07 01:53:06 +09:00
Jörg Thalheim
ff12a7954c
treewide: more portable bash shebangs
...
As in 2a5fcfae02
and in 3e67e5c992
using /usr/bin/env allows bash to be looked up in PATH
rather than being hard-coded.
As with the previous changes the same arguments apply
- distributions have scripts to rewrite shebangs on installation and
they know what locations to rely on.
- For tests/compilation we should rather rely on the user to have setup
there PATH correctly.
In particular this makes testing from git easier on NixOS where do not provide
/bin/bash to improve compose-ability.
2020-03-05 17:27:07 +01:00
Yu Watanabe
d3678e3a0b
linux: update headers
2019-12-16 04:37:50 +09:00
Susant Sahani
0f5bd7fe24
network: introduce TrafficControl
...
Add network delay to a interface
2019-10-30 09:33:51 +09:00
Susant Sahani
c16c780804
network: introduce ip nexthop routing
...
Used to manipulate entries in the kernel's nexthop tables.
Example:
```
[NextHop]
Id=3
Gateway=192.168.5.1
```
2019-10-14 21:32:48 +09:00
Yu Watanabe
a3824444e5
linux: update headers from current kernel master
2019-05-16 10:24:47 +09:00
Ben Boeckel
5238e95759
codespell: fix spelling errors
2019-04-29 16:47:18 +02:00
Yu Watanabe
ac9b17271f
linux: import if_ether.h from kernel-5.0
...
kernel-4.15's if_ether.h has a bug that the header does not provide
'struct ethhdr'. The bug is introduced by
6926e041a8920c8ec27e4e155efa760aa01551fd (4.15-rc8)
and fixed by da360299b6734135a5f66d7db458dcc7801c826a (4.16-rc3).
This makes systemd built with kernel-4.15 headers.
Fixes #12319 .
2019-04-16 10:27:01 +02:00
Yu Watanabe
aa81290495
linux: also import l2tp.h from kernel-5.0
...
The L2TP_ATTR_UDP_ZERO_CSUM6_{TX,RX} attributes are introduced by
6b649feafe10b293f4bd5a74aca95faf625ae525, which is included in
kernel-3.16. To support older kernel, let's import the header.
Fixes #12300 .
2019-04-13 22:51:05 +09:00
Yu Watanabe
7057b6144f
linux: also import linux/in.h and in6.h from kernel-5.0
...
Now linux/in.h has better conflict detection with glibc's
netinet/in.h. So, let's import the headers.
Note that our code already have many workarounds for the conflict,
but in this commit does not drop them. Let's do that in the later
commits if this really helps.
2019-04-13 22:44:21 +09:00
Yu Watanabe
76566792e3
linux: move netdevice.h from shared/linux to basic/linux
...
As the header linux/if_arp.h includes linux/netdevice.h.
2019-04-13 22:43:59 +09:00
Yu Watanabe
45cae4abfb
linux: import if_macsec.h from kernel-5.0
...
MACsec is introduced since kernel-4.6. Let's support order kernels.
2019-04-12 10:12:30 +09:00
Yu Watanabe
01234e1fe7
tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0
2019-04-11 19:00:37 +02:00
Lennart Poettering
6577bbe751
build-sys: drop Makefile symlink in src/basic/linux
...
The dir is not used otherwise, hence let's drop the Makefile, so that the dir
stops to exist, too.
2016-02-13 11:59:34 +01:00
Kay Sievers
a095315b3c
build-sys: split internal basic/ library from shared/
...
basic/ can be used by everything
cannot use anything outside of basic/
libsystemd/ can use basic/
cannot use shared/
shared/ can use libsystemd/
2015-06-11 10:52:46 +02:00