@Override
    public void forward(byte[] packet, int len, OutputStream output) {
        IpHeader ipHeader = new IpHeader(packet, 0);
        IcmpHeader icmpHeader = new IcmpHeader(ipHeader, packet, ipHeader.getHeaderLength());
        NetBareLog.v("ICMP type: " + icmpHeader.getType());
        NetBareLog.v("ICMP code: " + icmpHeader.getCode());
        // TODO transfer to proxy server
    }
Forward the Internet Control Message Protocol (ICMP) to proxy server.

@author Megatron King
@since 2018-10-09 01:30
netbare-core/src/main/java/com/github/megatronking/netbare/proxy/IcmpProxyServerForwarder.java