摘要:添加 if(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(int))<0) { perror("setsockopt() reuse"); goto err1; } 添加SO_REUSEADDR之后 connect(): Can
阅读全文
摘要:[root@centos7 dpdk-19.11]# ip n | grep 'fe80::4a57:2ff:fe64:e7ae' fe80::4a57:2ff:fe64:e7ae dev enp5s0 FAILED [root@centos7 dpdk-19.11]# ping6 fe80::4a
阅读全文
摘要:1.unindent does not match any outer indentation level 原因是文件中包含了tab和空格的混合解决方法:全部使用空格。将 tabstop 和 shiftwidth 设置成相同的值,如 4,并设置 expandtab。这样新增的缩进会用空格,你按下 t
阅读全文
摘要:sysctl -a | grep ipv6 | grep disable net.ipv6.conf.enahisic2i0.disable_ipv6 = 0net.ipv6.conf.enahisic2i0.disable_policy = 0net.ipv6.conf.enahisic2i1.d
阅读全文