Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EDNS0_OPTION_MAC is dnsmasq EDNS0 code for adding mac option. // https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob;f=src/dns-protocol.h;h=76ac66a8c28317e9c121a74ab5fd0e20f6237dc8;hb=HEAD#l81 // This is also dns.EDNS0LOCALSTART, but define our own constant here for clarification. EDNS0_OPTION_MAC = 0xFDE9 )
Variables ¶
This section is empty.
Functions ¶
func CheckDeactivationPin ¶ added in v1.3.5
CheckDeactivationPin checks if deactivation pin is valid
func ControlSocketName ¶ added in v1.3.6
func ControlSocketName() string
ControlSocketName returns name for control unix socket.
func RunCobraCommand ¶ added in v1.3.1
RunCobraCommand runs ctrld cli.
func RunMobile ¶ added in v1.3.1
func RunMobile(appConfig *AppConfig, appCallback *AppCallback, stopCh chan struct{})
RunMobile runs the ctrld cli on mobile platforms.
Types ¶
Source Files ¶
- ad_others.go
- cli.go
- conn.go
- control_client.go
- control_server.go
- dns.go
- dns_proxy.go
- hostname.go
- library.go
- loop.go
- main.go
- metrics.go
- net_others.go
- netlink_linux.go
- network_manager_linux.go
- nextdns.go
- os_linux.go
- prog.go
- prog_linux.go
- prometheus.go
- reload_others.go
- resolvconf.go
- resolvconf_not_darwin_unix.go
- self_delete_others.go
- self_kill_unix.go
- sema.go
- service.go
- service_others.go
- upstream_monitor.go
Click to show internal directories.
Click to hide internal directories.