1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright © 2017 Susant Sahani
8 typedef struct Geneve Geneve
;
10 #include "in-addr-util.h"
12 #include "networkd-link.h"
13 #include "networkd-network.h"
15 #define GENEVE_VID_MAX (1u << 24) - 1
34 union in_addr_union remote
;
37 DEFINE_NETDEV_CAST(GENEVE
, Geneve
);
38 extern const NetDevVTable geneve_vtable
;
40 int config_parse_geneve_vni(const char *unit
,
44 unsigned section_line
,
51 int config_parse_geneve_address(const char *unit
,
55 unsigned section_line
,
62 int config_parse_geneve_flow_label(const char *unit
,
66 unsigned section_line
,