File: netplan-conf.h

package info (click to toggle)
netcfg 1.199
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,004 kB
  • sloc: ansic: 5,712; sh: 209; makefile: 83
file content (16 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _NETPLAN_CONF_H
#define _NETPLAN_CONF_H

#include "netcfg.h"

/* Constants for maximum size for Netplan config fields. */
#define NETPLAN_MAX_LEN_BUF     1024 /* Max len for most buffers */

/* Some Netplan default values. */
#define NETPLAN_CONFIG_FILE_PATH          "/etc/netplan"
#define NETPLAN_INSTALLER_FILE            "00-installer-config.yaml"

/* Public functions */
void netplan_write_configuration(const struct netcfg_interface *niface);

#endif