花胶是什么东西| 切除子宫对身体有什么影响| 盐酸哌替啶是什么药| kimi什么意思| 房颤有什么症状| 半夜口渴是什么原因| 祈是什么意思| 活塞运动是什么| 中唐筛查是检查什么| 588是什么意思| 大理有什么好玩的| 甲状腺球蛋白抗体低说明什么| 干贝和瑶柱有什么区别| 75年属什么生肖| 英语6级是什么水平| 铠字五行属什么| 耳朵痒是什么原因引起的| 学渣什么意思| 风寒感冒咳嗽吃什么药| 产后第一次来月经是什么颜色| 什么是软饮料| 83年猪是什么命| 防晒霜和防晒乳有什么区别| 男人精液少是什么原因| 怀孕吃什么菜最有营养| 输液葡萄糖有什么作用| 发乎情止乎礼什么意思| 长疣是什么原因| 正司级是什么级别| 跟班是什么意思| 吕布为什么要杀董卓| 句号是什么意思| 刷牙时牙龈出血是什么原因| 跳槽是什么意思| 茶颜悦色什么好喝| 猪男和什么属相最配| 额头长闭口是什么原因| 世界上有什么| 副产品是什么意思| 梦见自己死了预示什么| 羊水破了是什么感觉| 疰夏是什么意思| ipf是什么病| 前胸后背疼是什么原因| 参数错误是什么意思| 吃芒果有什么坏处| 牛黄解毒片不能和什么药一起吃| 农历五月初五是什么节日| 外阴炎用什么药| 阴虚吃什么食补最快| 儿童胃肠型感冒吃什么药| 俄罗斯人是什么人种| 2000年属什么的| 产检挂什么科| 舌苔厚腻发白是什么原因| 头发麻是什么病的前兆| 调戏什么意思| 肤色暗黄适合穿什么颜色的衣服| 孩子白细胞高是什么原因| 红薯什么时候掐尖| 调侃是什么意思| 微信被拉黑后显示什么| 眼袋是什么原因造成的| 天年是什么意思| 病毒性感染是什么原因引起的| 打喷嚏流清鼻涕是什么感冒| 数字化摄影dr是检查什么| 爱屋及乌是什么意思| 一个井一个点念什么| 咽炎什么症状| 月经血是黑色的是什么原因| 吃薄荷对人身体有什么好处| 一身傲骨是什么意思| 补充镁有什么好处| 什么是蛀牙| 1979属什么生肖| 为什么不娶养猫的女人| 寒湿重吃什么中成药| 山东特产是什么生肖| 糖尿病能吃什么零食| 12月9日什么星座| 脸上反复长痘是什么原因| 格桑花是什么意思| pm2.5是什么| 人在囧途是什么意思| 马鲛鱼是什么鱼| 检查神经做什么检查| 生命的尽头是什么| 肾上腺瘤吃什么药可以消除| 冬至是什么时候| 蟑螂的天敌是什么| 为什么超市大米不生虫| da是什么单位| 拔完火罐要注意什么| 女人手心热吃什么药好| 水瓶女喜欢什么样的男生| icp是什么| 麻风病是什么症状图片| 什么病可以鉴定病残| 为什么会长痱子| 小儿安现在叫什么名| 蜜枣是什么枣做的| 喝什么可以排便通畅| 脾虚什么症状| 宫腔镜是什么检查| 三昧什么意思| 大什么大| 碱性磷酸酶偏低是什么原因| 饭中吃药是什么时候吃| 叩是什么意思| 乔治白属于什么档次| 鸭子吃什么| 低钠盐适合什么人吃| 围绝经期什么意思| 发条是什么意思| 孕妇感染弓形虫有什么症状| 梦见麒麟是什么兆头| 两手发麻是什么原因| 老年人晚上夜尿多是什么原因| 统战部是干什么的| 胆囊壁增厚是什么意思| 头孢是什么| 小儿舌苔白厚什么原因| 唇干是什么原因引起的| 增生是什么| 4.22是什么日子| 6月份什么星座| 吞金为什么会死| 儿童结膜炎用什么眼药水| 因特网是什么意思| 老打喷嚏是什么原因| 鼻子干燥用什么药| 日斤读什么字| 男人得了hpv有什么症状| 舌苔白色是什么原因| 属兔配什么属相最好| 小孩小便红色是什么原因| 猪肝跟什么相克| 星光是什么意思| cosplay是什么| 耳朵嗡嗡响吃什么药| 前庭神经炎吃什么药| 舌头疼吃什么药好得快| 菊花和枸杞泡水喝有什么功效| 什么耳机比较好| 头部容易出汗是什么原因| 小孩子长白头发是什么原因| 阁是什么意思| mfd是什么意思| 穹窿是什么意思| 肌腱是什么组织| 一什么手| 冷藏是什么意思| 荆芥不能和什么一起吃| 抗甲状腺球蛋白抗体高是什么意思| 74年属什么| 流黄鼻涕是什么原因| 喝什么水最解渴| 乳晕是什么意思| 腋下大量出汗是什么原因| 脾虚是什么症状| 中性粒细胞低吃什么药| 后知后觉什么意思| 威士忌属于什么酒| 尿糖阳性是什么意思| 睡觉老是流口水是什么原因| 慈禧姓什么| 脖子粗大是什么病的症状| 糖耐是什么| 什么叫补充公积金| 全飞秒手术是什么| 授人以鱼不如授人以渔什么意思| 壁虎为什么是五毒之一| 不遗余力什么意思| 增生期子宫内膜是什么意思| 印度以什么人种为主| 卟啉病是什么病| 乳头痛是什么征兆| 社保卡是什么意思| 吃什么水果可以减肥| 8月5日是什么星座| 肝穿刺检查是什么意思| 什么药治鼻炎| 后背痒是什么原因| 68年属猴是什么命| 心脑血管挂什么科| 孕晚期高血压对胎儿有什么影响| 关节炎吃什么药| 脂肪酸是什么| 大汗淋漓是什么意思| 游龙戏凤是什么意思| 兰姓是什么民族| 做梦梦到对象出轨是什么意思| 日本什么值得买| 谷丙转氨酶高挂什么科| 此地无银三百两是什么意思| 为什么想到一个人会心痛| 令是什么生肖| 食物中毒挂什么科| 主动脉夹层a型是什么病| 大便黄绿色是什么原因| 什么样的伤口需要打破伤风| 弓形虫抗体阳性是什么意思| 发烧喝什么汤| 梦见房子漏水是什么意思| 海底椰是什么东西| 牛建读什么| 什么动物不睡觉| 代销商是什么意思| 什么地找| 什么是酵素| 扁桃体炎吃什么消炎药| 内页是什么意思| 湿疹为什么一热就出来| 驹是什么意思| 履约是什么意思| 黛力新是什么药| 安宫牛黄丸主治什么病| 73岁属什么| 经期喝什么茶好| 游龙斑是什么鱼| 为什么会血热| 1月26日是什么星座| 伐木累是什么意思| mcm中文叫什么牌子| 低密度脂蛋白胆固醇是什么意思| 龙的五行属性是什么| 掌门人是什么意思| 下套什么意思| 新生儿超敏c反应蛋白高说明什么| 69什么意思| 乳酸脱氢酶偏低是什么意思| 理数是什么意思| 为什么科比叫黑曼巴| 男票是什么意思| 头孢有什么作用| ysy是什么意思| 艾灸是什么东西| 贵州菜属于什么菜系| 脚肿是什么原因引起的| 肾结石是因什么而起| 私奔是什么意思| 威图手机为什么那么贵| 颈肩综合症有什么症状| 神经性头疼吃什么药效果好| 太行山在什么地方| 闭口是什么样子| 井柏然原名叫什么| 腺样体肥大是什么症状| 微波炉什么牌子好| 杞人忧天告诉我们什么道理| 什么是点映| 什么是光合作用| 被蛇咬了挂什么科| 点痦子去医院挂什么科| 女生下面出血但不是月经为什么| 骑木驴是什么意思| 夏天补什么| 左眼跳代表什么| 身体上有小红点是什么病| 破费是什么意思| 10月19号什么星座| 人体缺硒会有什么症状| 3.8什么星座| 百度

津门涌春潮 滨海扬征帆——胡锦涛在天津考察工作

百度 美好挑战计划则是以一种站内运营的方式发起挑战,主要的合作对象包括公益组织和媒体等相关机构,抖音计划在未来半年与它们一起,在站内外发起50场相关活动。

Any data sent over the Internet is divided into smaller segments called packets.

Learning Objectives

After reading this article you will be able to:

  • Learn how network packets work
  • Understand how packet switching works
  • Define packet headers and trailers

Related Content


Want to keep learning?

Subscribe to theNET, Cloudflare's monthly recap of the Internet's most popular insights!

Refer to Cloudflare's Privacy Policy to learn how we collect and process your personal data.

Copy article link

What is a packet?

In networking, a packet is a small segment of a larger message. Data sent over computer networks*, such as the Internet, is divided into packets. These packets are then recombined by the computer or device that receives them.

Suppose Alice is writing a letter to Bob, but Bob's mail slot is only wide enough to accept envelopes the size of a small index card. Instead of writing her letter on normal paper and then trying to stuff it through the mail slot, Alice divides her letter into much shorter sections, each a few words long, and writes these sections out on index cards. She delivers the group of cards to Bob, who puts them in order to read the whole message.

This is similar to how packets work on the Internet. Suppose a user needs to load an image. The image file does not go from a web server to the user's computer in one piece. Instead, it is broken down into packets of data, sent over the wires, cables, and radio waves of the Internet, and then reassembled by the user's computer into the original photo.

*A network is a group of two or more connected computers. The Internet is a network of networks — multiple networks around the world that are all interconnected with each other.

Why use packets?

Theoretically, it could be possible to send files and data over the Internet without chopping them down into small packets of information. One computer could send data to another computer in the form of a long unbroken line of bits (small units of information, communicated as pulses of electricity that computers can interpret).

However, such an approach quickly becomes impractical when more than two computers are involved. While the long line of bits passed over the wires between the two computers, no third computer could use those same wires to send information — it would have to wait its turn.

In contrast to this approach, the Internet is a "packet switching" network. Packet switching refers to the ability of networking equipment to process packets independently from each other. It also means that packets can take different network paths to the same destination, so long as they all arrive at the destination. (In certain protocols, packets do need to arrive at their final destinations in the correct order, even if each packet took a different route to get there.)

Because of packet switching, packets from multiple computers can travel over the same wires in basically any order. This enables multiple connections to take place over the same networking equipment at the same time. As a result, billions of devices can exchange data on the Internet at the same time, instead of just a handful.

What is a packet header?

A packet header is a "label" of sorts, which provides information about the packet’s contents, origin, and destination.

When Alice sends her series of index cards to Bob, the words on those cards alone will not give Bob enough context to read the letter correctly. Alice needs to indicate the order that the index cards go in so that Bob does not read them out of order. She also should indicate that each one is from her, in case Bob receives messages from other people while she is delivering hers. So Alice adds this information to the top of each index card, above the actual words of her message. On the first card she writes "Letter from Alice, 1 of 20," on the second she writes "Letter from Alice, 2 of 20," and so on.

Alice has created a miniature header for her cards so that Bob does not lose them or mix them up. Similarly, all network packets include a header so that the device that receives them knows where the packets come from, what they are for, and how to process them.

Packets consist of two portions: the header and the payload. The header contains information about the packet, such as its origin and destination IP addresses (an IP address is like a computer's mailing address). The payload is the actual data. Referring back to the photo example, the thousands of packets that make up the image each have a payload, and the payload carries a little piece of the image.

Where do packet headers come from?

In practice, packets actually have more than one header, and each header is used by a different part of the networking process. Packet headers are attached by certain types of networking protocols.

A protocol is a standardized way of formatting data so that any computer can interpret the data. Many different protocols make the Internet work. Some of these protocols add headers to packets with information associated with that protocol. At minimum, most packets that traverse the Internet will include a Transmission Control Protocol (TCP) header and an Internet Protocol (IP) header.

What are packet trailers and footers?

Packet headers go at the front of each packet. Routers, switches, computers, and anything else that processes or receives a packet will see the header first. A packet can also have trailers and footers attached at the end. Like headers, these contain additional information about the packet.

Only certain network protocols attach trailers or footers to packets; most only attach headers. ESP (part of the IPsec suite) is one example of a network layer protocol that attaches trailers to packets.

What is an IP packet?

IP (Internet Protocol) is a network layer protocol that has to do with routing. It is used to make sure packets arrive at the correct destination.

Packets are sometimes defined by the protocol they are using. A packet with an IP header can be referred to as an "IP packet." An IP header contains important information about where a packet is from (its source IP address), where it is going (destination IP address), how large the packet is, and how long network routers should continue to forward the packet before dropping it. It may also indicate whether or not the packet can be fragmented, and include information about reassembling fragmented packets.

Packets vs. datagrams

"Datagram" is a segment of data sent over a packet-switched network. A datagram contains enough information to be routed from its source to its destination. By this definition, an IP packet is one example of a datagram. Essentially, datagram is an alternative term for "packet."

What is network traffic? What is malicious network traffic?

Network traffic is a term that refers to the packets that pass through a network, in the same way that automobile traffic refers to the cars and trucks that travel on roads.

However, not all packets are good or useful, and not all network traffic is safe. Attackers can generate malicious network traffic — data packets designed to compromise or overwhelm a network. This can take the form of a distributed denial-of-service (DDoS) attack, a vulnerability exploitation, or several other forms of cyber attack.

Cloudflare offers several products that protect against malicious network traffic. Cloudflare Magic Transit, for instance, protects company networks from DDoS attacks at the network layer by extending the power of the Cloudflare global cloud network to on-premise, hybrid, and cloud infrastructure.

有什么游戏 菠菜不能和什么食物一起吃 世态炎凉什么意思 高血压能吃什么水果 韭菜吃多了有什么坏处
身份证上x代表什么 梦见红鞋子是什么意思 什么是杀猪菜 成都五行属什么 下午四点多是什么时辰
吃榴莲对妇科病有什么好处 精修照片用什么软件 孕早期吃什么有利于胎心胎芽发育 为什么会低血糖 什么样的春天
鹿象征什么寓意 诺什么意思 梦见吃老鼠肉是什么意思啊 火药是什么时候发明的 毛囊炎挂什么科
肺气不足吃什么食物可以补肺气hcv9jop7ns3r.cn 排便困难是什么原因hcv7jop5ns5r.cn 属马的贵人属相是什么hcv9jop0ns2r.cn fredperry是什么牌子hcv9jop4ns7r.cn 什么治咳嗽最快最有效gysmod.com
一个夸一个瓜念什么hcv8jop6ns6r.cn 阿尔茨海默症是什么hcv7jop6ns6r.cn 世界第八大奇迹是什么hcv8jop8ns0r.cn 骨折线模糊什么意思hcv8jop1ns0r.cn 维生素是什么hcv8jop6ns6r.cn
小叶增生吃什么药好hcv8jop1ns2r.cn 血尿吃什么药见效快hcv7jop7ns0r.cn 植物园有什么植物hcv9jop0ns0r.cn 怨天尤人是什么意思hcv8jop6ns4r.cn 高锰酸钾用什么能洗掉hcv9jop5ns1r.cn
晒伤了涂什么药hcv8jop7ns0r.cn 为什么会肛裂hcv8jop2ns3r.cn 绿壳鸡蛋是什么鸡生的hcv9jop4ns9r.cn 希特勒为什么杀犹太人hcv9jop6ns4r.cn 梦见办丧事是什么兆头hanqikai.com
百度