Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Network packet
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Contents == A packet may contain any of the following components: ;Addresses :The [[routing]] of network packets requires two [[network address]]es, the source address of the sending host, and the destination address of the receiving host.<ref name=":0">{{Cite web |date=2019-09-22 |title=Network Packet (fundamental unit of information) |url=https://networkencyclopedia.com/network-packet/ |access-date=2024-08-05 |website=NETWORK ENCYCLOPEDIA |at=Network Packet Content |language=en-US}}</ref> ;Error detection and correction :[[Error detection and correction]] is performed at various layers in the [[protocol stack]]. Network packets may contain a [[checksum]], [[parity bit]]s or [[cyclic redundancy check]]s to detect errors that occur during transmission.<ref name=":0" /> :At the transmitter, the calculation is performed before the packet is sent. When received at the destination, the checksum is recalculated, and compared with the one in the packet. If discrepancies are found, the packet may be corrected or discarded. Any [[packet loss]] due to these discards is dealt with by the network protocol. :In some cases, modifications of the network packet may be necessary while routing, in which cases checksums are recalculated. ;Hop limit :Under fault conditions, packets can end up traversing a [[Cycle (graph theory)|closed circuit]]. If nothing was done, eventually the number of packets circulating would build up until the network was congested to the point of failure. [[Time to live]] is a field that is decreased by one each time a packet goes through a [[network hop]]. If the field reaches zero, routing has failed, and the packet is discarded.<ref name=":0" /> :Ethernet packets have no time-to-live field and so are subject to [[broadcast storm]]s in the presence of a [[switching loop]]. ;Length :There may be a field to identify the overall packet length. However, in some types of networks, the length is implied by the duration of the transmission.<ref name=":0" /> ;Protocol identifier :It is often desirable to carry multiple communication protocols on a network. A protocol identifier field specifies a packet's protocol and allows the protocol stack to process many types of packets. ;Priority :Some networks implement [[quality of service]] which can prioritize some types of packets above others. This field indicates which packet queue should be used; a high-priority queue is emptied more quickly than lower-priority queues at points in the network where congestion is occurring.<ref name=":0" /> ;Payload :In general, the payload is the data that is carried on behalf of an application. It is usually of variable length, up to a maximum that is set by the network protocol and sometimes the equipment on the route. When necessary, some networks can break a larger packet into smaller packets.<ref name=":0" />
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)