github.com/hustcat/docker@v1.3.3-0.20160314103604-901c67a8eeab/daemon/network/settings.go (about) 1 package network 2 3 import ( 4 networktypes "github.com/docker/engine-api/types/network" 5 "github.com/docker/go-connections/nat" 6 ) 7 8 // Settings stores configuration details about the daemon network config 9 // TODO Windows. Many of these fields can be factored out., 10 type Settings struct { 11 Bridge string 12 SandboxID string 13 HairpinMode bool 14 LinkLocalIPv6Address string 15 LinkLocalIPv6PrefixLen int 16 Networks map[string]*networktypes.EndpointSettings 17 Ports nat.PortMap 18 SandboxKey string 19 SecondaryIPAddresses []networktypes.Address 20 SecondaryIPv6Addresses []networktypes.Address 21 IsAnonymousEndpoint bool 22 }