From 6bf87bac9817b1061cfaa55bdd8a0b542b15a67f Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Thu, 27 Apr 2023 10:09:31 -0500 Subject: [PATCH] Almost finished layer 2 --- 1.txt | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/1.txt b/1.txt index 8631e96..d12669a 100644 --- a/1.txt +++ b/1.txt @@ -116,3 +116,57 @@ to it as well. Specifically, it adds a header (which is inserted before the pack INSERT IMAGE HERE The header consists of four fields: +Frame Start - This field indicates the start of a frame (a frame is really just a grouping of bits). +Addresses - This field contains the source and destination MAC addresses. +Type - This identifies the layer 3 protocol that the data uses (more on this later). +Control - This field contains information that's used for flow control, essentially determining the priority of the packet. + +The trailer consists of two fields: +Error detection - This field contains a checksum (a mathematical hash) of the data in the frame. This can be used to ensure that the data wasn't corrupted on the way. +Frame stop - This field indicates the end of the frame. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +