\documentclass[11pt]{article}
\begin{document}

\section{Introduction}

\section{Classes}

\subsection{Packet}

\subsection{Field}

\subsection{Layout}

\section{Functions}

\end{document}