Home
last modified time | relevance | path

Searched refs:firstIP (Results 1 – 25 of 29) sorted by relevance

12

/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/lib/portlayer/network/
H A Dipam.go148 if compareIP4(firstIP, lastIP) > 0 {
163 var firstIP net.IP
168 firstIP = network
203 firstIP = network
210 if firstIP != nil {
244 if !firstIP.Equal(parentRange.FirstIP) {
251 reserved = ip.NewRange(firstIP, lastIP)
292 if compareIP4(firstIP, r.FirstIP) < 0 ||
299 s.reserveSubRange(firstIP, lastIP, i)
371 firstIP := space.availableRanges[0].FirstIP
[all …]
H A Dipam_test.go187 firstIP := net.IPv4(172, 16, 0, 0)
193 if compareIP4(firstIP, subspace.availableRanges[0].FirstIP) != 0 {
194 t.Errorf("got: %s, expected: %s", subspace.availableRanges[0].FirstIP, firstIP)
199 firstIP = net.IPv4(172, firstIP[13]+1, 0, 0)
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/sysutils/docker/docker-ce-18.09.5/components/engine/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/security/vault/vault-1.8.2/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/vendor/github.com/docker/libnetwork/netutils/
H A Dutils.go53 firstIP := network.IP.Mask(network.Mask)
54 lastIP := types.GetIPCopy(firstIP)
55 for i := 0; i < len(firstIP); i++ {
56 lastIP[i] = firstIP[i] | ^network.Mask[i]
60 firstIP = firstIP.To4()
64 return firstIP, lastIP
/dports/sysutils/terraform-provider-vultr/terraform-provider-vultr-0.1.10/vendor/github.com/apparentlymart/go-cidr/cidr/
H A Dcidr.go86 firstIP := network.IP
94 lastIP := make([]byte, len(firstIP))
95 copy(lastIP, firstIP)
96 return firstIP, lastIP
99 firstIPInt, bits := ipToInt(firstIP)
106 return firstIP, intToIP(lastIPInt, bits)
/dports/sysutils/nomad/nomad-1.1.0/vendor/github.com/apparentlymart/go-cidr/cidr/
H A Dcidr.go90 firstIP := network.IP
98 lastIP := make([]byte, len(firstIP))
99 copy(lastIP, firstIP)
100 return firstIP, lastIP
103 firstIPInt, bits := ipToInt(firstIP)
110 return firstIP, intToIP(lastIPInt, bits)
/dports/sysutils/terraform-provider-gridscale/terraform-provider-gridscale-1.6.2/vendor/github.com/apparentlymart/go-cidr/cidr/
H A Dcidr.go90 firstIP := network.IP
98 lastIP := make([]byte, len(firstIP))
99 copy(lastIP, firstIP)
100 return firstIP, lastIP
103 firstIPInt, bits := ipToInt(firstIP)
110 return firstIP, intToIP(lastIPInt, bits)
/dports/net/bosh-bootloader/bosh-bootloader-7.2.12/bosh/
H A Dcidr_block.go11 firstIP IP member
41 firstIP: ip,
50 return c.firstIP.Add(n)
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/apparentlymart/go-cidr/cidr/
H A Dcidr.go108 firstIP := network.IP
116 lastIP := make([]byte, len(firstIP))
117 copy(lastIP, firstIP)
118 return firstIP, lastIP
121 firstIPInt, bits := ipToInt(firstIP)
128 return firstIP, intToIP(lastIPInt, bits)
H A Dcidr_test.go369 firstIP, lastIP := AddressRange(network)
371 gotFirstIP := firstIP.String()
/dports/net-mgmt/phpipam/phpipam-a14bc06/app/login/
H A Drequest_ip_first_free.php13 $firstIP = $Subnets->transform_to_dotted($Addresses->get_first_available_address ($_POST['subnetId'… variable
15 print $firstIP;
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker-credential-helpers/moby-0.4.1/
H A Dnetwork.go28 firstIP := netIP.Mask(network.Mask)
33 return firstIP, lastIP
38 firstIP, _ := networkRange(netX)
39 if netY.Contains(firstIP) {
42 firstIP, _ = networkRange(netY)
43 if netX.Contains(firstIP) {
370 firstIP, _ := networkRange(alloc.network)
371 ipNum := ipToInt(firstIP)
/dports/science/cdk/cdk-cdk-2.3/legacy/src/test/java/org/openscience/cdk/tools/
H A DIonizationPotentialToolTest.java80 double firstIP = carbonIPs.get(0); in testBenzene() local
82 Assert.assertEquals(firstIP, ip, 0.0001); in testBenzene()
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/libp2p/go-cidranger/net/
H A Dip_test.go278 firstIP string
289 ip := NewNetworkNumber(net.ParseIP(tc.firstIP))

12