blob: 18b1acacdc1634ebaace225ccc870c67d59d37fb [file] [log] [blame]
Mikio Harad3003be2013-11-05 10:09:42 +09001// Copyright 2013 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package ipv6
6
7type sysSockoptLen uint32
8
9const (
10 sysSizeofPacketInfo = 0x14
11 sysSizeofMulticastReq = 0x14
12 sysSizeofICMPFilter = 0x20
13)
14
15type sysPacketInfo struct {
16 IP [16]byte
17 IfIndex uint32
18}
19
20type sysMulticastReq struct {
21 IP [16]byte
22 IfIndex uint32
23}