diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-05 17:35:55 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-07 12:33:16 +0100 |
commit | e49bad0179cb670edeac12ef062887af0ac4c8c5 (patch) | |
tree | 3a2aad2367545af6964980ac6608d092448cb604 /src/network/netdev/tunnel.h | |
parent | sd-dhcp-client: support 6rd option (diff) | |
download | systemd-e49bad0179cb670edeac12ef062887af0ac4c8c5.tar.xz systemd-e49bad0179cb670edeac12ef062887af0ac4c8c5.zip |
network: dhcp-pd: add 6rd support
Closes #19152.
Diffstat (limited to 'src/network/netdev/tunnel.h')
-rw-r--r-- | src/network/netdev/tunnel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/netdev/tunnel.h b/src/network/netdev/tunnel.h index 35021e9409..0f387ae68d 100644 --- a/src/network/netdev/tunnel.h +++ b/src/network/netdev/tunnel.h @@ -6,6 +6,7 @@ #include "conf-parser.h" #include "fou-tunnel.h" #include "netdev.h" +#include "networkd-link.h" typedef enum Ip6TnlMode { NETDEV_IP6_TNL_MODE_IP6IP6, @@ -60,6 +61,9 @@ typedef struct Tunnel { uint8_t sixrd_prefixlen; } Tunnel; +int dhcp4_pd_create_6rd_tunnel_name(Link *link, char **ret); +int dhcp4_pd_create_6rd_tunnel(Link *link, link_netlink_message_handler_t callback); + DEFINE_NETDEV_CAST(IPIP, Tunnel); DEFINE_NETDEV_CAST(GRE, Tunnel); DEFINE_NETDEV_CAST(GRETAP, Tunnel); |