Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for families (0.37 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/internal/sys/arch.go

    	// pointer between the hardware stack pointer and the local
    	// variable area.
    	FixedFrameSize int64
    }
    
    // InFamily reports whether a is a member of any of the specified
    // architecture families.
    func (a *Arch) InFamily(xs ...ArchFamily) bool {
    	for _, x := range xs {
    		if a.Family == x {
    			return true
    		}
    	}
    	return false
    }
    
    var Arch386 = &Arch{
    	Name:           "386",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 19:51:03 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  10. docs/features/connections.md

    With fast fallback, OkHttp attempts to connect to multiple web servers concurrently. It keeps whichever route connects first and cancels all of the others. Its rules are:
    
     * Prefer to alternate IP addresses from different address families, (IPv6 / IPv4), starting with IPv6.
     * Don't start a new attempt until 250 ms after the most recent attempt was started.
     * Keep whichever TCP connection succeeds first and cancel all the others.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
Back to top