上一页 1 2 3 4 5 6 ··· 21 下一页
摘要: 1. TCP报文段 2. UDP数据格式 3. IP数据报 4. ICMP 5. ETH帧 阅读全文
posted @ 2024-02-18 14:57 昆山皮皮虾 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1. Linux 系统对网络设备驱动定义了4个层次,这4个层次为网络协议接口层、网络设备接口层、提供实际功能的设备驱动功能层 和 网络设备与媒介层。 2. 网络协议接口层 向 网络层协议 提供统一的 数据包收发接口,不论上层协议为 ARP 还是 IP,都通过 dev_queue_xmit() 函数 阅读全文
posted @ 2024-02-01 19:00 昆山皮皮虾 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 这篇文章总结的很好 Linux 系统 UDP 丢包问题分析思路-腾讯云开发者社区-腾讯云 (tencent.com) 如下几点作者总结的挺好,粘贴上去。 阅读全文
posted @ 2024-01-26 13:03 昆山皮皮虾 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1. 开头处添加 sed -i '1s/^/add content\n/' file.txt 2. 文件末尾处添加 echo "add content in the end" >> file.txt 阅读全文
posted @ 2024-01-24 12:44 昆山皮皮虾 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1 Features for enP2p35s0: 2 rx-checksumming: on 3 tx-checksumming: on 4 tx-checksum-ipv4: on 5 tx-checksum-ip-generic: off [fixed] 6 tx-checksum-ipv6: 阅读全文
posted @ 2023-12-20 09:53 昆山皮皮虾 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 上面那个修改没有用。 请使用下面那个 resolved.conf 进行修改。 然后重启域名解析服务 systemctl restart systemd-resolved systemctl enable systemd-resolved 备份当前的/etc/resolve.conf,并重新设置/ru 阅读全文
posted @ 2023-12-03 14:46 昆山皮皮虾 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 太坑了。 如下方法可以解决。 Ubuntu 虚拟机的 wifi 连接图标上有个问号,网络用不了 (ngui.cc) 阅读全文
posted @ 2023-12-03 12:09 昆山皮皮虾 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 1 import tkinter as tk 2 3 # 实例化一个窗口对象 4 window = tk.Tk() 5 # 设置title 6 window.title('my window') 7 # 设置大小,XxY的字符串格式 8 window.geometry('600x400') 9 10 阅读全文
posted @ 2023-12-02 23:06 昆山皮皮虾 阅读(31) 评论(0) 推荐(0) 编辑
摘要: import os '''遍历打印指定文件夹下所有的文件名称 dirPath : 指定遍历的文件夹路径 ''' def listFiles(dirPath): # 准备一个空列表,用来存储遍历数据 fileList = [] fileName = [] ''' os.walk(dirPath) :走 阅读全文
posted @ 2023-11-25 04:28 昆山皮皮虾 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 参考如下博客: https://blog.csdn.net/weixin_44214830/article/details/118338380 https://www.cnblogs.com/cocoonink/p/13858062.html 阅读全文
posted @ 2023-11-20 13:14 昆山皮皮虾 阅读(13) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 21 下一页