add missing network directives
This commit is contained in:
parent
968ae5ee04
commit
f69d903fee
@ -27,7 +27,7 @@
|
|||||||
(declare-function company-begin-backend "company")
|
(declare-function company-begin-backend "company")
|
||||||
(declare-function company-grab-symbol "company")
|
(declare-function company-grab-symbol "company")
|
||||||
|
|
||||||
(defconst systemd-company-directives
|
(defconst systemd-company-unit-directives
|
||||||
;; TODO: keep a script of sorts for generating this list. systemd
|
;; TODO: keep a script of sorts for generating this list. systemd
|
||||||
;; source has a python script in tools/ for parsing the
|
;; source has a python script in tools/ for parsing the
|
||||||
;; documentation xml for the unit directives.
|
;; documentation xml for the unit directives.
|
||||||
@ -105,7 +105,39 @@
|
|||||||
"TimerSlackNSec" "Transparent" "Type" "UMask" "Unit" "User"
|
"TimerSlackNSec" "Transparent" "Type" "UMask" "Unit" "User"
|
||||||
"UtmpIdentifier" "WakeSystem" "WantedBy" "Wants" "WatchdogSec" "What"
|
"UtmpIdentifier" "WakeSystem" "WantedBy" "Wants" "WatchdogSec" "What"
|
||||||
"Where" "WorkingDirectory")
|
"Where" "WorkingDirectory")
|
||||||
"Configuration directives for systemd 220.")
|
"Configuration directives for systemd 224.")
|
||||||
|
|
||||||
|
(defconst systemd-company-network-directives
|
||||||
|
;; /Network directives/,/Journal fields/p
|
||||||
|
'("ARPAllTargets" "ARPIPTargets" "ARPIntervalSec" "ARPProxy" "ARPValidate"
|
||||||
|
"AdSelect" "Address" "AllSlavesActive" "AllowPortToBeRoot"
|
||||||
|
"Architecture" "BindCarrier" "BitsPerSecond" "Bond" "Bridge"
|
||||||
|
"ClientIdentifier" "CopyDSCP" "Cost" "CriticalConnection" "DHCP"
|
||||||
|
"DHCPServer" "DNS" "Destination" "DiscoverPathMTU" "Domains"
|
||||||
|
"DownDelaySec" "Driver" "Duplex" "FDBAgeingSec" "FailOverMACPolicy"
|
||||||
|
"FallbackDNS" "FallbackNTP" "FastLeave" "Gateway" "GratuitousARP"
|
||||||
|
"GroupPolicyExtension" "HairPin" "Host" "Hostname" "IPForward"
|
||||||
|
"IPMasquerade" "IPv4LLRoute" "IPv6FlowLabel" "IPv6PrivacyExtensions"
|
||||||
|
"IPv6Token" "Id" "KernelCommandLine" "Kind" "L2MissNotification"
|
||||||
|
"L3MissNotification" "LACPTransmitRate" "LLDP" "LLMNR" "Label"
|
||||||
|
"LearnPacketIntervalSec" "LinkLocalAddressing" "Local" "MACAddress"
|
||||||
|
"MACAddressPolicy" "MACVLAN" "MIIMonitorSec" "MTUBytes" "MacLearning"
|
||||||
|
"Metric" "MinLinks" "Mode" "MultiQueue" "NTP" "Name" "NamePolicy"
|
||||||
|
"OneQueue" "OriginalName" "PacketInfo" "PacketsPerSlave" "Path" "Peer"
|
||||||
|
"PrimaryReselectPolicy" "Remote" "RequestBroadcast" "ResendIGMP"
|
||||||
|
"RouteMetric" "RouteShortCircuit" "Scope" "SendHostname" "Source" "TOS"
|
||||||
|
"TTL" "TransmitHashPolicy" "Tunnel" "UDP6ZeroCheckSumRx"
|
||||||
|
"UDP6ZeroChecksumTx" "UDPCheckSum" "UnicastFlood" "UpDelaySec" "UseBPDU"
|
||||||
|
"UseDNS" "UseDomains" "UseHostname" "UseMTU" "UseNTP" "UseRoutes" "VLAN"
|
||||||
|
"VLANId" "VNetHeader" "VXLAN" "VendorClassIdentifier" "Virtualization"
|
||||||
|
"WakeOnLan")
|
||||||
|
"Network configuration directives for systemd 224.")
|
||||||
|
|
||||||
|
(defconst systemd-company-directives
|
||||||
|
(append systemd-company-unit-directives systemd-company-network-directives)
|
||||||
|
"Configuration directives for systemd.
|
||||||
|
Combination of `systemd-company-unit-directives' and
|
||||||
|
`systemd-company-network-directives'.")
|
||||||
|
|
||||||
(defun systemd-company--setup (enable)
|
(defun systemd-company--setup (enable)
|
||||||
(when (fboundp 'systemd-company--setup-company)
|
(when (fboundp 'systemd-company--setup-company)
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
;; Copyright (C) 2014-2015 Mark Oteiza <mvoteiza@udel.edu>
|
;; Copyright (C) 2014-2015 Mark Oteiza <mvoteiza@udel.edu>
|
||||||
|
|
||||||
;; Author: Mark Oteiza <mvoteiza@udel.edu>
|
;; Author: Mark Oteiza <mvoteiza@udel.edu>
|
||||||
;; Version: 1.2.1
|
;; Version: 1.2.2
|
||||||
;; Package-Requires: ((emacs "24.4"))
|
;; Package-Requires: ((emacs "24.4"))
|
||||||
;; Keywords: tools, unix
|
;; Keywords: tools, unix
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user