summaryrefslogtreecommitdiff
path: root/src/network/netdev
Commit message (Collapse)AuthorAgeFilesLines
* network: also reload .netdev filesYu Watanabe2019-10-242-6/+8
|
* Set key (IFLA_GRE_IKEY,IFLA_GRE_OKEY) on ip6gre interfaces.18482019-10-201-0/+36
|
* network: do not abort execution when a config file cannot be loadedYu Watanabe2019-09-111-1/+1
| | | | Closes #13516.
* network: also check the permission of key fileYu Watanabe2019-09-112-0/+4
|
* network: slightly update log messageYu Watanabe2019-07-261-2/+2
|
* network: rename IGMPVersion= -> MulticastIGMPVersion=Yu Watanabe2019-07-261-1/+1
|
* networkd: bridge add support to set IGMP versionSusant Sahani2019-07-253-0/+53
|
* tree-wide: drop duplicated blank linesYu Watanabe2019-07-151-1/+0
| | | | | | | ``` $ for i in */*.[ch] */*/*.[ch]; do sed -e '/^$/ {N; s/\n$//g}' -i $i; done $ git checkout HEAD -- basic/linux shared/linux ```
* tree-wide: some more [static] related fixesLennart Poettering2019-07-121-0/+2
| | | | | | | | | | | let's add [static] where it was missing so far Drop [static] on parameters that can be NULL. Add an assert() around parameters that have [static] and can't be NULL hence. Add some "const" where it was forgotten.
* network: ip6tnl and vti6 does not support the case both Local= and Remote= ↵Yu Watanabe2019-07-111-20/+12
| | | | | | | | are any This partially revert feb0c8b86f05330c8c7581463b8adf35ea68e5a9. This also drop assertions about Tunnel.family.
* network: add AssignToLoopback= setting to [Tunnel] sectionYu Watanabe2019-07-113-10/+12
| | | | | networkd does not manage loopback interface lo. So, previously, we have no way to assign tunnel devices to lo.
* network: simplify the condition about xfrmYu Watanabe2019-07-111-10/+3
|
* network: support gre tunnel or friends with Local=any Remote=anyYu Watanabe2019-07-111-8/+14
| | | | Fixes #13014.
* Merge pull request #12926 from keszybz/urlify-logsLennart Poettering2019-07-111-2/+2
|\ | | | | Urlify CONFIG_FILE and improve SYSTEMD_LOG_LOCATION
| * tree-wide: use PROJECT_FILE instead of __FILE__Zbigniew Jędrzejewski-Szmek2019-07-041-2/+2
| | | | | | | | This replaces the internal uses of __FILE__ with the new macro.
* | Merge pull request #12965 from keszybz/auto-eraseLennart Poettering2019-07-102-26/+15
|\ \ | | | | | | _cleanup_(erase_and_freep)
| * | Use _cleanup(free_and_erasep) where appropriateZbigniew Jędrzejewski-Szmek2019-07-102-26/+15
| |/ | | | | | | Replaces #12959.
* | Added support for xfrm interfaces18482019-07-105-0/+64
|/
* networkd: shorter two error statements a bitZbigniew Jędrzejewski-Szmek2019-05-301-7/+5
| | | | Also let's not use a cast if we don't have to.
* network: add nlmon supportYu Watanabe2019-05-284-0/+40
| | | | nlmon is a Netlink monitor device.
* network: add NetDevVTable::generate_mac flagYu Watanabe2019-05-2816-1/+29
|
* network: deprecate OneQueue= for tun or tap devicesYu Watanabe2019-05-223-6/+2
| | | | | IFF_ONE_QUEUE has no effect since kernel-3.8. See kernel's commit 5d097109257c03a71845729f8db6b5770c4bbedc.
* network: extend warning messagesYu Watanabe2019-05-221-2/+8
|
* network: Allow IFF_VNET_HDR to also be set for tun devicesYu Watanabe2019-05-221-0/+1
| | | | | | f5f07dbf06f6df9d12e092c05ad8cfbe244d203f adds VnetHeader= for tap devices, but the flag is also used for tun devices. This adds VnetHeader= setting in [Tun] section.
* network: disable IPv4LL for ipvlan with L3 or L3S modeYu Watanabe2019-05-222-0/+18
| | | | As L3 or L3S mode do not support ARP.
* networkd: FOU netdev add support to configure peer portSusant Sahani2019-05-183-2/+18
|
* Merge pull request #12576 from ssahani/fouYu Watanabe2019-05-163-0/+64
|\ | | | | networkd: FOU tunnel support Local and Peer tunnel addresses
| * networkd: FOU tunnel support Local and Peer tunnel addressesSusant Sahani2019-05-163-0/+64
| |
* | networkd: introduce netdev ipvtapSusant Sahani2019-05-165-2/+23
|/ | | | | | | This patch adds netdev ipvtap that is based on the IP-VLAN network interface, called ipvtap. An ipvtap device can be created in the same way as an ipvlan device, using 'kind ipvtap', and then accessed using the tap user space interface.
* networkd: do not generate MAC for bridge device.Susant Sahani2019-05-151-1/+1
| | | | closes https://github.com/systemd/systemd/issues/12558
* Merge pull request #12516 from yuwata/network-split-linkYu Watanabe2019-05-126-3/+248
|\ | | | | networkd: split networkd-link.c
| * network: move MulticastRouter to netdev/bridge.[ch]Yu Watanabe2019-05-112-1/+31
| |
| * network: drop unnecessary initializationsYu Watanabe2019-05-111-1/+1
| |
| * network: move link_set_bond() to netdev/bond.cYu Watanabe2019-05-112-0/+76
| |
| * network: move link_set_bridge to netdev/bridge.cYu Watanabe2019-05-112-0/+139
| |
| * network: make link_drop() can take custom handlerYu Watanabe2019-05-111-1/+1
| | | | | | | | It will be used in the later commit.
* | networkd: Geneve add support for inherit for TTLSusant Sahani2019-05-123-2/+49
|/
* networkd: VXLAN support keyword 'inherit' for TTLSusant Sahani2019-05-103-2/+49
|
* Merge pull request #12520 from ssahani/geneveYu Watanabe2019-05-103-4/+35
|\ | | | | networkd: Geneve add DF feature and allow TTL to bechosen by kernel
| * networkd: Geneve Allow TTL to be zero.Susant Sahani2019-05-101-4/+4
| | | | | | | | Also verify VNI is set
| * networkd: Geneve add support configure IP don't fragmentSusant Sahani2019-05-103-0/+31
| |
* | Merge pull request #12480 from ssahani/proxy-arpYu Watanabe2019-05-1014-7/+14
|\ \ | |/ |/| network: bridge add support to configure proxy ARP/WIFI
| * network: include glibc headers before including kernel headersYu Watanabe2019-05-0914-7/+14
| |
* | networkd: VXLAN add support to configure IP Don't fragment.Susant Sahani2019-05-093-0/+34
| | | | | | | | | | | | Allow users to set the IPv4 DF bit in outgoing packets, or to inherit its value from the IPv4 inner header. If the encapsulated protocol is IPv6 and DF is configured to be inherited, always set it.
* | networkd: Assign VXLAN destination port to when GPE is setSusant Sahani2019-05-091-0/+3
|/ | | | | | | | When VXLAN destination port is unset and GPE is set then assign 4790 to destination port. Kernel does the same as well as iproute. IANA VXLAN-GPE port is 4790
* networkd: VXLAN use correct type for VNISusant Sahani2019-05-082-3/+3
|
* networkd: VXLAN add support to configure Generic Protocol ExtensionSusant Sahani2019-05-083-0/+8
| | | | See https://tools.ietf.org/html/draft-ietf-nvo3-vxlan-gpe-07
* networkd: VXLan TTL must be <= 255Susant Sahani2019-05-071-4/+9
| | | | Ignore when TTL > 255
* networkd: VXLan Make group and remote variable separateSusant Sahani2019-05-073-2/+4
| | | | VXLAN Document Group=
* networkd: VXLAN rename Id to VNISusant Sahani2019-05-073-7/+8
| | | | | | | | It makes more sense to call VXLAN ID as 1. the VXLAN Network Identifier (VNI) (or VXLAN Segment ID) 2. test-network: rename VXLAN Id to VNI 3. fuzzer: Add VXLAN VNI directive to fuzzer