Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for addrtype (0.17 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	}
    	gateway.Labels = labels
    
    	if ready {
    		addrType := k8sbeta.IPAddressType
    		gateway.Status = k8sbeta.GatewayStatus{
    			// addresses:
    			// - type: IPAddress
    			//   value: 10.96.59.188
    			Addresses: []k8sv1.GatewayStatusAddress{
    				{
    					Type:  &addrType,
    					Value: ip,
    				},
    			},
    		}
    	}
    	s.grc.CreateOrUpdate(&gateway)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	t.Align = -1
    	t.C = &TypeRepr{Repr: dtype.Common().Name}
    	c.m[key] = t
    
    	switch dt := dtype.(type) {
    	default:
    		fatalf("%s: unexpected type: %s", lineno(pos), dtype)
    
    	case *dwarf.AddrType:
    		if t.Size != c.ptrSize {
    			fatalf("%s: unexpected: %d-byte address type - %s", lineno(pos), t.Size, dtype)
    		}
    		t.Go = c.uintptr
    		t.Align = t.Size
    
    	case *dwarf.ArrayType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/asm6.go

    		p.As == ADECB || p.As == ADECL || p.As == ADECQ || p.As == ADECW
    
    	if !cmpAddSub && !testAnd && !incDec {
    		return false, 0
    	}
    
    	if !incDec {
    		var argOne obj.AddrType
    		var argTwo obj.AddrType
    		if cmp {
    			argOne = p.From.Type
    			argTwo = p.To.Type
    		} else {
    			argOne = p.To.Type
    			argTwo = p.From.Type
    		}
    		if argOne == obj.TYPE_REG {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top