1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include <linux/if_link.h> 5 6 #include "conf-parser.h" 7 8 typedef enum GeneveDF { 9 NETDEV_GENEVE_DF_UNSET = GENEVE_DF_UNSET, 10 NETDEV_GENEVE_DF_SET = GENEVE_DF_SET, 11 NETDEV_GENEVE_DF_INHERIT = GENEVE_DF_INHERIT, 12 _NETDEV_GENEVE_DF_MAX, 13 _NETDEV_GENEVE_DF_INVALID = -EINVAL, 14 } GeneveDF; 15 16 const char *geneve_df_to_string(GeneveDF d) _const_; 17 GeneveDF geneve_df_from_string(const char *d) _pure_; 18