[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/zte_ping/socketHelper.h b/ap/app/zte_ping/socketHelper.h
new file mode 100755
index 0000000..5dde0bb
--- /dev/null
+++ b/ap/app/zte_ping/socketHelper.h
@@ -0,0 +1,24 @@
+
+#ifndef SOCKET_HELPER_H
+#define SOCKET_HELPER_H
+
+#include "headers.h"
+
+/*
+typedef union
+{
+ struct sockaddr_in sockaddr;
+ struct sockaddr_in6 sockaddr6;
+} zperf_sockaddr_t;
+*/
+typedef struct sockaddr_in zping_sockaddr_t;
+
+void close_one_socket(int sock);
+
+void SockAddr_setHostname(const char* inHostname, zping_sockaddr_t *inSockAddr) ;
+
+int setsock_tcp_windowsize(int inSock, int inTCPWin, int inSend);
+
+void setsock_tcp_mss(int inSock, int inMSS);
+
+#endif