Source File
sockopt.go
Belonging Package
golang.org/x/net/ipv6
// Copyright 2014 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 ipv6import// Sticky socket optionsconst (ssoTrafficClass = iota // header field for unicast packet, RFC 3542ssoHopLimit // header field for unicast packet, RFC 3493ssoMulticastInterface // outbound interface for multicast packet, RFC 3493ssoMulticastHopLimit // header field for multicast packet, RFC 3493ssoMulticastLoopback // loopback for multicast packet, RFC 3493ssoReceiveTrafficClass // header field on received packet, RFC 3542ssoReceiveHopLimit // header field on received packet, RFC 2292 or 3542ssoReceivePacketInfo // incbound or outbound packet path, RFC 2292 or 3542ssoReceivePathMTU // path mtu, RFC 3542ssoPathMTU // path mtu, RFC 3542ssoChecksum // packet checksum, RFC 2292 or 3542ssoICMPFilter // icmp filter, RFC 2292 or 3542ssoJoinGroup // any-source multicast, RFC 3493ssoLeaveGroup // any-source multicast, RFC 3493ssoJoinSourceGroup // source-specific multicastssoLeaveSourceGroup // source-specific multicastssoBlockSourceGroup // any-source or source-specific multicastssoUnblockSourceGroup // any-source or source-specific multicastssoAttachFilter // attach BPF for filtering inbound traffic)// Sticky socket option value typesconst (ssoTypeIPMreq = iota + 1ssoTypeGroupReqssoTypeGroupSourceReq)// A sockOpt represents a binding for sticky socket option.type sockOpt struct {socket.Optiontyp int // hint for option value type; optional}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |