;ELC
;;; Compiled
;;; in Emacs version 26.1
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#@64 Return absolute name of COMMAND if found in an sbin directory.
(defalias 'net-utils--executable-find-sbin #[(command) "\302\303 !)\207" [exec-path command ("/sbin" "/usr/sbin" "/usr/local/sbin") executable-find] 2 (#$ . 408)])
(byte-code "\302\303\304\305\306\307\310\311\312\313& \210\314\315\316\317\310\303\320\321&\210\314\322\304\323\310\303\320\324&\210\314\325\326\327\310\303\320\321&\210\314\330\331\332\310\303\320\333&\210\334\335\336\304#\210\337\304\211\203e @\335N\203^ \336N\204^ \340\336\335N#\210 A\211\204G *\341\335\336\342#\210\314\336\343\344\312\345\310\303\320\321& \210\334\346\347\304#\210\337\304\211\203\245 @\346N\203\236 \347N\204\236 \340\347\346N#\210 A\211\204\207 *\341\346\347\342#\210\314\347\350\351\312\345\352\353\310\303\320\354&\210\314\355\356\357\310\303\320\321\312\360& \210\314\361\362\363\310\303\320\364\312\360& \210\314\365\366\367\310\303\320\321\312\360& \210\314\370\371\372\310\303\320\373&\210\314\374\375\376\310\303\320\321&\210\314\377\201@ \201A \310\303\320\201B &\210\314\201C \201D \201E \310\303\320\321\312\360& \210\314\201F \201G \201H \310\303\320\201I \312\360& \210\314\201J \201K \201L \310\303\320\321&\210\314\201M \304\201N \310\303\320\201O &\210\314\201P \201Q \201R \310\303\320\201S &\210\314\201T \201U \201V \310\303\320\321&\210\314\201W \304\201X \310\303\320\201Y \312\360& \210\314\201Z \201[ \201\\ \310\303\320\321&\210\314\201] \304\201^ \310\303\320\201_ &\210\314\201` \201a \201b \310\303\320\201S &\210\314\201c \201d \201e \310\303\320\321&\210\314\201f \304\201g \310\303\320\201h &\210\314\201i \201j \201k \310\303\320\201S &\210\314\201l \201m \201L \310\303\320\321&\210\314\201n \304\201o \310\303\320\201p &\207" [prop --dolist-tail-- custom-declare-group net-utils nil "Network utility functions." :prefix "net-utils-" :group comm :version "20.3" custom-declare-variable traceroute-program (if (eq system-type 'windows-nt) "tracert" "traceroute") "Program to trace network hops to a destination." :type string traceroute-program-options "Options for the traceroute program." (repeat string) ping-program "ping" "Program to send network test packets to a host." ping-program-options (and (eq system-type 'gnu/linux) (list "-c" "4")) "Options for the ping program.\nThese options can be used to limit how many ICMP packets are emitted." (repeat string) defvaralias ipconfig-program ifconfig-program (saved-value saved-variable-comment) put make-obsolete-variable "22.2" (cond ((eq system-type 'windows-nt) "ipconfig") ((executable-find "ifconfig") "ifconfig") ((net-utils--executable-find-sbin "ifconfig")) ((net-utils--executable-find-sbin "ip")) (t "ip")) "Program to print network configuration information." "25.1" ipconfig-program-options ifconfig-program-options (cond ((string-match "ipconfig\\'" ifconfig-program) '("/all")) ((string-match "ifconfig\\'" ifconfig-program) '("-a")) ((string-match "ip\\'" ifconfig-program) '("addr"))) "Options for the ifconfig program." :set-after (ifconfig-program) (repeat string) iwconfig-program (cond ((executable-find "iwconfig") "iwconfig") ((net-utils--executable-find-sbin "iw") "iw") (t "iw")) "Program to print wireless network configuration information." "26.1" iwconfig-program-options (cond ((string-match-p "iw\\'" iwconfig-program) (list "dev")) (t nil)) "Options for the iwconfig program." (repeat string) netstat-program (cond ((executable-find "netstat") "netstat") ((net-utils--executable-find-sbin "ss")) (t "ss")) "Program to print network statistics." netstat-program-options (list "-a") "Options for the netstat program." (repeat string) arp-program (or (net-utils--executable-find-sbin "arp") "arp") "Program to print IP to address translation tables." arp-program-options (list "-a") "Options for the arp program." (repeat string) route-program (cond ((eq system-type 'windows-nt) "route") ((executable-find "netstat") "netstat") ((net-utils--executable-find-sbin "netstat")) ((executable-find "ip") "ip") ((net-utils--executable-find-sbin "ip")) (t "ip")) "Program to print routing tables." route-program-options (cond ((eq system-type 'windows-nt) (list "print")) ((string-match-p "netstat\\'" route-program) (list "-r")) (t (list "route"))) "Options for the route program." (repeat string) nslookup-program "nslookup" "Program to interactively query DNS information." nslookup-program-options "Options for the nslookup program." (repeat string) nslookup-prompt-regexp "^> " "Regexp to match the nslookup prompt.\n\nThis variable is only used if the variable\n`comint-use-prompt-regexp' is non-nil." regexp dig-program "dig" "Program to query DNS information." dig-program-options "Options for the dig program." (repeat string) ftp-program "ftp" "Program to run to do FTP transfers." ftp-program-options "Options for the ftp program." (repeat string) ftp-prompt-regexp "^ftp>" "Regexp which matches the FTP program's prompt.\n\nThis variable is only used if the variable\n`comint-use-prompt-regexp' is non-nil." smbclient-program "smbclient" "Smbclient program." smbclient-program-options "Options for the smbclient program." (repeat string) smbclient-prompt-regexp "^smb: >" "Regexp which matches the smbclient program's prompt.\n\nThis variable is only used if the variable\n`comint-use-prompt-regexp' is non-nil." dns-lookup-program "host" dns-lookup-program-options "Options for the dns-lookup program." (repeat string)] 13)
(defvar network-connection-service nil)
(defvar network-connection-host nil)
#@40 Expressions to font-lock for nslookup.
(defvar nslookup-font-lock-keywords (byte-code "\301\302\303E\304\305\306E\307\310\311\312\313\"\314#\302\315E\316\307\310\311\317\"\314#\320\321R)\302\315EF\207" [host-expression "^[A-Za-z0-9 _]+:" 0 font-lock-type-face "\\<\\(SOA\\|NS\\|MX\\|A\\|CNAME\\)\\>" 1 font-lock-keyword-face mapconcat identity make-list 4 "[0-9]+" "\\." font-lock-variable-name-face "[-A-Za-z0-9]+" 2 "\\(\\." "\\)*"] 8) (#$ . 5924))
#@57 Expressions to font-lock for general network utilities.
(defvar net-utils-font-lock-keywords (byte-code "\301\302\303\304\305\"\306#\307\310E\311\307\310E\312\301\302\303\313\"\306#\314\315R)\307\310EE\207" [host-expression mapconcat identity make-list 4 "[0-9]+" "\\." 0 font-lock-variable-name-face "\\( \\([[:xdigit:]]+\\(:\\|::\\)\\)+[[:xdigit:]]+\\)\\|\\(::[[:xdigit:]]+\\)" "[-A-Za-z0-9]+" 2 "\\(\\." "\\)*"] 7) (#$ . 6384))
(defvar net-utils-mode-hook nil)
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [net-utils-mode-hook variable-documentation put "Hook run after entering NetworkUtil mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp net-utils-mode-map definition-name net-utils-mode] 4)
(defvar net-utils-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\322#\207" [net-utils-mode-abbrev-table net-utils-mode-map variable-documentation put purecopy "Keymap for `net-utils-mode'." boundp net-utils-mode-syntax-table definition-name net-utils-mode (lambda (#1=#:def-tmp-var) (defvar net-utils-mode-syntax-table #1#)) make-syntax-table "Syntax table for `net-utils-mode'." (lambda (#1#) (defvar net-utils-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `net-utils-mode'." derived-mode-parent special-mode] 5)
#@261 Major mode for interacting with an external network utility.
In addition to any hooks its parent mode `special-mode' might have run,
this mode runs the hook `net-utils-mode-hook', as the final or penultimate step
during initialization.
\{net-utils-mode-map}
(defalias 'net-utils-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204' \316\317 \"\210\320\f!\211\2036
\321 =\203< |