~hduran-8/+junk/caddy

« back to all changes in this revision

Viewing changes to debian/gocode/src/golang.org/x/net/ipv6/doc.go

  • Committer: Horacio Durán
  • Date: 2017-01-20 16:21:20 UTC
  • Revision ID: horacio.duran@canonical.com-20170120162120-l82mfqwmsclnk838
Upgrade to 0.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Copyright 2013 The Go Authors.  All rights reserved.
 
1
// Copyright 2013 The Go Authors. All rights reserved.
2
2
// Use of this source code is governed by a BSD-style
3
3
// license that can be found in the LICENSE file.
4
4
 
9
9
// manipulation of IPv6 facilities.
10
10
//
11
11
// The IPv6 protocol is defined in RFC 2460.
12
 
// Basic and advanced socket interface extensions are defined in RFC
13
 
// 3493 and RFC 3542.
14
 
// Socket interface extensions for multicast source filters are
15
 
// defined in RFC 3678.
 
12
// Socket interface extensions are defined in RFC 3493, RFC 3542 and
 
13
// RFC 3678.
16
14
// MLDv1 and MLDv2 are defined in RFC 2710 and RFC 3810.
17
15
// Source-specific multicast is defined in RFC 4607.
18
16
//
 
17
// On Darwin, this package requires OS X Mavericks version 10.9 or
 
18
// above, or equivalent.
 
19
//
19
20
//
20
21
// Unicasting
21
22
//
23
24
// net.UDPConn and net.IPConn which are created as network connections
24
25
// that use the IPv6 transport.  When a single TCP connection carrying
25
26
// a data flow of multiple packets needs to indicate the flow is
26
 
// important, ipv6.Conn is used to set the traffic class field on the
27
 
// IPv6 header for each packet.
 
27
// important, Conn is used to set the traffic class field on the IPv6
 
28
// header for each packet.
28
29
//
29
30
//      ln, err := net.Listen("tcp6", "[::]:1024")
30
31
//      if err != nil {
96
97
// The application might set per packet control message transmissions
97
98
// between the protocol stack within the kernel.  When the application
98
99
// needs a destination address on an incoming packet,
99
 
// SetControlMessage of ipv6.PacketConn is used to enable control
100
 
// message transmissions.
 
100
// SetControlMessage of PacketConn is used to enable control message
 
101
// transmissions.
101
102
//
102
103
//      if err := p.SetControlMessage(ipv6.FlagDst, true); err != nil {
103
104
//              // error handling
238
239
// In the fallback case, ExcludeSourceSpecificGroup and
239
240
// IncludeSourceSpecificGroup may return an error.
240
241
package ipv6 // import "golang.org/x/net/ipv6"
 
242
 
 
243
// BUG(mikio): This package is not implemented on NaCl and Plan 9.