{"id":1506,"date":"2024-12-31T17:03:50","date_gmt":"2024-12-31T09:03:50","guid":{"rendered":"https:\/\/aoofoo.com\/?p=1506"},"modified":"2024-12-31T17:03:50","modified_gmt":"2024-12-31T09:03:50","slug":"6-1-lwip%e7%bd%91%e7%bb%9c%e7%bc%96%e7%a8%8b%e5%8d%8f%e8%ae%ae","status":"publish","type":"post","link":"https:\/\/aoofoo.com\/index.php\/2024\/12\/31\/6-1-lwip%e7%bd%91%e7%bb%9c%e7%bc%96%e7%a8%8b%e5%8d%8f%e8%ae%ae\/","title":{"rendered":"6.1 LwIP\u7f51\u7edc\u7f16\u7a0b\u534f\u8bae"},"content":{"rendered":"<h2>LWIP\u4e0eTCP\/IP<\/h2>\n<p>LWIP\u7f51\u7edc\u7f16\u7a0b\u534f\u8bae\uff0c\u662f\u4e00\u4e2a<span style=\"color: #ff9900;\"><strong>\u9609\u5272\u7684<\/strong><\/span>TCP\/IP\u534f\u8bae\u3002<\/p>\n<p>TCP\/IP\u534f\u8bae\u6808\u5728\u751f\u6d3b\u4e2d\u6709\u54ea\u4e9b\u4ea7\u54c1\uff1f<\/p>\n<p>\u4f8b\u5982\u4ea4\u6362\u673a\u3001\u8def\u7531\u5668\u548c\u5149\u7ea4\u6536\u53d1\u673a\u7b49\u3002<\/p>\n<p>\u90a3\u4e48\u9609\u5272\u8fc7\u540e\u7684LwIP\u80fd\u505a\u4ec0\u4e48\u5462\uff1f<\/p>\n<p>\u4f8b\u5982\u4e91\u53f0\u63a5\u5165\u3001\u65e0\u7ebf\u7f51\u5149\u3001\u8fdc\u7a0b\u6a21\u5757\u3001\u5de5\u4e1a\u63a7\u5236\u5668\u3001\u7f51\u7edc\u6444\u50cf\u5934\u548c\u5d4c\u5165\u5f0fNAT\u65e0\u7ebf\u8def\u7531\u7b49\u3002<\/p>\n<h2>TCP\/IP\u534f\u8bae\u6808\u7ed3\u6784<\/h2>\n<p>TCP\u662f\u5728\u4e0d\u53ef\u9760\u7684\u4fe1\u9053\u4e0a\uff0c\u5b9e\u73b0\u4e86\u53ef\u9760\u7684\u8fde\u63a5\u548c\u4f20\u8f93\u3002\u800cUDP\u662f\u5728\u4e0d\u53ef\u9760\u534f\u8bae\uff1b<\/p>\n<p>\u4f8b\u5982\u4e3b\u673aA\u548c\u4e3b\u673aB\uff0c\u4e3b\u673aA\u60f3\u8981\u53d1\u9001\u4e00\u4e2a\u6570\u636e\u5230\u4e3b\u673aB\u4e2d\uff0c\u5982\u679c\u4f7f\u7528\u7684\u662fTCP\u534f\u8bae\uff0c\u5982\u679c\u5728\u4fe1\u9053\u4e0a\u6570\u636e\u4e22\u5931\u4e86\uff0c\u90a3\u4e48\u4f1a\u8fdb\u884c\u91cd\u65b0\u4f20\u8f93\uff08\u91cd\u4f20\u673a\u5236\uff09\uff0c\u800c\u5982\u679c\u4f7f\u7528\u7684\u662fUDP\u534f\u8bae\uff0c\u5982\u679c\u4fe1\u9053\u4e0a\u7684\u6570\u636e\u4e22\u5931\u4e86\uff0cUDP\u534f\u8bae\u662f\u4e0d\u7ba1\u7684\uff0c\u6211\u4eec\u53d1\u9001\u51fa\u53bb\u5c31\u884c\u4e86\uff0c\u6240\u4ee5UDP\u534f\u8bae\u53eb\u505a\u4e0d\u53ef\u9760\u534f\u8bae\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1507\" src=\"https:\/\/aoofoo.com\/wp-content\/uploads\/2024\/12\/\u5c4f\u5e55\u622a\u56fe-2024-12-31-163923.png\" alt=\"\" width=\"1662\" height=\"626\" \/><\/p>\n<h3>TCP\/IP\u534f\u8bae\u6808\u7684\u6570\u636e\u5c01\u88c5\u4e0e\u89e3\u5c01\u88c5<\/h3>\n<p>\u7528\u6237\u60f3\u8981\u53d1\u9001\u6570\u636e\uff0c\u9700\u8981\u7ecf\u8fc7\u5404\u5c42\uff0c\u5e94\u7528\u5c42\u3001\u4f20\u8f93\u5c42\u3001\u7f51\u7edc\u5c42\uff0c\u6700\u7ec8\u5229\u7528\u7f51\u5361\u5c06\u6570\u636e\u53d1\u9001\u81f3\u7f51\u7edc\u4e2d\u3002<\/p>\n<p>\u7b80\u800c\u8a00\u4e4b\u5c31\u662f\uff0c\u5c01\u88c5\u662f\u5c06\u6570\u636e\u6dfb\u52a0\u5404\u5c42\u534f\u8bae\u7684\u9996\u90e8\uff1b\u89e3\u5c01\u88c5\u5c31\u662f\u5728\u5404\u5c42\u95f4\u9664\u53bb\u81ea\u5c42\u7684\u9996\u90e8\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1508\" src=\"https:\/\/aoofoo.com\/wp-content\/uploads\/2024\/12\/\u5c4f\u5e55\u622a\u56fe-2024-12-31-164424.png\" alt=\"\" width=\"1468\" height=\"475\" \/><\/p>\n<h2>LwIP\u7ed3\u6784\u6846\u56fe<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1509\" src=\"https:\/\/aoofoo.com\/wp-content\/uploads\/2024\/12\/\u5c4f\u5e55\u622a\u56fe-2024-12-31-165100.png\" alt=\"\" width=\"1011\" height=\"512\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LWIP\u4e0eTCP\/IP LWIP\u7f51\u7edc\u7f16\u7a0b\u534f\u8bae\uff0c\u662f\u4e00\u4e2a\u9609\u5272\u7684TCP\/IP\u534f\u8bae\u3002 TCP\/IP\u534f\u8bae\u6808\u5728\u751f\u6d3b\u4e2d\u6709\u54ea\u4e9b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"class_list":["post-1506","post","type-post","status-publish","format-standard","hentry","category-lwip"],"_links":{"self":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/comments?post=1506"}],"version-history":[{"count":1,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1506\/revisions"}],"predecessor-version":[{"id":1510,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1506\/revisions\/1510"}],"wp:attachment":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/media?parent=1506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/categories?post=1506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/tags?post=1506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}