diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-16 05:10:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-16 05:10:35 +0200 |
commit | db439337f90f71c2cb905dfd5366fb494409d215 (patch) | |
tree | 92aa4cbfb933042cd52b76e99ab868fefc9b8dc6 /src/libsystemd/sd-netlink/netlink-types.c | |
parent | 86932c21614d32a2a7dc213e9e93307126d2758d (diff) | |
parent | 4502a61c8a8061025a30a501d4b6cd144bb142e2 (diff) | |
download | systemd-db439337f90f71c2cb905dfd5366fb494409d215.tar.gz |
Merge pull request #12576 from ssahani/fou
networkd: FOU tunnel support Local and Peer tunnel addresses
Diffstat (limited to 'src/libsystemd/sd-netlink/netlink-types.c')
-rw-r--r-- | src/libsystemd/sd-netlink/netlink-types.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/sd-netlink/netlink-types.c index cda9709ea0..9147003b3b 100644 --- a/src/libsystemd/sd-netlink/netlink-types.c +++ b/src/libsystemd/sd-netlink/netlink-types.c @@ -803,6 +803,12 @@ static const NLType genl_fou_types[] = { [FOU_ATTR_IPPROTO] = { .type = NETLINK_TYPE_U8 }, [FOU_ATTR_TYPE] = { .type = NETLINK_TYPE_U8 }, [FOU_ATTR_REMCSUM_NOPARTIAL] = { .type = NETLINK_TYPE_FLAG }, + [FOU_ATTR_LOCAL_V4] = { .type = NETLINK_TYPE_IN_ADDR }, + [FOU_ATTR_PEER_V4] = { .type = NETLINK_TYPE_IN_ADDR }, + [FOU_ATTR_LOCAL_V6] = { .type = NETLINK_TYPE_IN_ADDR }, + [FOU_ATTR_PEER_V6] = { .type = NETLINK_TYPE_IN_ADDR}, + [FOU_ATTR_PEER_PORT] = { .type = NETLINK_TYPE_U16}, + [FOU_ATTR_IFINDEX] = { .type = NETLINK_TYPE_U32}, }; static const NLTypeSystem genl_fou_type_system = { |