Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for ifmat6 (0.16 sec)

  1. src/net/interface_linux.go

    func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
    	ifmat4 := parseProcNetIGMP("/proc/net/igmp", ifi)
    	ifmat6 := parseProcNetIGMP6("/proc/net/igmp6", ifi)
    	return append(ifmat4, ifmat6...), nil
    }
    
    func parseProcNetIGMP(path string, ifi *Interface) []Addr {
    	fd, err := open(path)
    	if err != nil {
    		return nil
    	}
    	defer fd.close()
    	var (
    		ifmat []Addr
    		name  string
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 7K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/route/sys_darwin.go

    	ifam.parse = ifam.parseInterfaceAddrMessage
    	ifmam := &wireFormat{extOff: sizeofIfmaMsghdrDarwin15, bodyOff: sizeofIfmaMsghdrDarwin15}
    	ifmam.parse = ifmam.parseInterfaceMulticastAddrMessage
    	ifmam2 := &wireFormat{extOff: sizeofIfmaMsghdr2Darwin15, bodyOff: sizeofIfmaMsghdr2Darwin15}
    	ifmam2.parse = ifmam2.parseInterfaceMulticastAddrMessage
    	// Darwin kernels require 32-bit aligned access to routing facilities.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/net/interface_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	ifStats := interfaceStats(ift)
    	ifat, err := InterfaceAddrs()
    	if err != nil {
    		t.Fatal(err)
    	}
    	uniStats, err := validateInterfaceUnicastAddrs(ifat)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var multiStats routeStats
    	for _, ifi := range ift {
    		ifmat, err := ifi.MulticastAddrs()
    		if err != nil {
    			t.Fatal(ifi, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. src/net/interface_freebsd.go

    				ip = IPv4(sa.IP[0], sa.IP[1], sa.IP[2], sa.IP[3])
    			case *route.Inet6Addr:
    				ip = make(IP, IPv6len)
    				copy(ip, sa.IP[:])
    			}
    			if ip != nil {
    				ifmat = append(ifmat, &IPAddr{IP: ip})
    			}
    		}
    	}
    	return ifmat, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 16:05:55 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. internal/config/cache/remote.go

    	}
    
    	statusCode()
    }
    
    // CondCheck represents the conditional request made to the remote cache
    // for validation during GET/HEAD object requests.
    type CondCheck struct {
    	ObjectInfo
    	IfMatch           string     `json:"ifMatch,omitempty" msg:",omitempty"`
    	IfNoneMatch       string     `json:"ifNoneMatch,omitempty" msg:",omitempty"`
    	IfModifiedSince   *time.Time `json:"ifModSince,omitempty" msg:",omitempty"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/route/sys_freebsd.go

    		compatFreeBSD32 = true // 386 emulation on amd64
    	}
    	var rtm, ifm, ifam, ifmam, ifanm *wireFormat
    	if compatFreeBSD32 {
    		rtm = &wireFormat{extOff: sizeofRtMsghdrFreeBSD10Emu - sizeofRtMetricsFreeBSD10Emu, bodyOff: sizeofRtMsghdrFreeBSD10Emu}
    		ifm = &wireFormat{extOff: 16}
    		ifam = &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10Emu, bodyOff: sizeofIfaMsghdrFreeBSD10Emu}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/route/sys_dragonfly.go

    	ifam := &wireFormat{extOff: sizeofIfaMsghdrDragonFlyBSD4, bodyOff: sizeofIfaMsghdrDragonFlyBSD4}
    	ifam.parse = ifam.parseInterfaceAddrMessage
    	ifmam := &wireFormat{extOff: sizeofIfmaMsghdrDragonFlyBSD4, bodyOff: sizeofIfmaMsghdrDragonFlyBSD4}
    	ifmam.parse = ifmam.parseInterfaceMulticastAddrMessage
    	ifanm := &wireFormat{extOff: sizeofIfAnnouncemsghdrDragonFlyBSD4, bodyOff: sizeofIfAnnouncemsghdrDragonFlyBSD4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. src/net/listen_test.go

    		}
    	}
    	ift, err := Interfaces()
    	if err != nil {
    		return false, err
    	}
    	for _, ifi := range ift {
    		ifmat, err := ifi.MulticastAddrs()
    		if err != nil {
    			return false, err
    		}
    		for _, ifma := range ifmat {
    			if ifma.(*IPAddr).IP.Equal(ip) {
    				return true, nil
    			}
    		}
    	}
    	return false, nil
    }
    
    // Issue 21856.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. internal/config/cache/remote_gen.go

    		case "ObjectInfo":
    			err = z.ObjectInfo.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "ObjectInfo")
    				return
    			}
    		case "IfMatch":
    			z.IfMatch, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "IfMatch")
    				return
    			}
    		case "IfNoneMatch":
    			z.IfNoneMatch, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "IfNoneMatch")
    				return
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  10. src/syscall/ztypes_freebsd_arm.go

    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      ifData
    }
    
    type IfMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      IfData
    }
    
    type ifData struct {
    	Type        uint8
    	Physical    uint8
    	Addrlen     uint8
    	Hdrlen      uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top