コード例 #1
0
ファイル: WinDivert.cs プロジェクト: zheng9980419/ntminer
 public static unsafe extern bool WinDivertHelperParsePacket(byte *pPacket, uint packetLen, WINDIVERT_IPHDR **ppIpHdr, WINDIVERT_IPV6HDR **ppIpv6Hdr, WINDIVERT_ICMPHDR **ppIcmpHdr, WINDIVERT_ICMPV6HDR **ppIcmpv6Hdr, WINDIVERT_TCPHDR **ppTcpHdr, WINDIVERT_UDPHDR **ppUdpHdr, byte **ppData, uint *pDataLen);
コード例 #2
0
 public static unsafe extern bool WinDivertHelperParsePacket(
     [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] byte[] pPacket, uint packetLen,
     WINDIVERT_IPHDR **ppIpHdr, WINDIVERT_IPV6HDR **ppIpv6Hdr, WINDIVERT_ICMPHDR **ppIcmpHdr,
     WINDIVERT_ICMPV6HDR **ppIcmpv6Hdr, WINDIVERT_TCPHDR **ppTcpHdr, WINDIVERT_UDPHDR **ppUdpHdr, byte **ppData,
     uint *pDataLen);