github.com/ld86/docker@v1.7.1-rc3/daemon/network/settings.go (about)

     1  package network
     2  
     3  import "github.com/docker/docker/nat"
     4  
     5  type Address struct {
     6  	Addr      string
     7  	PrefixLen int
     8  }
     9  
    10  type Settings struct {
    11  	Bridge                 string
    12  	EndpointID             string
    13  	Gateway                string
    14  	GlobalIPv6Address      string
    15  	GlobalIPv6PrefixLen    int
    16  	HairpinMode            bool
    17  	IPAddress              string
    18  	IPPrefixLen            int
    19  	IPv6Gateway            string
    20  	LinkLocalIPv6Address   string
    21  	LinkLocalIPv6PrefixLen int
    22  	MacAddress             string
    23  	NetworkID              string
    24  	PortMapping            map[string]map[string]string // Deprecated
    25  	Ports                  nat.PortMap
    26  	SandboxKey             string
    27  	SecondaryIPAddresses   []Address
    28  	SecondaryIPv6Addresses []Address
    29  }