set ip protocol in sendIcmp