func (EndpointFactory) NewPacketEndpoint(stack *stack.Stack, cooked bool, netProto tcpip.NetworkProtocolNumber, waiterQueue *waiter.Queue) (tcpip.Endpoint, *tcpip.Error) {
	return packet.NewEndpoint(stack, cooked, netProto, waiterQueue)
}
NewPacketEndpoint implements stack.RawFactory.NewPacketEndpoint.
package raw
import (
	"github.com/google/netstack/tcpip"
	"github.com/google/netstack/tcpip/stack"
	"github.com/google/netstack/tcpip/transport/packet"
	"github.com/google/netstack/waiter"
)
type EndpointFactory struct{}
func (EndpointFactory) NewUnassociatedEndpoint(stack *stack.Stack, netProto tcpip.NetworkProtocolNumber, transProto tcpip.TransportProtocolNumber, waiterQueue *waiter.Queue) (tcpip.Endpoint, *tcpip.Error) {
	return newEndpoint(stack, netProto, transProto, waiterQueue, false  )
}