ipv6

package
v0.0.0-...-55fcc16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 21

Documentation

Overview

Package ipv6 contains the implementation of the ipv6 network protocol. To use it in the networking stack, this package must be added to the project, and activated on the stack by passing ipv6.NewProtocol() as one of the network protocols when calling stack.New(). Then endpoints can be created by passing ipv6.ProtocolNumber as the network protocol number when calling Stack.NewEndpoint().

Index

Constants

View Source
const (
	// ProtocolNumber is the ipv6 protocol number.
	ProtocolNumber = header.IPv6ProtocolNumber

	// DefaultTTL is the default hop limit for IPv6 Packets egressed by
	// Netstack.
	DefaultTTL = 64
)

Variables

This section is empty.

Functions

func NewProtocol

func NewProtocol() stack.NetworkProtocol

NewProtocol returns an IPv6 network protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL