mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
24 lines
434 B
Go
24 lines
434 B
Go
// Copyright 2013 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 ipv6
|
|
|
|
type sysSockoptLen uint32
|
|
|
|
const (
|
|
sysSizeofPacketInfo = 0x14
|
|
sysSizeofMulticastReq = 0x14
|
|
sysSizeofICMPFilter = 0x20
|
|
)
|
|
|
|
type sysPacketInfo struct {
|
|
IP [16]byte
|
|
IfIndex uint32
|
|
}
|
|
|
|
type sysMulticastReq struct {
|
|
IP [16]byte
|
|
IfIndex uint32
|
|
}
|