Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for addrtype (0.36 sec)

  1. pilot/pkg/serviceregistry/kube/controller/network.go

    		Cluster: n.clusterID,
    	}
    	newGateways := model.NetworkGatewaySet{}
    	for _, addr := range gw.Spec.Addresses {
    		if addr.Type == nil {
    			continue
    		}
    		if addrType := *addr.Type; addrType != v1beta1.IPAddressType && addrType != v1beta1.HostnameAddressType {
    			continue
    		}
    		for _, l := range slices.Filter(gw.Spec.Listeners, autoPassthrough) {
    			networkGateway := base
    			networkGateway.Addr = addr.Value
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/proxier_test.go

    	if rule.SourceAddress != nil && !addressMatches(tracer.t, rule.SourceAddress, sourceIP) {
    		return false
    	}
    	if rule.SourceType != nil {
    		addrtype := "not-matched"
    		if tracer.localIPs.Has(sourceIP) {
    			addrtype = "LOCAL"
    		}
    		if !rule.SourceType.Matches(addrtype) {
    			return false
    		}
    	}
    
    	if rule.Protocol != nil && !rule.Protocol.Matches(protocol) {
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    	// table for 'name'.
    	NAME_GOTREF
    	// Indicates that this is a reference to a TOC anchor.
    	NAME_TOCREF
    )
    
    //go:generate stringer -type AddrType
    
    type AddrType uint8
    
    const (
    	TYPE_NONE AddrType = iota
    	TYPE_BRANCH
    	TYPE_TEXTSIZE
    	TYPE_MEM
    	TYPE_CONST
    	TYPE_FCONST
    	TYPE_SCONST
    	TYPE_REG
    	TYPE_ADDR
    	TYPE_SHIFT
    	TYPE_REGREG
    	TYPE_REGREG2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. pkg/controller/endpointslicemirroring/reconciler_test.go

    		at := getAddressType(address.IP)
    		if at != nil && *at == addrType && len(expectedEndpoints) < maxEndpointsPerSubset {
    			expectedEndpoints[address.IP] = addressInfo{
    				ready:     true,
    				epAddress: address,
    			}
    		}
    	}
    
    	for _, address := range epSubset.NotReadyAddresses {
    		at := getAddressType(address.IP)
    		if at != nil && *at == addrType && len(expectedEndpoints) < maxEndpointsPerSubset {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    		pp := (*RawSockaddrTIPC)(unsafe.Pointer(rsa))
    
    		sa := &SockaddrTIPC{
    			Scope: int(pp.Scope),
    		}
    
    		// Determine which union variant is present in pp.Addr by checking
    		// pp.Addrtype.
    		switch pp.Addrtype {
    		case TIPC_SERVICE_RANGE:
    			sa.Addr = (*TIPCServiceRange)(unsafe.Pointer(&pp.Addr))
    		case TIPC_SERVICE_ADDR:
    			sa.Addr = (*TIPCServiceName)(unsafe.Pointer(&pp.Addr))
    		case TIPC_SOCKET_ADDR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  6. pkg/proxy/iptables/proxier.go

    				// short-circuited by the EXT chain.)
    				filterRules.Write(
    					"-A", string(kubeExternalServicesChain),
    					"-m", "comment", "--comment", externalTrafficFilterComment,
    					"-m", "addrtype", "--dst-type", "LOCAL",
    					"-m", protocol, "-p", protocol,
    					"--dport", strconv.Itoa(svcInfo.NodePort()),
    					"-j", externalTrafficFilterTarget,
    				)
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier.go

    		externalTrafficOnlyArgs := append(args,
    			"-m", "physdev", "!", "--physdev-is-in",
    			"-m", "addrtype", "!", "--src-type", "LOCAL")
    		proxier.natRules.Write(externalTrafficOnlyArgs, "-j", "ACCEPT")
    		dstLocalOnlyArgs := append(args, "-m", "addrtype", "--dst-type", "LOCAL")
    		// Allow traffic bound for external IPs that happen to be recognized as local IPs to stay local.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/conversion.go

    			for _, addr := range addressesToReport {
    				var addrType k8s.AddressType
    				if _, err := netip.ParseAddr(addr); err == nil {
    					addrType = k8s.IPAddressType
    				} else {
    					addrType = k8s.HostnameAddressType
    				}
    				gs.Addresses = append(gs.Addresses, k8s.GatewayStatusAddress{
    					Value: addr,
    					Type:  &addrType,
    				})
    			}
    		}
    		// Prune listeners that have been removed
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  9. src/syscall/types_windows.go

    	FILE_TYPE_DISK    = 0x0001
    	FILE_TYPE_PIPE    = 0x0003
    	FILE_TYPE_REMOTE  = 0x8000
    	FILE_TYPE_UNKNOWN = 0x0000
    )
    
    type Hostent struct {
    	Name     *byte
    	Aliases  **byte
    	AddrType uint16
    	Length   uint16
    	AddrList **byte
    }
    
    type Protoent struct {
    	Name    *byte
    	Aliases **byte
    	Proto   uint16
    }
    
    const (
    	DNS_TYPE_A       = 0x0001
    	DNS_TYPE_NS      = 0x0002
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/serviceregistry_test.go

    }
    
    // nolint: unparam
    func createEndpointSliceWithType(t *testing.T, c kubernetes.Interface, name, serviceName, namespace string,
    	ports []v1.EndpointPort, ips []string, addrType discovery.AddressType,
    ) {
    	esps := make([]discovery.EndpointPort, 0)
    	for _, name := range ports {
    		n := name // Create a stable reference to take the pointer from
    		esps = append(esps, discovery.EndpointPort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top