- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for toRoutingMessage (3.15 sec)
-
src/syscall/route_freebsd.go
for k := 0; k < len(s); k++ { if s[k] == ' ' || s[k] == '\t' { s = s[1:] } break } freebsdConfArch = s break } } } func (any *anyMessage) toRoutingMessage(b []byte) RoutingMessage { switch any.Type { case RTM_ADD, RTM_DELETE, RTM_CHANGE, RTM_GET, RTM_LOSING, RTM_REDIRECT, RTM_MISS, RTM_LOCK, RTM_RESOLVE: return any.parseRouteMessage(b) case RTM_IFINFO:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 05 21:38:13 UTC 2018 - 2.7K bytes - Viewed (0) -
src/syscall/route_netbsd.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syscall import "unsafe" func (any *anyMessage) toRoutingMessage(b []byte) RoutingMessage { switch any.Type { case RTM_ADD, RTM_DELETE, RTM_CHANGE, RTM_GET, RTM_LOSING, RTM_REDIRECT, RTM_MISS, RTM_LOCK, RTM_RESOLVE: p := (*RouteMessage)(unsafe.Pointer(any))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 15 20:55:56 UTC 2016 - 1.4K bytes - Viewed (0) -
src/syscall/route_dragonfly.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syscall import "unsafe" func (any *anyMessage) toRoutingMessage(b []byte) RoutingMessage { switch any.Type { case RTM_ADD, RTM_DELETE, RTM_CHANGE, RTM_GET, RTM_LOSING, RTM_REDIRECT, RTM_MISS, RTM_LOCK, RTM_RESOLVE: p := (*RouteMessage)(unsafe.Pointer(any))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 15 20:55:56 UTC 2016 - 2.6K bytes - Viewed (0) -
src/syscall/route_openbsd.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syscall import "unsafe" func (any *anyMessage) toRoutingMessage(b []byte) RoutingMessage { switch any.Type { case RTM_ADD, RTM_DELETE, RTM_CHANGE, RTM_GET, RTM_LOSING, RTM_REDIRECT, RTM_MISS, RTM_LOCK, RTM_RESOLVE: p := (*RouteMessage)(unsafe.Pointer(any))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 15 20:55:56 UTC 2016 - 1.5K bytes - Viewed (0) -
src/syscall/route_darwin.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syscall import "unsafe" func (any *anyMessage) toRoutingMessage(b []byte) RoutingMessage { switch any.Type { case RTM_ADD, RTM_DELETE, RTM_CHANGE, RTM_GET, RTM_LOSING, RTM_REDIRECT, RTM_MISS, RTM_LOCK, RTM_RESOLVE: p := (*RouteMessage)(unsafe.Pointer(any))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 15 20:55:56 UTC 2016 - 2K bytes - Viewed (0) -
src/syscall/route_bsd.go
nmsgs, nskips := 0, 0 for len(b) >= anyMessageLen { nmsgs++ any := (*anyMessage)(unsafe.Pointer(&b[0])) if any.Version != RTM_VERSION { b = b[any.Msglen:] continue } if m := any.toRoutingMessage(b); m == nil { nskips++ } else { msgs = append(msgs, m) } b = b[any.Msglen:] } // We failed to parse any of the messages - version mismatch? if nmsgs != len(msgs)+nskips {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.1K bytes - Viewed (0)