Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for families (0.12 sec)

  1. cmd/kube-apiserver/app/options/validation_test.go

    	}{
    		{
    			name: "master endpoint reconciler - IPv4 families",
    			extra: Extra{
    				EndpointReconcilerType:       "master-count",
    				PrimaryServiceClusterIPRange: *ipv4cidr,
    			},
    			generic: apiserveroptions.ServerRunOptions{
    				AdvertiseAddress: ipv4address,
    			},
    			wantErr: false,
    		},
    		{
    			name: "master endpoint reconciler - IPv6 families",
    			extra: Extra{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/capture/run_linux.go

    			// Equivalent to `ip rule add fwmark <tproxyMark> lookup <tproxyTable>`
    			families := []int{unix.AF_INET}
    			if cfg.EnableIPv6 {
    				families = append(families, unix.AF_INET6)
    			}
    			for _, family := range families {
    				r := netlink.NewRule()
    				r.Family = family
    				r.Table = tproxyTable
    				r.Mark = tproxyMark
    				if err := netlink.RuleAdd(r); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables_linux.go

    }
    
    func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error {
    	var rules []*netlink.Rule
    	families := []int{unix.AF_INET}
    	if cfg.EnableIPv6 {
    		families = append(families, unix.AF_INET6)
    	}
    	for _, family := range families {
    		// Equiv:
    		// ip rule add fwmark 0x111/0xfff pref 32764 lookup 100
    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. pkg/api/service/testing/make.go

    	return func(svc *api.Service) {
    		svc.Spec.ClusterIP = ips[0]
    		svc.Spec.ClusterIPs = ips
    	}
    }
    
    // SetIPFamilies sets the service IPFamilies field.
    func SetIPFamilies(families ...api.IPFamily) Tweak {
    	return func(svc *api.Service) {
    		svc.Spec.IPFamilies = families
    	}
    }
    
    // SetIPFamilyPolicy sets the service IPFamilyPolicy field.
    func SetIPFamilyPolicy(policy api.IPFamilyPolicy) Tweak {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. pkg/registry/core/service/storage/alloc.go

    			if *(service.Spec.IPFamilyPolicy) != api.IPFamilyPolicySingleStack {
    				// add the alt ipfamily
    				if service.Spec.IPFamilies[0] == api.IPv4Protocol {
    					service.Spec.IPFamilies = append(service.Spec.IPFamilies, api.IPv6Protocol)
    				} else {
    					service.Spec.IPFamilies = append(service.Spec.IPFamilies, api.IPv4Protocol)
    				}
    			}
    		}
    
    		// nothing more needed here
    		return nil
    	}
    
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_other.go

    // platform-specific setup.
    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	return unsupportedError
    }
    
    // platformCheckSupported is called immediately before creating the Proxier, to check
    // what IP families are supported (and whether the configuration is usable at all).
    func (s *ProxyServer) platformCheckSupported(ctx context.Context) (ipv4Supported, ipv6Supported, dualStackSupported bool, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. pkg/proxy/util/utils.go

    				Namespace: svcNamespace,
    				UID:       svcUID,
    			}, nil, v1.EventTypeWarning, "KubeProxyIncorrectIPVersion", "GatherEndpoints", errMsg)
    	}
    }
    
    // MapIPsByIPFamily maps a slice of IPs to their respective IP families (v4 or v6)
    func MapIPsByIPFamily(ipStrings []string) map[v1.IPFamily][]net.IP {
    	ipFamilyMap := map[v1.IPFamily][]net.IP{}
    	for _, ipStr := range ipStrings {
    		ip := netutils.ParseIPSloppy(ipStr)
    		if ip != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. pkg/proxy/util/nodeport_addresses.go

    var ipv4LoopbackStart = net.IPv4(127, 0, 0, 0)
    
    // NewNodePortAddresses takes an IP family and the `--nodeport-addresses` value (which is
    // assumed to contain only valid CIDRs, potentially of both IP families) and returns a
    // NodePortAddresses object for the given family. If there are no CIDRs of the given
    // family then the CIDR "0.0.0.0/0" or "::/0" will be added (even if there are CIDRs of
    // the other family).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/lif/link.go

    	Index int    // index, equivalent to IP interface index
    	Type  int    // type
    	Flags int    // flags
    	MTU   int    // maximum transmission unit, basically link MTU but may differ between IP address families
    	Addr  []byte // address
    }
    
    func (ll *Link) fetch(s uintptr) {
    	var lifr lifreq
    	for i := 0; i < len(ll.Name); i++ {
    		lifr.Name[i] = int8(ll.Name[i])
    	}
    	ioc := int64(syscall.SIOCGLIFINDEX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server_windows.go

    		s.NodeIPs[v1.IPv6Protocol] = net.IPv6zero
    	} else {
    		s.NodeIPs[v1.IPv4Protocol] = net.IPv4zero
    	}
    	return nil
    }
    
    // platformCheckSupported is called immediately before creating the Proxier, to check
    // what IP families are supported (and whether the configuration is usable at all).
    func (s *ProxyServer) platformCheckSupported(ctx context.Context) (ipv4Supported, ipv6Supported, dualStackSupported bool, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top