Question

In: Computer Science

Draw a UDP segment, identify its header fields, and provide a brief description for each one...

Draw a UDP segment, identify its header fields, and provide a brief description for each one of them

Solutions

Expert Solution

User Datagram Protocol (UDP) is a Transport Layer protocol. UDP is a part of Internet Protocol suite, referred as UDP/IP suite. Unlike TCP, it is unreliable and connectionless protocol. So, there is no need to establish connection prior to data transfer. Though Transmission Control Protocol (TCP) is the dominant transport layer protocol used with most of Internet services; provides assured delivery, reliability and much more but all these services cost us with additional overhead and latency. Here, UDP comes into picture. For the realtime services like computer gaming, voice or video communication, live conferences; we need UDP. Since high performance is needed, UDP permits packets to be dropped instead of processing delayed packets. There is no error checking in UDP, so it also save bandwidth.
User Datagram Protocol (UDP) is more efficient in terms of both latency and bandwidth.

UDP header

UDP is a simple, datagram-oriented, transport layer protocol: each output operation by a process produces exactly one UDP datagram, which causes one IP datagram to be sent. The encapsulation of a UDP datagram as an IP datagram looks like this:

UDP Header Format -

..............................................................................................................................................................................................................................................................................................................................

  1. Source Port : Source Port is 2 Byte long field used to identify port number of source.
  2. Destination Port : It is 2 Byte long field, used to identify the port of destined packet.
  3. Length : Length is the length of UDP including header and the data. It is 16-bits field.
  4. Checksum : Checksum is 2 Bytes long field. It is the 16-bit one’s complement of the one’s complement sum of the UDP header, pseudo header of information from the IP header and the data, padded with zero octets at the end (if necessary) to make a multiple of two octets.

    ..............................................................................................................................................................................................................................................................................................................................

    A user datagram consists of two parts: a UDP Header and a UDP data area. The header is divided in four 16-bit fields as shown:

    Source and Destination Port

    The port numbers identify the sending process and the receiving process. TCP and UDP use the destination port number to demultiplex incoming data from IP. Since IP has already demultiplexed the incoming IP datagram to either TCP or UDP (based on the protocol value in the IP header), this means the TCP port numbers are looked at by TCP, and the UDP port numbers by UDP. The TCP port numbers are independent of the UDP port numbers.

    Length

    The length in bytes of the UDP header and the encapsulated data. The minimum value for this field is 8.

    Checksum

    This is computed as the 16-bit one's complement of the one's complement sum of a pseudo header of information from the IP header, the UDP header, and the data, padded as needed with zero bytes at the end to make a multiple of two bytes. If the checksum is set to zero, then checksuming is disabled. The designers chose to make the checksum optional to allow implementations to operate with little computational overhead. If the computed checksum is zero, then this field must be set to 0xFFFF.


Related Solutions

The UDP header starts at (0022 base 16) Solve the following How many fields are there...
The UDP header starts at (0022 base 16) Solve the following How many fields are there in the UDP header? (see slides) What is the ending byte address of the UDP header What is the source port number? (in decimal notation) What is the destination port number? (in decimal notation) What is the checksum value?
Provide a brief description of each of the three main returns and lodgements that might be...
Provide a brief description of each of the three main returns and lodgements that might be required by reporting entities. 30–50 words each
Problem 6 – For each of the items below provide a brief description of the SIGNIFANCE...
Problem 6 – For each of the items below provide a brief description of the SIGNIFANCE (usefulness/importance). Several sentences for each should be all that you need. a. Identify and a sentence or two reflection for each. The three factors that are used to develop a forecasted required rate of return. b. The significance of the statement of cash flows (don’t just list the three sections) discuss the SIGNIFICANCE (usefulness/importance) c. The Role of Financial Markets
List the five modes of transportation and for each mode, provide a brief description of the...
List the five modes of transportation and for each mode, provide a brief description of the kinds / types of cargo that are typically transported via that mode.
Identify your chosen law or compliance standard, and provide a brief description of what it covers....
Identify your chosen law or compliance standard, and provide a brief description of what it covers. Provide at least two workplace scenarios in which your chosen law or standard must be applied. In these scenarios, discuss recommendations for protecting health information. Explain how advance directives may apply in each scenario.
One example of Global Marketing that has been unsuccessful. Provide a brief description of the example...
One example of Global Marketing that has been unsuccessful. Provide a brief description of the example that you selected. Be sure to include the company, market they were entering and why you considered it to be a failure. Why do you think the company took the approach it did in marketing to an international market? What did they not consider in marketing their product, good or service? What consequences did the company suffer as a result of this failed marketing...
Provide a description of the sample space for each of the following random experiments. Identify if...
Provide a description of the sample space for each of the following random experiments. Identify if the sample space is discrete or continuous in each case. a) Each of three mechanical components of a machine is tested and classified as being faulty or functional. b) Shuffling a standard deck of cards and revealing the top card. c) Shuffling a standard deck of cards and revealing the top two cards.
Provide a description of the sample space for each of the following random experiments. Identify if...
Provide a description of the sample space for each of the following random experiments. Identify if the sample space is discrete or continuous in each case. Note that there can be more than one acceptable interpretation of each experiment. State any assumptions you may have made. a) Shuffling a standard deck of cards and revealing the top card. b) Shuffling a standard deck of cards and revealing the top and bottom cards.
Provide a brief description of the current Canadian healthcare system
Provide a brief description of the current Canadian healthcare system
Sketch base pieces to illustrate each computation for questions 1 – 4. Provide a brief description...
Sketch base pieces to illustrate each computation for questions 1 – 4. Provide a brief description of the process taking place, regrouping, etc. (5 points each) 1)14fivex4 2) 48 / 4 * using base 10 pieces, illustrating long division 3)18 / 3 * using the Sharing (partitive) concept 4) 24 / 6*using the Measurement (subtractive) concept Compute the product using the given method. Describe an advantage of the method. (6 points) 5) 248 x 367 * solve using lattice multiplication
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT