]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/functions/functions.constants
Move offloading code into an own file
[people/ms/network.git] / src / functions / functions.constants
index 0403478ae6e4bdd4ca4fdb4fb0b1e0b9a98e6567..0d6cdd2fba47fa4db933b054496ed95cd3d905f3 100644 (file)
@@ -32,11 +32,11 @@ PPP_SECRETS=/etc/ppp/secrets
 # Network directory configuration.
 NETWORK_CONFIG_DIR="/etc/network"
 NETWORK_DB_DIR="${RUN_DIR}/db"
-NETWORK_ZONE_DIR="${NETWORK_CONFIG_DIR}"
 NETWORK_HOOKS_DIR=/usr/lib/network/hooks
 NETWORK_HELPERS_DIR=/usr/lib/network/helpers
 NETWORK_PORTS_DIR="${NETWORK_CONFIG_DIR}/ports"
 NETWORK_TRIGGERS_DIR=/usr/lib/network/triggers
+NETWORK_ZONES_DIR="${NETWORK_CONFIG_DIR}/zones"
 NETWORK_SHARE_DIR=/usr/share/network
 NETWORK_CACHE_DIR=/var/cache/network
 
@@ -45,9 +45,15 @@ NETWORK_IPSEC_POOLS_DIR="${NETWORK_CONFIG_DIR}/vpn/ipsec/pools"
 NETWORK_IPSEC_SWANCTL_CONNECTIONS_DIR="/etc/swanctl/connections"
 NETWORK_IPSEC_SWANCTL_POOLS_DIR="/etc/swanctl/pools"
 
+# WPA supplicant
+WPA_SUPPLICANT_CONF_DIR="/etc/wpa_supplicant"
+
 # Network file configuration.
 NETWORK_SETTINGS_FILE=${NETWORK_CONFIG_DIR}/config
 NETWORK_SETTINGS_FILE_PARAMS="DEBUG"
+NETWORK_WIRELESS_NETWORKS_DIR="${NETWORK_CONFIG_DIR}/wireless/networks"
+
+CA_BUNDLE="/etc/pki/tls/certs/ca-bundle.crt"
 CONFIG_HOSTNAME="/etc/hostname"
 
 RED_DB_DIR=${RUN_DIR}/red
@@ -85,6 +91,9 @@ DISCOVER_OK=0
 DISCOVER_ERROR=1
 DISCOVER_NOT_SUPPORTED=2
 
+# Default MTU
+DEFAULT_MTU=1500
+
 # The user is able to create zones that begin
 # with these names followed by a number.
 ZONE_LOCAL="net"
@@ -100,7 +109,6 @@ DEVICE_PRINT_LINE1="    %-24s %s\n"
 
 PORT_PATTERN="pN"
 PORT_PATTERN_ACCESSPOINT="apN"
-PORT_PATTERN_BATMAN_ADV="batN"
 PORT_PATTERN_MESH="mN"
 PORT_PATTERN_WIRELESS="wN"
 PORT_PATTERN_WIRELESS_ADHOC="adhocN"