I have a existing Linux and windows application, in which I use IP_TOS, IPPROTO_IP. Which are belongs to Winsock2.h (in windows) and sys/socket.h (in Linux). But now I am trying to port it into Android. For this reason I want to know is there any such header available that I can use to support my existing application into android.
Edit: Need to mention I have a .so file generate using NDK7. I use JNI to support C++ program from my android application.