Exemplo n.º 1
0
 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);
Exemplo n.º 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);