- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ParseNetlinkRouteAttr (0.2 sec)
-
src/net/interface_linux.go
case syscall.RTM_NEWLINK: ifim := (*syscall.IfInfomsg)(unsafe.Pointer(&m.Data[0])) if ifindex == 0 || ifindex == int(ifim.Index) { attrs, err := syscall.ParseNetlinkRouteAttr(&m) if err != nil { return nil, os.NewSyscallError("parsenetlinkrouteattr", err) } ift = append(ift, *newLink(ifim, attrs)) if ifindex == int(ifim.Index) { break loop } } } } return ift, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 27 05:42:03 UTC 2022 - 7K bytes - Viewed (0) -
src/syscall/netlink_linux.go
// 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 { case RTM_NEWLINK, RTM_DELLINK:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"PT_TRACE_ME", Const, 0}, {"PT_WRITE_D", Const, 0}, {"PT_WRITE_I", Const, 0}, {"PT_WRITE_U", Const, 0}, {"ParseDirent", Func, 0}, {"ParseNetlinkMessage", Func, 0}, {"ParseNetlinkRouteAttr", Func, 0}, {"ParseRoutingMessage", Func, 0}, {"ParseRoutingSockaddr", Func, 0}, {"ParseSocketControlMessage", Func, 0}, {"ParseUnixCredentials", Func, 0}, {"ParseUnixRights", 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)