| // Copyright 2016 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. |
| // +build darwin dragonfly freebsd |
| func (w *wireFormat) parseInterfaceMulticastAddrMessage(_ RIBType, b []byte) (Message, error) { |
| return nil, errMessageTooShort |
| l := int(nativeEndian.Uint16(b[:2])) |
| return nil, errInvalidMessage |
| m := &InterfaceMulticastAddrMessage{ |
| Flags: int(nativeEndian.Uint32(b[8:12])), |
| Index: int(nativeEndian.Uint16(b[12:14])), |
| m.Addrs, err = parseAddrs(uint(nativeEndian.Uint32(b[4:8])), parseKernelInetAddr, b[w.bodyOff:]) |