code: func (*protocol) NewEndpoint(stack *stack.Stack, netProto tcpip.NetworkProtocolNumber, waiterQueue *waiter.Queue) (tcpip.Endpoint, *tcpip.Error) {
  	return newEndpoint(stack, netProto, waiterQueue), nil
  }
docs: // NewEndpoint creates a new tcp endpoint.