Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IfOperStatusUp (0.23 sec)

  1. src/net/dnsconfig_windows.go

    		}
    	}()
    	aas, err := adapterAddresses()
    	if err != nil {
    		return
    	}
    
    	for _, aa := range aas {
    		// Only take interfaces whose OperStatus is IfOperStatusUp(0x01) into DNS configs.
    		if aa.OperStatus != windows.IfOperStatusUp {
    			continue
    		}
    
    		// Only take interfaces which have at least one gateway
    		if aa.FirstGatewayAddress == nil {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 10:25:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/net/interface_windows.go

    			index = aa.Ipv6IfIndex
    		}
    		if ifindex == 0 || ifindex == int(index) {
    			ifi := Interface{
    				Index: int(index),
    				Name:  windows.UTF16PtrToString(aa.FriendlyName),
    			}
    			if aa.OperStatus == windows.IfOperStatusUp {
    				ifi.Flags |= FlagUp
    				ifi.Flags |= FlagRunning
    			}
    			// For now we need to infer link-layer service
    			// capabilities from media types.
    			// TODO: use MIB_IF_ROW2.AccessType now that we no longer support
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 10:25:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/syscall_windows.go

    	// says that “The C/C++ headers in the Windows SDK assume the platform's
    	// default alignment is used.” What we see here is padding rather than
    	// alignment, but maybe it is related.
    	_ uint32
    }
    
    const (
    	IfOperStatusUp             = 1
    	IfOperStatusDown           = 2
    	IfOperStatusTesting        = 3
    	IfOperStatusUnknown        = 4
    	IfOperStatusDormant        = 5
    	IfOperStatusNotPresent     = 6
    	IfOperStatusLowerLayerDown = 7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	Next     *IpAdapterGatewayAddress
    	Address  SocketAddress
    }
    
    type IpAdapterDNSSuffix struct {
    	Next   *IpAdapterDNSSuffix
    	String [MAX_DNS_SUFFIX_STRING_LENGTH]uint16
    }
    
    const (
    	IfOperStatusUp             = 1
    	IfOperStatusDown           = 2
    	IfOperStatusTesting        = 3
    	IfOperStatusUnknown        = 4
    	IfOperStatusDormant        = 5
    	IfOperStatusNotPresent     = 6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
Back to top