2020年9月28日

摘要: [root@bogon ~]# tcpdump -i enahisic2i3 ether src 44:A1:91:A4:9B:EB -env -X -A -w test.pap tcpdump: listening on enahisic2i3, link-type EN10MB (Etherne 阅读全文
posted @ 2020-09-28 21:18 tycoon3 阅读(769) 评论(0) 推荐(0)
摘要: ipv4报文格式  版本(version):4比特(bit),4(二进制0100)代表ipv4,6(二进制0110)代表ipv6; 报文头长度(IHL,IP Header Length):4比特(bit),该值以4字节(Byte)为一个单位,因此最长可以表示15*4=60字节(Byte);最小为 阅读全文
posted @ 2020-09-28 16:21 tycoon3 阅读(2607) 评论(0) 推荐(0)
摘要: 15:49:23.966752 44:a1:91:a4:9b:eb > 48:57:02:64:ea:1e, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Reply 10.10.103.229 is-at 44 阅读全文
posted @ 2020-09-28 16:02 tycoon3 阅读(574) 评论(0) 推荐(0)
摘要: 利用nc -ul xxx 在远程机器新建一个udp监听端口,应用程序所在机器,通过nc -u x.x.x.x xxx 连接后,通过输入一些字符,来看看远程机器是否有屏显,结果本次测试正常,说明网络是通的. echo "Hello World\!" | nc -4u 10.10.103.81 4444 阅读全文
posted @ 2020-09-28 15:56 tycoon3 阅读(930) 评论(0) 推荐(0)
摘要: /** * IPv4 Header */ struct rte_ipv4_hdr { uint8_t version_ihl; /**< version and header length */ uint8_t type_of_service; /**< type of service */ rte 阅读全文
posted @ 2020-09-28 15:12 tycoon3 阅读(796) 评论(0) 推荐(0)
摘要: https://www.yuque.com/zzqcn/opensource/oirzxh m = rte_pktmbuf_alloc(mpool); rte_pktmbuf_append(m, 1000); mbuf_dump(m); m2 = rte_pktmbuf_alloc(mpool); 阅读全文
posted @ 2020-09-28 12:09 tycoon3 阅读(987) 评论(0) 推荐(1)
摘要: (gdb) bt #0 0x000000000058aab8 in __rte_ring_move_cons_head (entries=0xffffd9d6727c, new_head=0xffffd9d67280, old_head=0xffffd9d67284, behavior=RTE_RI 阅读全文
posted @ 2020-09-28 10:35 tycoon3 阅读(276) 评论(0) 推荐(0)

导航