Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NetlinkRouteAttr (0.52 sec)

  1. src/syscall/netlink_linux.go

    	return h, b[NLMSG_HDRLEN:], l, nil
    }
    
    // NetlinkRouteAttr represents a netlink route attribute.
    type NetlinkRouteAttr struct {
    	Attr  RtAttr
    	Value []byte
    }
    
    // ParseNetlinkRouteAttr parses m's payload as an array of netlink
    // route attributes and returns the slice containing the
    // NetlinkRouteAttr structures.
    func ParseNetlinkRouteAttr(m *NetlinkMessage) ([]NetlinkRouteAttr, error) {
    	var b []byte
    	switch m.Header.Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/net/interface_linux.go

    	sysARPHardwareGREIPv4  = 778 // any over GRE over IPv4 tunneling
    	sysARPHardwareGREIPv6  = 823 // any over GRE over IPv6 tunneling
    )
    
    func newLink(ifim *syscall.IfInfomsg, attrs []syscall.NetlinkRouteAttr) *Interface {
    	ifi := &Interface{Index: int(ifim.Index), Flags: linkFlags(ifim.Flags)}
    	for _, a := range attrs {
    		switch a.Attr.Type {
    		case syscall.IFLA_ADDRESS:
    			// We never return any /32 or /128 IP address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg syscall (linux-386), type NetlinkMessage struct, Header NlMsghdr
    pkg syscall (linux-386), type NetlinkRouteAttr struct
    pkg syscall (linux-386), type NetlinkRouteAttr struct, Attr RtAttr
    pkg syscall (linux-386), type NetlinkRouteAttr struct, Value []uint8
    pkg syscall (linux-386), type NetlinkRouteRequest struct
    pkg syscall (linux-386), type NetlinkRouteRequest struct, Data RtGenmsg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NetlinkMessage", Type, 0},
    		{"NetlinkMessage.Data", Field, 0},
    		{"NetlinkMessage.Header", Field, 0},
    		{"NetlinkRIB", Func, 0},
    		{"NetlinkRouteAttr", Type, 0},
    		{"NetlinkRouteAttr.Attr", Field, 0},
    		{"NetlinkRouteAttr.Value", Field, 0},
    		{"NetlinkRouteRequest", Type, 0},
    		{"NetlinkRouteRequest.Data", Field, 0},
    		{"NetlinkRouteRequest.Header", Field, 0},
    		{"NewCallback", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. api/go1.2.txt

    pkg syscall (linux-arm-cgo), type NetlinkMessage struct, Header NlMsghdr
    pkg syscall (linux-arm-cgo), type NetlinkRouteAttr struct
    pkg syscall (linux-arm-cgo), type NetlinkRouteAttr struct, Attr RtAttr
    pkg syscall (linux-arm-cgo), type NetlinkRouteAttr struct, Value []uint8
    pkg syscall (linux-arm-cgo), type NetlinkRouteRequest struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top