Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.0 KiB

  1. // Copyright (c) Microsoft Corporation. All rights reserved.
  2. #if _MSC_VER > 1000
  3. #pragma once
  4. #endif
  5. /* Argument structure for SIO_KEEPALIVE_VALS */
  6. struct tcp_keepalive {
  7. u_long onoff;
  8. u_long keepalivetime;
  9. u_long keepaliveinterval;
  10. };
  11. // New WSAIoctl Options
  12. #define SIO_RCVALL _WSAIOW(IOC_VENDOR,1)
  13. #define SIO_RCVALL_MCAST _WSAIOW(IOC_VENDOR,2)
  14. #define SIO_RCVALL_IGMPMCAST _WSAIOW(IOC_VENDOR,3)
  15. #define SIO_KEEPALIVE_VALS _WSAIOW(IOC_VENDOR,4)
  16. #define SIO_ABSORB_RTRALERT _WSAIOW(IOC_VENDOR,5)
  17. #define SIO_UCAST_IF _WSAIOW(IOC_VENDOR,6)
  18. #define SIO_LIMIT_BROADCASTS _WSAIOW(IOC_VENDOR,7)
  19. #define SIO_INDEX_BIND _WSAIOW(IOC_VENDOR,8)
  20. #define SIO_INDEX_MCASTIF _WSAIOW(IOC_VENDOR,9)
  21. #define SIO_INDEX_ADD_MCAST _WSAIOW(IOC_VENDOR,10)
  22. #define SIO_INDEX_DEL_MCAST _WSAIOW(IOC_VENDOR,11)
  23. // Values for use with SIO_RCVALL* options
  24. #define RCVALL_OFF 0
  25. #define RCVALL_ON 1
  26. #define RCVALL_SOCKETLEVELONLY 2