diff options
Diffstat (limited to 'slides/images')
-rw-r--r-- | slides/images/ip-encapsulation.pgf | 25 | ||||
-rw-r--r-- | slides/images/tcpip.pgf | 12 |
2 files changed, 37 insertions, 0 deletions
diff --git a/slides/images/ip-encapsulation.pgf b/slides/images/ip-encapsulation.pgf new file mode 100644 index 0000000..34ba423 --- /dev/null +++ b/slides/images/ip-encapsulation.pgf @@ -0,0 +1,25 @@ +\begin{tikzpicture}[ +mybox/.style={ + draw, + rectangle, + minimum height=1 cm, + anchor=west, + align=center, + font=\bfseries} +] + +%\draw (0,0) rectangle (3cm, 1cm) {wat}; + +\node at (0 cm, 0 cm) [mybox, minimum width=2cm, text width=1.7cm] {Frame header}; +\node at (2 cm, 0 cm) [mybox, minimum width=6cm] {Frame data}; +\node at (8 cm, 0 cm) [mybox, minimum width=2cm, text width=1.7cm] {Frame footer}; + +\node at (2 cm, 1.1 cm) [mybox, minimum width=2cm] {IP header}; +\node at (4 cm, 1.1 cm) [mybox, minimum width=4cm] {IP Data}; + +\node at (4 cm, 2.2 cm) [mybox, minimum width=2cm, text width=1.7 cm] {UDP header}; +\node at (6 cm, 2.2 cm) [mybox, minimum width=2cm, text width=1.7 cm] {UDP Data}; + +\node at (6 cm, 3.3 cm) [mybox, minimum width=2cm, text width=1.7 cm] {Data}; + +\end{tikzpicture} diff --git a/slides/images/tcpip.pgf b/slides/images/tcpip.pgf new file mode 100644 index 0000000..def5a31 --- /dev/null +++ b/slides/images/tcpip.pgf @@ -0,0 +1,12 @@ +\begin{tikzpicture}[ +mybox/.style={draw, rectangle, minimum width=4cm, minimum height=1 cm,font=\bfseries} +] + +%\draw (0,0) rectangle (3cm, 1cm) {wat}; + +\node at (0, -0) [mybox] {Application}; +\node at (0, -1) [mybox] {Transport}; +\node at (0, -2) [mybox] {Internet}; +\node at (0, -3)[mybox] {Network interface}; + +\end{tikzpicture} |