github.com/mheon/docker@v0.11.2-0.20150922122814-44f47903a831/daemon/network/settings.go (about)

     1  package network
     2  
     3  import "github.com/docker/docker/pkg/nat"
     4  
     5  // Address represents an IP address
     6  type Address struct {
     7  	Addr      string
     8  	PrefixLen int
     9  }
    10  
    11  // Settings stores configuration details about the daemon network config
    12  // TODO Windows. Many of these fields can be factored out.,
    13  type Settings struct {
    14  	Bridge                 string
    15  	EndpointID             string
    16  	SandboxID              string
    17  	Gateway                string
    18  	GlobalIPv6Address      string
    19  	GlobalIPv6PrefixLen    int
    20  	HairpinMode            bool
    21  	IPAddress              string
    22  	IPPrefixLen            int
    23  	IPv6Gateway            string
    24  	LinkLocalIPv6Address   string
    25  	LinkLocalIPv6PrefixLen int
    26  	MacAddress             string
    27  	NetworkID              string
    28  	Ports                  nat.PortMap
    29  	SandboxKey             string
    30  	SecondaryIPAddresses   []Address
    31  	SecondaryIPv6Addresses []Address
    32  }