Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for didreq (0.11 sec)

  1. src/vendor/golang.org/x/net/lif/zsys_solaris_amd64.go

    	sizeofLifreq       = 0x178
    	sizeofLifconf      = 0x18
    	sizeofLifIfinfoReq = 0x10
    )
    
    type lifnum struct {
    	Family    uint16
    	Pad_cgo_0 [2]byte
    	Flags     int32
    	Count     int32
    }
    
    type lifreq struct {
    	Name   [32]int8
    	Lifru1 [4]byte
    	Type   uint32
    	Lifru  [336]byte
    }
    
    type lifconf struct {
    	Family    uint16
    	Pad_cgo_0 [2]byte
    	Flags     int32
    	Len       int32
    	Pad_cgo_1 [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 981 bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/lif/link.go

    	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)
    	if err := ioctl(s, uintptr(ioc), unsafe.Pointer(&lifr)); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ioctl_linux.go

    	return ByteSliceToString(value[:]), err
    }
    
    // IoctlIfreq performs an ioctl using an Ifreq structure for input and/or
    // output. See the netdevice(7) man page for details.
    func IoctlIfreq(fd int, req uint, value *Ifreq) error {
    	// It is possible we will add more fields to *Ifreq itself later to prevent
    	// misuse, so pass the raw *ifreq directly.
    	return ioctlPtr(fd, req, unsafe.Pointer(&value.raw))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. pilot/pkg/xds/workload.go

    	// However, other code will merge "Partial push + Full push -> Full push", so skipping full pushes isn't viable.
    	full := (isReq && w.Wildcard) || (!isReq && req.Full && len(req.ConfigsUpdated) == 0)
    
    	// Nothing to do
    	if len(addresses) == 0 && !full {
    		if isReq {
    			// We need to respond for requests, even if we have nothing to respond with
    			return make(model.Resources, 0), nil, model.XdsLogDetails{}, false, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. pkg/test/echo/server/forwarder/util.go

    				addr = address
    			}
    			return d.DialContext(ctx, nt, addr)
    		},
    	}
    }
    
    // doForward sends the requests and collect the responses.
    func doForward(ctx context.Context, cfg *Config, e *executor, doReq func(context.Context, *Config, int) (string, error)) (*proto.ForwardEchoResponse, error) {
    	// make the timeout apply to the entire set of requests
    	ctx, cancel := context.WithTimeout(ctx, cfg.timeout)
    	defer cancel()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. internal/handlers/forwarder.go

    func (f *Forwarder) ServeHTTP(w http.ResponseWriter, inReq *http.Request) {
    	outReq := new(http.Request)
    	*outReq = *inReq // includes shallow copies of maps, but we handle this in Director
    
    	revproxy := httputil.ReverseProxy{
    		Director: func(req *http.Request) {
    			f.modifyRequest(req, inReq.URL)
    		},
    		BufferPool:    newBufPool(128 << 10),
    		Transport:     f.RoundTripper,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/lif/address.go

    	}
    	defer func() {
    		for _, ep := range eps {
    			ep.close()
    		}
    	}()
    	lls, err := links(eps, name)
    	if len(lls) == 0 {
    		return nil, err
    	}
    	var as []Addr
    	for _, ll := range lls {
    		var lifr lifreq
    		for i := 0; i < len(ll.Name); i++ {
    			lifr.Name[i] = int8(ll.Name[i])
    		}
    		for _, ep := range eps {
    			ioc := int64(syscall.SIOCGLIFADDR)
    			err := ioctl(ep.s, uintptr(ioc), unsafe.Pointer(&lifr))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/net/interface_aix.go

    	"syscall"
    	"unsafe"
    )
    
    type rawSockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [120]byte
    }
    
    type ifreq struct {
    	Name [16]uint8
    	Ifru [16]byte
    }
    
    const _KINFO_RT_IFLIST = (0x1 << 8) | 3 | (1 << 30)
    
    const _RTAX_NETMASK = 2
    const _RTAX_IFA = 5
    const _RTAX_MAX = 8
    
    func getIfList() ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/components/KaAbstractResolver.kt

                KtTokens.MULTEQ -> KaCompoundAccess.CompoundAssign.Kind.TIMES_ASSIGN
                KtTokens.PERCEQ -> KaCompoundAccess.CompoundAssign.Kind.REM_ASSIGN
                KtTokens.DIVEQ -> KaCompoundAccess.CompoundAssign.Kind.DIV_ASSIGN
                else -> error("unexpected operator $operationToken")
            }
            return compoundAssignKind
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    )
    
    type strbuf struct {
    	Maxlen int32
    	Len    int32
    	Buf    *int8
    }
    
    type Strioctl struct {
    	Cmd    int32
    	Timout int32
    	Len    int32
    	Dp     *int8
    }
    
    type Lifreq struct {
    	Name   [32]int8
    	Lifru1 [4]byte
    	Type   uint32
    	Lifru  [336]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top