Data packets Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

The packets of data are usually quite small, typically

A

64KiB,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Packet structure
A typical packet is split up into:

A

» a packet header
» the payload
» a trailer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Header

A

IP address of
the source
device (sender)

IP address of
the destination
device (receiver)

Size of the
packet (in
bytes)

Sequence
number of
the packet
(allowing correct
reassembly)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Payload

A

The actual data
in the packets
(~64 KiB) – the
payload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Trailer

A

Method of
identifying the
end of the
packet

Some form of
error checking
to ensure
packet arrives
error-free

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

For each packet, the packet header consists of:

A

» the IP address of the sending device
» the IP address of the receiving device
» the sequence number of the packet (this is to ensure that all the packets can
be reassembled into the correct order once they reach the destination)
» packet size (this is to ensure the receiving station can check if all of the
packets have arrived intact).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why is it important to identify the end of a packet in a packet trailer?

A

It ensures that packets can be separated from each other as they travel from the sending to the receiving station.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the role of cyclic redundancy checks (CRCs) in packet transmission?

A

CRCs check for transmission errors by comparing the number of 1-bits in the payload at both the sending and receiving computers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does a sending computer use CRCs?

A

The sending computer adds up all the 1-bits in the payload and stores the result as a hex value in the packet trailer before sending the packet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the receiving computer do with CRCs when a packet arrives?

A

The receiving computer recalculates the number of 1-bits in the payload and checks this value against the one stored in the packet trailer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly