doc: added initial doc files
authorRăzvan Crainea <razvan.crainea@gmail.com>
Sat, 2 Jun 2012 08:49:07 +0000 (11:49 +0300)
committerRăzvan Crainea <razvan.crainea@gmail.com>
Sat, 2 Jun 2012 08:49:07 +0000 (11:49 +0300)
doc/.gitignore [new file with mode: 0644]
doc/Makefile [new file with mode: 0755]
doc/paper.bib [new file with mode: 0644]
doc/paper.tex [new file with mode: 0644]

diff --git a/doc/.gitignore b/doc/.gitignore
new file mode 100644 (file)
index 0000000..76e6f67
--- /dev/null
@@ -0,0 +1,5 @@
+P2PKP-Paper.pdf
+*.aux
+*.bbl
+*.blg
+*.log
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100755 (executable)
index 0000000..5b4c045
--- /dev/null
@@ -0,0 +1,23 @@
+# builds a Latex paper
+BASENAME = paper
+OUTPUT = "P2PKP-Paper.pdf"
+PDF = $(addsuffix .pdf, $(BASENAME))
+TEX = $(addsuffix .tex, $(BASENAME))
+R = $(addsuffix .r, $(BASENAME))
+PDFLATEX = pdflatex
+BIBTEX = bibtex
+
+
+build: pdf
+       
+pdf: $(TEX)
+       $(PDFLATEX) $(TEX)
+       $(BIBTEX) $(BASENAME)
+       $(PDFLATEX) $(TEX)
+       $(PDFLATEX) $(TEX)
+       mv $(PDF) $(OUTPUT)
+
+.PHONY: clean
+clean:
+       @rm -rf $(BASENAME).aux $(BASENAME).bbl \
+               $(BASENAME).blg $(BASENAME).log
diff --git a/doc/paper.bib b/doc/paper.bib
new file mode 100644 (file)
index 0000000..63e6f47
--- /dev/null
@@ -0,0 +1,5 @@
+@misc{tux,
+       title = {Tux Httpd Server},
+       note = "http://www.redhat.com/products/software/ecommerce/tux"
+}
+
diff --git a/doc/paper.tex b/doc/paper.tex
new file mode 100644 (file)
index 0000000..b55acc2
--- /dev/null
@@ -0,0 +1,90 @@
+\documentclass{article}[12pt]
+\usepackage{listings}
+\usepackage[utf8]{inputenc}
+
+
+% paper info
+\title{Peer-to-Peer Kernel Protocol (P2PKP)}
+\author{Răzvan Crainea \\
+razvan.crainea@cti.pub.ro \\
+University `Politehnica' \\
+Bucharest
+\and
+Tudor Cazangiu \\
+tudor.cazangiu@cti.pub.ro \\
+University `Politehnica' \\
+Bucharest
+}
+
+% date specification (use \date{} to disable or \date{\today} otherwise)
+\date{}
+
+% remove page number
+%\pagestyle{empty}
+
+
+% begins the document
+\begin{document}
+
+% title
+\maketitle
+
+% abstract
+\begin{abstract}
+This is the abstract of the paper.
+\end{abstract}
+
+
+% rest of the content
+\section{Introduction}
+\label{sec:intro}
+Paper introduction.
+
+\section{Related Work}
+\label{sec:related}
+Perhaps here we can talk a bit about the Swift protocol, or other
+implementations of application layer protocols that are implemented in kernel
+\cite{tux}.
+
+\section{Design}
+\label{sec:design}
+
+%\subsection{User Space}
+%\label{subsec:userspace}
+How this implementation is seen in the userspace.
+
+%\subsection{Kernel Space}
+%\label{subsec:kernelspace}
+\section{Implementation}
+\label{sec:implementation}
+How this protocol is implemented in kernel space - perhaps split it in
+multiple subsections - sending/receiving.
+
+\section{Testing Scenarios}
+\label{subsec:testing}
+List the three scenarios we are going to test.
+
+
+\section{Results}
+\label{sec:results}
+The results of the tests performed.
+
+
+\section{Conclusions}
+\label{sec:conclusions}
+Our conclusions based on the results gathered at Section \ref{sec:results}.
+
+\section{Further Work}
+\label{sec:future}
+Probably merge this with Section \ref{sec:conclusions}.
+
+
+\section*{Acknowledgements}
+Here will be the acknowledgments.
+
+% bibliography
+\bibliographystyle{plain}
+\bibliography{paper}
+
+
+\end{document}