23,127
社区成员
发帖
与我相关
我的任务
分享
tag = libnet_build_ipv4(
LIBNET_TCP_H + LIBNET_IPV4_H + nLen ,
0,
12345,
0,
64,
IPPROTO_TCP,
0,
nDstIp, //pIpHeader->ip_destination_address,
nSrcIp, //pIpHeader->ip_source_address,
0,
0,
m_pLinkLibnet,
0);
//noip
tag = libnet_autobuild_ethernet(
g_pSystemConfig->getNextHopMac(), //g_CommonPath.next_hop_ether_dhost,
ETHERTYPE_IP,
m_pLinkLibnet);