inet.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*====================================================================*
  2. *
  3. * Copyright (c) 2011 by Qualcomm Atheros.
  4. *
  5. * Permission to use, copy, modify, and/or distribute this software
  6. * for any purpose with or without fee is hereby granted, provided
  7. * that the above copyright notice and this permission notice appear
  8. * in all copies.
  9. *
  10. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  11. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  12. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  13. * THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
  14. * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  15. * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  16. * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  17. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  18. *
  19. *--------------------------------------------------------------------*/
  20. /*====================================================================*
  21. *
  22. * inet.h - Substitute Linux header for systems without one;
  23. *
  24. * Emulate the POSIX header arpa/inet.h;
  25. *
  26. * specifically, obtain declare endian conversion functions htons(),
  27. * ntohs(), htonl() and ntohl();
  28. *
  29. *. Intellon Linux Toolkit;
  30. *: Published 2007 by Intellon Corp. ALL RIGHTS RESERVED;
  31. *; For demonstration; Not for production use;
  32. *
  33. * Contributor(s):
  34. * Charles Maier
  35. *
  36. *--------------------------------------------------------------------*/
  37. #ifndef IN_HEADER
  38. #define IN_HEADER
  39. /*====================================================================*
  40. *
  41. *--------------------------------------------------------------------*/
  42. #include <winsock2.h>
  43. /*====================================================================*
  44. *
  45. *--------------------------------------------------------------------*/
  46. #endif