Systemd/src/systemd
Susant Sahani 53cb501a13 networkd and sd-netlink: add support for Generic netlink And FooOverUDP to IPIP tunnel
This work add support to generic netlink to sd-netlink.
See https://lwn.net/Articles/208755/

networkd: add support FooOverUDP support to IPIP tunnel netdev
https://lwn.net/Articles/614348/

Example conf:

/lib/systemd/network/1-fou-tunnel.netdev
```
[NetDev]
Name=fou-tun
Kind=fou

[FooOverUDP]
Port=5555
Protocol=4

```

/lib/systemd/network/ipip-tunnel.netdev
```
[NetDev]
Name=ipip-tun
Kind=ipip

[Tunnel]
Independent=true
Local=10.65.208.212
Remote=10.65.208.211
FooOverUDP=true
FOUDestinationPort=5555
```

$ ip -d link show ipip-tun
```
5: ipip-tun@NONE: <POINTOPOINT,NOARP> mtu 1472 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ipip 10.65.208.212 peer 10.65.208.211 promiscuity 0
    ipip remote 10.65.208.211 local 10.65.208.212 ttl inherit pmtudisc encap fou encap-sport auto encap-dport 5555 noencap-csum noencap-csum6 noencap-remcsum numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
```
2018-08-23 11:30:37 +02:00
..
_sd-common.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
meson.build Drop my copyright headers 2018-06-14 13:03:20 +02:00
sd-bus-protocol.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-bus-vtable.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-bus.h sd-bus: make BUS_DEFAULT_TIMEOUT configurable 2018-07-16 15:11:50 +02:00
sd-daemon.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-device.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-dhcp-client.h sd-dhcp: make time value for DUID-LLT configurable 2018-08-08 10:15:00 +09:00
sd-dhcp-lease.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-dhcp-server.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-dhcp6-client.h sd-dhcp: make time value for DUID-LLT configurable 2018-08-08 10:15:00 +09:00
sd-dhcp6-lease.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-event.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-hwdb.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-id128.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-ipv4acd.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-ipv4ll.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
sd-journal.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-lldp.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-login.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-messages.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-ndisc.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
sd-netlink.h networkd and sd-netlink: add support for Generic netlink And FooOverUDP to IPIP tunnel 2018-08-23 11:30:37 +02:00
sd-network.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-path.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-radv.h Correct a number of trivial typos. 2018-06-18 22:44:44 +02:00
sd-resolve.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-utf8.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00