Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 75 of 75 for indaddr2 (0.09 sec)

  1. pkg/proxy/ipvs/proxier_test.go

    		}
    	}
    }
    
    func Test_syncService(t *testing.T) {
    	testCases := []struct {
    		oldVirtualServer  *utilipvs.VirtualServer
    		svcName           string
    		newVirtualServer  *utilipvs.VirtualServer
    		bindAddr          bool
    		alreadyBoundAddrs sets.Set[string]
    	}{
    		{
    			// case 0, old virtual server is same as new virtual server
    			oldVirtualServer: &utilipvs.VirtualServer{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/route/address.go

    		l = roundup(l)
    	}
    	if len(b) < l {
    		return 0, nil, errInvalidAddr
    	}
    	// Don't reorder case expressions.
    	// The case expressions for IPv6 must come first.
    	const (
    		off4 = 4 // offset of in_addr
    		off6 = 8 // offset of in6_addr
    	)
    	switch {
    	case b[0] == sizeofSockaddrInet6:
    		a := &Inet6Addr{}
    		copy(a.IP[:], b[off6:off6+16])
    		return int(b[0]), a, nil
    	case af == syscall.AF_INET6:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/proxier.go

    		}
    		// Set the source hash flag needed for the distribution method "mh"
    		if proxier.ipvsScheduler == "mh" {
    			serv.Flags |= utilipvs.FlagSourceHash
    		}
    		// We need to bind ClusterIP to dummy interface, so set `bindAddr` parameter to `true` in syncService()
    		if err := proxier.syncService(svcPortNameString, serv, true, alreadyBoundAddrs); err == nil {
    			activeIPVSServices.Insert(serv.String())
    			activeBindAddrs.Insert(serv.Address.String())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  4. src/syscall/syscall_windows.go

    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    type sysLinger struct {
    	Onoff  uint16
    	Linger uint16
    }
    
    type IPMreq struct {
    	Multiaddr [4]byte /* in_addr */
    	Interface [4]byte /* in_addr */
    }
    
    type IPv6Mreq struct {
    	Multiaddr [16]byte /* in6_addr */
    	Interface uint32
    }
    
    func GetsockoptInt(fd Handle, level, opt int) (int, error) {
    	optval := int32(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    type sysLinger struct {
    	Onoff  uint16
    	Linger uint16
    }
    
    type IPMreq struct {
    	Multiaddr [4]byte /* in_addr */
    	Interface [4]byte /* in_addr */
    }
    
    type IPv6Mreq struct {
    	Multiaddr [16]byte /* in6_addr */
    	Interface uint32
    }
    
    func GetsockoptInt(fd Handle, level, opt int) (int, error) {
    	v := int32(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top