func (e *endpoint) ID() *stack.NetworkEndpointID {
	return &e.id
}
ID returns the ipv6 endpoint ID.
package ipv6
import (
	tcpip "github.com/brewlin/net-protocol/protocol"
	"github.com/brewlin/net-protocol/pkg/buffer"
	"github.com/brewlin/net-protocol/protocol/header"
	"github.com/brewlin/net-protocol/stack"
)
const (
	ProtocolName = "ipv6"
	ProtocolNumber = header.IPv6ProtocolNumber
	maxPayloadSize = 0xffff
	defaultIPv6HopLimit = 255
)
type endpoint struct {
	nicid         tcpip.NICID
	id            stack.NetworkEndpointID
	linkEP        stack.LinkEndpoint
	linkAddrCache stack.LinkAddressCache
	dispatcher    stack.TransportDispatcher
}
func (e *endpoint) DefaultTTL() uint8 {
	return 255
}
func (e *endpoint) MTU() uint32 {
	return calculateMTU(e.linkEP.MTU())
}
func (e *endpoint) NICID() tcpip.NICID {
	return e.nicid
}