Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for AddressFamily (0.57 sec)

  1. pkg/proxy/ipvs/util/ipvs_linux_test.go

    				Port:          80,
    				FWMark:        0,
    				SchedName:     "",
    				Flags:         uint32(FlagPersistent + FlagHashed),
    				Timeout:       0,
    				Netmask:       0xffffffff,
    				AddressFamily: unix.AF_INET,
    				Address:       nil,
    				PEName:        "",
    			},
    			VirtualServer{
    				Address:   netutils.ParseIPSloppy("0.0.0.0"),
    				Protocol:  "TCP",
    				Port:      80,
    				Scheduler: "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 27 16:37:50 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/net/interface.go

    	"encoding/hex"
    	"fmt"
    	"io"
    	"net"
    	"os"
    
    	"strings"
    
    	"k8s.io/klog/v2"
    	netutils "k8s.io/utils/net"
    )
    
    type AddressFamily uint
    
    const (
    	familyIPv4 AddressFamily = 4
    	familyIPv6 AddressFamily = 6
    )
    
    type AddressFamilyPreference []AddressFamily
    
    var (
    	preferIPv4 = AddressFamilyPreference{familyIPv4, familyIPv6}
    	preferIPv6 = AddressFamilyPreference{familyIPv6, familyIPv4}
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/util/ipvs_linux.go

    		Port:      vs.Port,
    		SchedName: vs.Scheduler,
    		Flags:     uint32(vs.Flags),
    		Timeout:   vs.Timeout,
    	}
    
    	if ip4 := vs.Address.To4(); ip4 != nil {
    		ipvsSvc.AddressFamily = unix.AF_INET
    		ipvsSvc.Netmask = 0xffffffff
    	} else {
    		ipvsSvc.AddressFamily = unix.AF_INET6
    		ipvsSvc.Netmask = 128
    	}
    	return ipvsSvc, nil
    }
    
    // toIPVSDestination converts a RealServer to the equivalent IPVS Destination structure.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/internal/syscall/windows/version_windows.go

    	buf := make([]syscall.WSAProtocolInfo, n)
    	n, err := syscall.WSAEnumProtocols(nil, &buf[0], &size)
    	if err != nil {
    		return false
    	}
    	for i := int32(0); i < n; i++ {
    		if buf[i].AddressFamily == syscall.AF_UNIX {
    			return true
    		}
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go

    				}
    			}
    		}
    	}
    }
    
    func TestParseIP(t *testing.T) {
    	testCases := []struct {
    		tcase    string
    		ip       string
    		family   AddressFamily
    		success  bool
    		expected net.IP
    	}{
    		{"empty", "", familyIPv4, false, nil},
    		{"too short", "AA", familyIPv4, false, nil},
    		{"too long", "0011223344", familyIPv4, false, nil},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  6. src/syscall/types_windows.go

    	ServiceFlags3     uint32
    	ServiceFlags4     uint32
    	ProviderFlags     uint32
    	ProviderId        GUID
    	CatalogEntryId    uint32
    	ProtocolChain     WSAProtocolChain
    	Version           int32
    	AddressFamily     int32
    	MaxSockAddr       int32
    	MinSockAddr       int32
    	SocketType        int32
    	Protocol          int32
    	ProtocolMaxOffset int32
    	NetworkByteOrder  int32
    	SecurityScheme    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. cluster/gce/windows/k8s-node-setup.psm1

      Try {
        Get-NetRoute `
            -ErrorAction "Stop" `
            -AddressFamily IPv4 `
            -DestinationPrefix ${GCE_METADATA_SERVER}/32 | Out-Null
      } Catch [Microsoft.PowerShell.Cmdletization.Cim.CimJobException] {
        Log-Output -Fatal `
            ("GCE metadata server route is not present as expected.`n" +
             "$(Get-NetRoute -AddressFamily IPv4 | Out-String)")
      }
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	ServiceFlags3     uint32
    	ServiceFlags4     uint32
    	ProviderFlags     uint32
    	ProviderId        GUID
    	CatalogEntryId    uint32
    	ProtocolChain     WSAProtocolChain
    	Version           int32
    	AddressFamily     int32
    	MaxSockAddr       int32
    	MinSockAddr       int32
    	SocketType        int32
    	Protocol          int32
    	ProtocolMaxOffset int32
    	NetworkByteOrder  int32
    	SecurityScheme    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    		sa.raw.Path[0] = 0
    		// Don't count trailing NUL for abstract address.
    		sl--
    	}
    
    	return unsafe.Pointer(&sa.raw), sl, nil
    }
    
    type RawSockaddrBth struct {
    	AddressFamily  [2]byte
    	BtAddr         [8]byte
    	ServiceClassId [16]byte
    	Port           [4]byte
    }
    
    type SockaddrBth struct {
    	BtAddr         uint64
    	ServiceClassId GUID
    	Port           uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"WSAPROTOCOL_LEN", Const, 2},
    		{"WSAProtocolChain", Type, 2},
    		{"WSAProtocolChain.ChainEntries", Field, 2},
    		{"WSAProtocolChain.ChainLen", Field, 2},
    		{"WSAProtocolInfo", Type, 2},
    		{"WSAProtocolInfo.AddressFamily", Field, 2},
    		{"WSAProtocolInfo.CatalogEntryId", Field, 2},
    		{"WSAProtocolInfo.MaxSockAddr", Field, 2},
    		{"WSAProtocolInfo.MessageSize", Field, 2},
    		{"WSAProtocolInfo.MinSockAddr", Field, 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top