Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 184 for sigaddr (0.14 sec)

  1. tests/fuzz/security_fuzzer.go

    	certChain, err := fuzzedCertChain(f)
    	if err != nil {
    		return 0
    	}
    	tlsInfo := credentials.TLSInfo{
    		State: tls.ConnectionState{VerifiedChains: certChain},
    	}
    
    	mockIPAddr := &net.IPAddr{IP: net.IPv4(192, 168, 1, 1)}
    	p := &peer.Peer{Addr: mockIPAddr, AuthInfo: tlsInfo}
    
    	ctx = peer.NewContext(ctx, p)
    
    	_, _ = server.CreateCertificate(ctx, request)
    	return 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loadmacho/ldmacho.go

    					// section found in the original object file.
    					//
    					// [For future reference, see Darwin's /usr/include/mach-o/x86_64/reloc.h]
    					secaddr := c.seg.sect[rel.symnum-1].addr
    					rAdd = int64(uint64(int64(int32(e.Uint32(p[rOff:])))+int64(rOff)+4) - secaddr)
    				} else {
    					rAdd = int64(int32(e.Uint32(p[rOff:])))
    				}
    			}
    
    			// An unsigned internal relocation has a value offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/config/config.go

    		return netip.Addr{}, isIPv6, err
    	}
    
    	for _, a := range addrs {
    		if ipnet, ok := a.(*net.IPNet); ok {
    			ip := ipnet.IP
    			ipAddr, ok := netip.AddrFromSlice(ip)
    			if !ok {
    				continue
    			}
    			// unwrap the IPv4-mapped IPv6 address
    			unwrapAddr := ipAddr.Unmap()
    			if !unwrapAddr.IsLoopback() && !unwrapAddr.IsLinkLocalUnicast() && !unwrapAddr.IsLinkLocalMulticast() {
    				isIPv6 = unwrapAddr.Is6()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/net/dnsclient_unix.go

    	}
    	return
    }
    
    // lookup entries from /etc/hosts
    func goLookupIPFiles(name string) (addrs []IPAddr, canonical string) {
    	addr, canonical := lookupStaticHost(name)
    	for _, haddr := range addr {
    		haddr, zone := splitHostZone(haddr)
    		if ip := ParseIP(haddr); ip != nil {
    			addr := IPAddr{IP: ip, Zone: zone}
    			addrs = append(addrs, addr)
    		}
    	}
    	sortByRFC6724(addrs)
    	return addrs, canonical
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/net/lookup_unix.go

    	if order == hostLookupCgo {
    		return cgoLookupHost(ctx, host)
    	}
    	return r.goLookupHostOrder(ctx, host, order, conf)
    }
    
    func (r *Resolver) lookupIP(ctx context.Context, network, host string) (addrs []IPAddr, err error) {
    	order, conf := systemConf().hostLookupOrder(r, host)
    	if order == hostLookupCgo {
    		return cgoLookupIP(ctx, network, host)
    	}
    	ips, _, err := r.goLookupIPCNAMEOrder(ctx, network, host, order, conf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/net/interface_linux.go

    				// address in /proc/net/igmp in native
    				// endianness.
    				for i := 0; i+1 < len(f[0]); i += 2 {
    					b[i/2], _ = xtoi2(f[0][i:i+2], 0)
    				}
    				i := *(*uint32)(unsafe.Pointer(&b[:4][0]))
    				ifma := &IPAddr{IP: IPv4(byte(i>>24), byte(i>>16), byte(i>>8), byte(i))}
    				ifmat = append(ifmat, ifma)
    			}
    		}
    	}
    	return ifmat
    }
    
    func parseProcNetIGMP6(path string, ifi *Interface) []Addr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 7K bytes
    - Viewed (0)
  7. src/net/fd_fake.go

    		}
    		return nil, err
    	}
    	netfd = newFD("tcp", d)
    	if err = netfd.init(); err != nil {
    		netfd.Close()
    		return nil, err
    	}
    	return netfd, nil
    }
    
    func (fd *netFD) setAddr(laddr, raddr Addr) {
    	fd.laddr = laddr
    	fd.raddr = raddr
    	runtime.SetFinalizer(fd, (*netFD).Close)
    }
    
    func (fd *netFD) Close() error {
    	if fd.fakeNetFD != nil {
    		return fd.fakeNetFD.Close()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/net/fd_posix.go

    	// immutable until Close
    	family      int
    	sotype      int
    	isConnected bool // handshake completed or use of association with peer
    	net         string
    	laddr       Addr
    	raddr       Addr
    }
    
    func (fd *netFD) setAddr(laddr, raddr Addr) {
    	fd.laddr = laddr
    	fd.raddr = raddr
    	runtime.SetFinalizer(fd, (*netFD).Close)
    }
    
    func (fd *netFD) Close() error {
    	runtime.SetFinalizer(fd, nil)
    	return fd.pfd.Close()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  9. src/net/lookup_plan9.go

    		for _, a := range addrs {
    			if a == addr {
    				continue loop
    			}
    		}
    		addrs = append(addrs, addr)
    	}
    	return
    }
    
    func (r *Resolver) lookupIP(ctx context.Context, network, host string) (addrs []IPAddr, err error) {
    	if order, conf := systemConf().hostLookupOrder(r, host); order != hostLookupCgo {
    		return r.goLookupIP(ctx, network, host, order, conf)
    	}
    
    	lits, err := r.lookupHost(ctx, host)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_openbsd_arm64.go

    	SYS_MSGRCV         = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
    	SYS_SHMAT          = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
    	SYS_SHMDT          = 230 // { int sys_shmdt(const void *shmaddr); }
    	SYS_MINHERIT       = 250 // { int sys_minherit(void *addr, size_t len, \
    	SYS_POLL           = 252 // { int sys_poll(struct pollfd *fds, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 14.7K bytes
    - Viewed (0)
Back to top